Lines Matching refs:KillMI

816   MachineInstr *KillMI = nullptr;  in rescheduleMIBelowKill()  local
828 KillMI = LIS->getInstructionFromIndex(I->end); in rescheduleMIBelowKill()
830 KillMI = LV->getVarInfo(Reg).findKill(MBB); in rescheduleMIBelowKill()
832 if (!KillMI || MI == KillMI || KillMI->isCopy() || KillMI->isCopyLike()) in rescheduleMIBelowKill()
836 if (KillMI->hasUnmodeledSideEffects() || KillMI->isCall() || in rescheduleMIBelowKill()
837 KillMI->isBranch() || KillMI->isTerminator()) in rescheduleMIBelowKill()
842 if (isTwoAddrUse(*KillMI, Reg, DstReg)) in rescheduleMIBelowKill()
887 MachineBasicBlock::iterator KillPos = KillMI; in rescheduleMIBelowKill()
928 assert((MOReg != Reg || &OtherMI == KillMI) && in rescheduleMIBelowKill()
961 LV->removeVirtualRegisterKilled(Reg, *KillMI); in rescheduleMIBelowKill()
965 LLVM_DEBUG(dbgs() << "\trescheduled below kill: " << *KillMI); in rescheduleMIBelowKill()
1006 MachineInstr *KillMI = nullptr; in rescheduleKillAboveMI() local
1018 KillMI = LIS->getInstructionFromIndex(I->end); in rescheduleKillAboveMI()
1020 KillMI = LV->getVarInfo(Reg).findKill(MBB); in rescheduleKillAboveMI()
1022 if (!KillMI || MI == KillMI || KillMI->isCopy() || KillMI->isCopyLike()) in rescheduleKillAboveMI()
1027 if (isTwoAddrUse(*KillMI, Reg, DstReg)) in rescheduleKillAboveMI()
1031 if (!KillMI->isSafeToMove(AA, SeenStore)) in rescheduleKillAboveMI()
1038 for (const MachineOperand &MO : KillMI->operands()) { in rescheduleKillAboveMI()
1047 bool isKill = MO.isKill() || (LIS && isPlainlyKilled(KillMI, MOReg, LIS)); in rescheduleKillAboveMI()
1063 make_range(mi, MachineBasicBlock::iterator(KillMI))) { in rescheduleKillAboveMI()
1113 MachineBasicBlock::iterator From = KillMI; in rescheduleKillAboveMI()
1124 LIS->handleMove(*KillMI); in rescheduleKillAboveMI()
1126 LV->removeVirtualRegisterKilled(Reg, *KillMI); in rescheduleKillAboveMI()
1130 LLVM_DEBUG(dbgs() << "\trescheduled kill: " << *KillMI); in rescheduleKillAboveMI()
1679 for (auto *KillMI : DstInfo.Kills) in processStatepoint() local
1680 LV->addVirtualRegisterKilled(RegB, *KillMI, false); in processStatepoint()