Lines Matching refs:NewMI
650 MachineInstr *NewMI = TII->commuteInstruction(MI, false, RegBIdx, RegCIdx); in commuteInstruction() local
652 if (NewMI == nullptr) { in commuteInstruction()
657 DEBUG(dbgs() << "2addr: COMMUTED TO: " << *NewMI); in commuteInstruction()
658 assert(NewMI == MI && in commuteInstruction()
698 MachineInstr *NewMI = TII->convertToThreeAddress(MFI, mi, LV); in convertInstTo3Addr() local
701 if (!NewMI) in convertInstTo3Addr()
705 DEBUG(dbgs() << "2addr: TO 3-ADDR: " << *NewMI); in convertInstTo3Addr()
709 LIS->ReplaceMachineInstrInMaps(mi, NewMI); in convertInstTo3Addr()
711 if (NewMI->findRegisterUseOperand(RegB, false, TRI)) in convertInstTo3Addr()
715 Sunk = sink3AddrInstruction(NewMI, RegB, mi); in convertInstTo3Addr()
720 DistanceMap.insert(std::make_pair(NewMI, Dist)); in convertInstTo3Addr()
721 mi = NewMI; in convertInstTo3Addr()
1333 MachineBasicBlock::iterator NewMI = NewMIs[1]; in tryInstructionTransform() local
1335 tryInstructionTransform(NewMI, mi, NewSrcIdx, NewDstIdx, Dist, true); in tryInstructionTransform()