Lines Matching refs:OutMI

64   void Lower(const MachineInstr *MI, MCInst &OutMI) const;
389 void X86MCInstLower::Lower(const MachineInstr *MI, MCInst &OutMI) const { in Lower()
390 OutMI.setOpcode(MI->getOpcode()); in Lower()
394 OutMI.addOperand(MaybeMCOp.getValue()); in Lower()
398 switch (OutMI.getOpcode()) { in Lower()
404 assert(OutMI.getNumOperands() == 1+X86::AddrNumOperands && in Lower()
406 assert(OutMI.getOperand(1+X86::AddrSegmentReg).getReg() == 0 && in Lower()
425 if (!X86II::isX86_64ExtendedReg(OutMI.getOperand(0).getReg()) && in Lower()
426 X86II::isX86_64ExtendedReg(OutMI.getOperand(1).getReg())) { in Lower()
428 switch (OutMI.getOpcode()) { in Lower()
444 OutMI.setOpcode(NewOpc); in Lower()
450 if (!X86II::isX86_64ExtendedReg(OutMI.getOperand(0).getReg()) && in Lower()
451 X86II::isX86_64ExtendedReg(OutMI.getOperand(2).getReg())) { in Lower()
453 switch (OutMI.getOpcode()) { in Lower()
458 OutMI.setOpcode(NewOpc); in Lower()
470 unsigned Opcode = OutMI.getOpcode(); in Lower()
471 MCOperand Saved = OutMI.getOperand(0); in Lower()
472 OutMI = MCInst(); in Lower()
473 OutMI.setOpcode(Opcode); in Lower()
474 OutMI.addOperand(Saved); in Lower()
480 OutMI = MCInst(); in Lower()
481 OutMI.setOpcode(getRetOpcode(AsmPrinter.getSubtarget())); in Lower()
487 OutMI = MCInst(); in Lower()
488 OutMI.setOpcode(getRetOpcode(AsmPrinter.getSubtarget())); in Lower()
496 OutMI = MCInst(); in Lower()
497 OutMI.setOpcode(getRetOpcode(Subtarget)); in Lower()
498 OutMI.addOperand(MCOperand::createReg(ReturnReg)); in Lower()
507 switch (OutMI.getOpcode()) { in Lower()
514 MCOperand Saved = OutMI.getOperand(0); in Lower()
515 OutMI = MCInst(); in Lower()
516 OutMI.setOpcode(Opcode); in Lower()
517 OutMI.addOperand(Saved); in Lower()
528 switch (OutMI.getOpcode()) { in Lower()
535 OutMI.setOpcode(Opcode); in Lower()
542 case X86::ADD16rr_DB: OutMI.setOpcode(X86::OR16rr); goto ReSimplify; in Lower()
543 case X86::ADD32rr_DB: OutMI.setOpcode(X86::OR32rr); goto ReSimplify; in Lower()
544 case X86::ADD64rr_DB: OutMI.setOpcode(X86::OR64rr); goto ReSimplify; in Lower()
545 case X86::ADD16ri_DB: OutMI.setOpcode(X86::OR16ri); goto ReSimplify; in Lower()
546 case X86::ADD32ri_DB: OutMI.setOpcode(X86::OR32ri); goto ReSimplify; in Lower()
547 case X86::ADD64ri32_DB: OutMI.setOpcode(X86::OR64ri32); goto ReSimplify; in Lower()
548 case X86::ADD16ri8_DB: OutMI.setOpcode(X86::OR16ri8); goto ReSimplify; in Lower()
549 case X86::ADD32ri8_DB: OutMI.setOpcode(X86::OR32ri8); goto ReSimplify; in Lower()
550 case X86::ADD64ri8_DB: OutMI.setOpcode(X86::OR64ri8); goto ReSimplify; in Lower()
555 case X86::ACQUIRE_MOV8rm: OutMI.setOpcode(X86::MOV8rm); goto ReSimplify; in Lower()
556 case X86::ACQUIRE_MOV16rm: OutMI.setOpcode(X86::MOV16rm); goto ReSimplify; in Lower()
557 case X86::ACQUIRE_MOV32rm: OutMI.setOpcode(X86::MOV32rm); goto ReSimplify; in Lower()
558 case X86::ACQUIRE_MOV64rm: OutMI.setOpcode(X86::MOV64rm); goto ReSimplify; in Lower()
559 case X86::RELEASE_MOV8mr: OutMI.setOpcode(X86::MOV8mr); goto ReSimplify; in Lower()
560 case X86::RELEASE_MOV16mr: OutMI.setOpcode(X86::MOV16mr); goto ReSimplify; in Lower()
561 case X86::RELEASE_MOV32mr: OutMI.setOpcode(X86::MOV32mr); goto ReSimplify; in Lower()
562 case X86::RELEASE_MOV64mr: OutMI.setOpcode(X86::MOV64mr); goto ReSimplify; in Lower()
563 case X86::RELEASE_MOV8mi: OutMI.setOpcode(X86::MOV8mi); goto ReSimplify; in Lower()
564 case X86::RELEASE_MOV16mi: OutMI.setOpcode(X86::MOV16mi); goto ReSimplify; in Lower()
565 case X86::RELEASE_MOV32mi: OutMI.setOpcode(X86::MOV32mi); goto ReSimplify; in Lower()
566 case X86::RELEASE_MOV64mi32: OutMI.setOpcode(X86::MOV64mi32); goto ReSimplify; in Lower()
567 case X86::RELEASE_ADD8mi: OutMI.setOpcode(X86::ADD8mi); goto ReSimplify; in Lower()
568 case X86::RELEASE_ADD8mr: OutMI.setOpcode(X86::ADD8mr); goto ReSimplify; in Lower()
569 case X86::RELEASE_ADD32mi: OutMI.setOpcode(X86::ADD32mi); goto ReSimplify; in Lower()
570 case X86::RELEASE_ADD32mr: OutMI.setOpcode(X86::ADD32mr); goto ReSimplify; in Lower()
571 case X86::RELEASE_ADD64mi32: OutMI.setOpcode(X86::ADD64mi32); goto ReSimplify; in Lower()
572 case X86::RELEASE_ADD64mr: OutMI.setOpcode(X86::ADD64mr); goto ReSimplify; in Lower()
573 case X86::RELEASE_AND8mi: OutMI.setOpcode(X86::AND8mi); goto ReSimplify; in Lower()
574 case X86::RELEASE_AND8mr: OutMI.setOpcode(X86::AND8mr); goto ReSimplify; in Lower()
575 case X86::RELEASE_AND32mi: OutMI.setOpcode(X86::AND32mi); goto ReSimplify; in Lower()
576 case X86::RELEASE_AND32mr: OutMI.setOpcode(X86::AND32mr); goto ReSimplify; in Lower()
577 case X86::RELEASE_AND64mi32: OutMI.setOpcode(X86::AND64mi32); goto ReSimplify; in Lower()
578 case X86::RELEASE_AND64mr: OutMI.setOpcode(X86::AND64mr); goto ReSimplify; in Lower()
579 case X86::RELEASE_OR8mi: OutMI.setOpcode(X86::OR8mi); goto ReSimplify; in Lower()
580 case X86::RELEASE_OR8mr: OutMI.setOpcode(X86::OR8mr); goto ReSimplify; in Lower()
581 case X86::RELEASE_OR32mi: OutMI.setOpcode(X86::OR32mi); goto ReSimplify; in Lower()
582 case X86::RELEASE_OR32mr: OutMI.setOpcode(X86::OR32mr); goto ReSimplify; in Lower()
583 case X86::RELEASE_OR64mi32: OutMI.setOpcode(X86::OR64mi32); goto ReSimplify; in Lower()
584 case X86::RELEASE_OR64mr: OutMI.setOpcode(X86::OR64mr); goto ReSimplify; in Lower()
585 case X86::RELEASE_XOR8mi: OutMI.setOpcode(X86::XOR8mi); goto ReSimplify; in Lower()
586 case X86::RELEASE_XOR8mr: OutMI.setOpcode(X86::XOR8mr); goto ReSimplify; in Lower()
587 case X86::RELEASE_XOR32mi: OutMI.setOpcode(X86::XOR32mi); goto ReSimplify; in Lower()
588 case X86::RELEASE_XOR32mr: OutMI.setOpcode(X86::XOR32mr); goto ReSimplify; in Lower()
589 case X86::RELEASE_XOR64mi32: OutMI.setOpcode(X86::XOR64mi32); goto ReSimplify; in Lower()
590 case X86::RELEASE_XOR64mr: OutMI.setOpcode(X86::XOR64mr); goto ReSimplify; in Lower()
591 case X86::RELEASE_INC8m: OutMI.setOpcode(X86::INC8m); goto ReSimplify; in Lower()
592 case X86::RELEASE_INC16m: OutMI.setOpcode(X86::INC16m); goto ReSimplify; in Lower()
593 case X86::RELEASE_INC32m: OutMI.setOpcode(X86::INC32m); goto ReSimplify; in Lower()
594 case X86::RELEASE_INC64m: OutMI.setOpcode(X86::INC64m); goto ReSimplify; in Lower()
595 case X86::RELEASE_DEC8m: OutMI.setOpcode(X86::DEC8m); goto ReSimplify; in Lower()
596 case X86::RELEASE_DEC16m: OutMI.setOpcode(X86::DEC16m); goto ReSimplify; in Lower()
597 case X86::RELEASE_DEC32m: OutMI.setOpcode(X86::DEC32m); goto ReSimplify; in Lower()
598 case X86::RELEASE_DEC64m: OutMI.setOpcode(X86::DEC64m); goto ReSimplify; in Lower()
616 switch (OutMI.getOpcode()) { in Lower()
627 SimplifyShortMoveForm(AsmPrinter, OutMI, NewOpc); in Lower()
641 switch (OutMI.getOpcode()) { in Lower()
680 SimplifyShortImmForm(OutMI, NewOpc); in Lower()
688 SimplifyMOVSX(OutMI); in Lower()