Lines Matching refs:NewMI
590 MachineInstr *NewMI = TII->commuteInstruction(MI); in CommuteInstruction() local
592 if (NewMI == 0) { in CommuteInstruction()
597 DEBUG(dbgs() << "2addr: COMMUTED TO: " << *NewMI); in CommuteInstruction()
599 if (NewMI != MI) { in CommuteInstruction()
602 LV->replaceKillInstruction(RegC, MI, NewMI); in CommuteInstruction()
604 mbbi->insert(mi, NewMI); // Insert the new inst in CommuteInstruction()
606 mi = NewMI; in CommuteInstruction()
607 DistanceMap.insert(std::make_pair(NewMI, Dist)); in CommuteInstruction()
645 MachineInstr *NewMI = TII->convertToThreeAddress(mbbi, mi, LV); in ConvertInstTo3Addr() local
646 if (NewMI) { in ConvertInstTo3Addr()
648 DEBUG(dbgs() << "2addr: TO 3-ADDR: " << *NewMI); in ConvertInstTo3Addr()
651 if (NewMI->findRegisterUseOperand(RegB, false, TRI)) in ConvertInstTo3Addr()
655 Sunk = Sink3AddrInstruction(mbbi, NewMI, RegB, mi); in ConvertInstTo3Addr()
660 DistanceMap.insert(std::make_pair(NewMI, Dist)); in ConvertInstTo3Addr()
661 mi = NewMI; in ConvertInstTo3Addr()
972 MachineBasicBlock::iterator NewMI = NewMIs[1]; in TryInstructionTransform() local
974 TryInstructionTransform(NewMI, mi, mbbi, in TryInstructionTransform()