• Home
  • Raw
  • Download

Lines Matching refs:NewMI

1728   MachineInstr *NewMI = prior(I);  in reMaterialize()  local
1729 NewMI->substituteRegister(Orig->getOperand(0).getReg(), DestReg, SubIdx, TRI); in reMaterialize()
1930 MachineInstr *NewMI = MIB; in convertToThreeAddressWithLEA() local
1938 LV->getVarInfo(leaInReg).Kills.push_back(NewMI); in convertToThreeAddressWithLEA()
1976 MachineInstr *NewMI = NULL; in convertToThreeAddress() local
1993 NewMI = BuildMI(MF, MI->getDebugLoc(), get(X86::PSHUFDri)) in convertToThreeAddress()
2009 NewMI = BuildMI(MF, MI->getDebugLoc(), get(X86::PSHUFDri)) in convertToThreeAddress()
2024 NewMI = BuildMI(MF, MI->getDebugLoc(), get(X86::LEA64r)) in convertToThreeAddress()
2051 NewMI = MIB; in convertToThreeAddress()
2062 NewMI = BuildMI(MF, MI->getDebugLoc(), get(X86::LEA16r)) in convertToThreeAddress()
2090 NewMI = addOffset(MIB, 1); in convertToThreeAddress()
2098 NewMI = addOffset(BuildMI(MF, MI->getDebugLoc(), get(X86::LEA16r)) in convertToThreeAddress()
2121 NewMI = addOffset(MIB, -1); in convertToThreeAddress()
2130 NewMI = addOffset(BuildMI(MF, MI->getDebugLoc(), get(X86::LEA16r)) in convertToThreeAddress()
2166 NewMI = addRegReg(MIB, SrcReg, isKill, SrcReg2, isKill2); in convertToThreeAddress()
2169 NewMI->getOperand(1).setIsUndef(isUndef); in convertToThreeAddress()
2170 NewMI->getOperand(3).setIsUndef(isUndef2); in convertToThreeAddress()
2173 LV->replaceKillInstruction(SrcReg2, MI, NewMI); in convertToThreeAddress()
2183 NewMI = addRegReg(BuildMI(MF, MI->getDebugLoc(), get(X86::LEA16r)) in convertToThreeAddress()
2190 NewMI->getOperand(1).setIsUndef(isUndef); in convertToThreeAddress()
2191 NewMI->getOperand(3).setIsUndef(isUndef2); in convertToThreeAddress()
2194 LV->replaceKillInstruction(Src2, MI, NewMI); in convertToThreeAddress()
2202 NewMI = addOffset(BuildMI(MF, MI->getDebugLoc(), get(X86::LEA64r)) in convertToThreeAddress()
2226 NewMI = addOffset(MIB, MI->getOperand(2).getImm()); in convertToThreeAddress()
2236 NewMI = addOffset(BuildMI(MF, MI->getDebugLoc(), get(X86::LEA16r)) in convertToThreeAddress()
2244 if (!NewMI) return 0; in convertToThreeAddress()
2248 LV->replaceKillInstruction(Src.getReg(), MI, NewMI); in convertToThreeAddress()
2250 LV->replaceKillInstruction(Dest.getReg(), MI, NewMI); in convertToThreeAddress()
2253 MFI->insert(MBBI, NewMI); // Insert the new inst in convertToThreeAddress()
2254 return NewMI; in convertToThreeAddress()
2261 X86InstrInfo::commuteInstruction(MachineInstr *MI, bool NewMI) const { in commuteInstruction()
2281 if (NewMI) { in commuteInstruction()
2284 NewMI = false; in commuteInstruction()
2288 return TargetInstrInfo::commuteInstruction(MI, NewMI); in commuteInstruction()
2358 if (NewMI) { in commuteInstruction()
2361 NewMI = false; in commuteInstruction()
2367 return TargetInstrInfo::commuteInstruction(MI, NewMI); in commuteInstruction()
3671 MachineInstr *NewMI = commuteInstruction(MI, false); in optimizeLoadInstr() local
3673 if (!NewMI) return 0; in optimizeLoadInstr()
3674 if (NewMI != MI) { in optimizeLoadInstr()
3676 NewMI->eraseFromParent(); in optimizeLoadInstr()
3742 MachineInstr *NewMI = MF.CreateMachineInstr(TII.get(Opcode), in FuseTwoAddrInst() local
3744 MachineInstrBuilder MIB(MF, NewMI); in FuseTwoAddrInst()
3769 MachineInstr *NewMI = MF.CreateMachineInstr(TII.get(Opcode), in FuseInst() local
3771 MachineInstrBuilder MIB(MF, NewMI); in FuseInst()
3829 MachineInstr *NewMI = NULL; in foldMemoryOperandImpl() local
3841 NewMI = MakeM0Inst(*this, X86::MOV32mi, MOs, MI); in foldMemoryOperandImpl()
3842 if (NewMI) in foldMemoryOperandImpl()
3843 return NewMI; in foldMemoryOperandImpl()
3884 NewMI = FuseTwoAddrInst(MF, Opcode, MOs, MI, *this); in foldMemoryOperandImpl()
3886 NewMI = FuseInst(MF, Opcode, i, MOs, MI, *this); in foldMemoryOperandImpl()
3892 unsigned DstReg = NewMI->getOperand(0).getReg(); in foldMemoryOperandImpl()
3894 NewMI->getOperand(0).setReg(RI.getSubReg(DstReg, in foldMemoryOperandImpl()
3897 NewMI->getOperand(0).setSubReg(X86::sub_32bit); in foldMemoryOperandImpl()
3899 return NewMI; in foldMemoryOperandImpl()