reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
766 *RegInfo.getRegClass(MI.getOperand(0).getReg())) == 16) && 790 MachineBasicBlock::iterator MBBI = MI.getIterator(); 791 Register Dest = MI.getOperand(0).getReg(); 792 Register Src = MI.getOperand(1).getReg(); 793 bool IsDead = MI.getOperand(0).isDead(); 794 bool IsKill = MI.getOperand(1).isKill(); 796 assert(!MI.getOperand(1).isUndef() && "Undef op doesn't need optimization"); 797 BuildMI(*MFI, MBBI, MI.getDebugLoc(), get(X86::IMPLICIT_DEF), InRegLEA); 799 BuildMI(*MFI, MBBI, MI.getDebugLoc(), get(TargetOpcode::COPY)) 804 BuildMI(*MFI, MBBI, MI.getDebugLoc(), get(Opcode), OutRegLEA); 809 unsigned ShAmt = MI.getOperand(2).getImm(); 828 addRegOffset(MIB, InRegLEA, true, MI.getOperand(2).getImm()); 834 Register Src2 = MI.getOperand(2).getReg(); 835 bool IsKill2 = MI.getOperand(2).isKill(); 836 assert(!MI.getOperand(2).isUndef() && "Undef op doesn't need optimization"); 850 BuildMI(*MFI, &*MIB, MI.getDebugLoc(), get(X86::IMPLICIT_DEF), InRegLEA2); 851 InsMI2 = BuildMI(*MFI, &*MIB, MI.getDebugLoc(), get(TargetOpcode::COPY)) 857 LV->replaceKillInstruction(Src2, MI, *InsMI2); 864 BuildMI(*MFI, MBBI, MI.getDebugLoc(), get(TargetOpcode::COPY)) 873 LV->replaceKillInstruction(Src, MI, *InsMI); 875 LV->replaceKillInstruction(Dest, MI, *ExtMI);