Lines Matching refs:OtherMI
263 for (MachineInstr &OtherMI : llvm::make_range(std::next(OldPos), KillPos)) { in sink3AddrInstruction()
265 if (OtherMI.isDebugValue()) in sink3AddrInstruction()
270 for (unsigned i = 0, e = OtherMI.getNumOperands(); i != e; ++i) { in sink3AddrInstruction()
271 MachineOperand &MO = OtherMI.getOperand(i); in sink3AddrInstruction()
280 if (MO.isKill() || (LIS && isPlainlyKilled(&OtherMI, MOReg, LIS))) { in sink3AddrInstruction()
281 if (&OtherMI == KillMI && MOReg == SavedReg) in sink3AddrInstruction()
900 for (MachineInstr &OtherMI : llvm::make_range(End, KillPos)) { in rescheduleMIBelowKill()
902 if (OtherMI.isDebugValue()) in rescheduleMIBelowKill()
907 if (OtherMI.hasUnmodeledSideEffects() || OtherMI.isCall() || in rescheduleMIBelowKill()
908 OtherMI.isBranch() || OtherMI.isTerminator()) in rescheduleMIBelowKill()
911 for (const MachineOperand &MO : OtherMI.operands()) { in rescheduleMIBelowKill()
930 MO.isKill() || (LIS && isPlainlyKilled(&OtherMI, MOReg, LIS)); in rescheduleMIBelowKill()
939 assert((MOReg != Reg || &OtherMI == KillMI) && in rescheduleMIBelowKill()
1073 for (MachineInstr &OtherMI : in rescheduleKillAboveMI()
1076 if (OtherMI.isDebugValue()) in rescheduleKillAboveMI()
1081 if (OtherMI.hasUnmodeledSideEffects() || OtherMI.isCall() || in rescheduleKillAboveMI()
1082 OtherMI.isBranch() || OtherMI.isTerminator()) in rescheduleKillAboveMI()
1086 for (const MachineOperand &MO : OtherMI.operands()) { in rescheduleKillAboveMI()
1100 if (&OtherMI != MI && MOReg == Reg && in rescheduleKillAboveMI()
1101 !(MO.isKill() || (LIS && isPlainlyKilled(&OtherMI, MOReg, LIS)))) in rescheduleKillAboveMI()