Lines Matching refs:KillMI
848 MachineInstr *KillMI = nullptr; in rescheduleMIBelowKill() local
860 KillMI = LIS->getInstructionFromIndex(I->end); in rescheduleMIBelowKill()
862 KillMI = LV->getVarInfo(Reg).findKill(MBB); in rescheduleMIBelowKill()
864 if (!KillMI || MI == KillMI || KillMI->isCopy() || KillMI->isCopyLike()) in rescheduleMIBelowKill()
868 if (KillMI->hasUnmodeledSideEffects() || KillMI->isCall() || in rescheduleMIBelowKill()
869 KillMI->isBranch() || KillMI->isTerminator()) in rescheduleMIBelowKill()
874 if (isTwoAddrUse(*KillMI, Reg, DstReg)) in rescheduleMIBelowKill()
918 MachineBasicBlock::iterator KillPos = KillMI; in rescheduleMIBelowKill()
958 assert((MOReg != Reg || &OtherMI == KillMI) && in rescheduleMIBelowKill()
991 LV->removeVirtualRegisterKilled(Reg, *KillMI); in rescheduleMIBelowKill()
995 LLVM_DEBUG(dbgs() << "\trescheduled below kill: " << *KillMI); in rescheduleMIBelowKill()
1036 MachineInstr *KillMI = nullptr; in rescheduleKillAboveMI() local
1048 KillMI = LIS->getInstructionFromIndex(I->end); in rescheduleKillAboveMI()
1050 KillMI = LV->getVarInfo(Reg).findKill(MBB); in rescheduleKillAboveMI()
1052 if (!KillMI || MI == KillMI || KillMI->isCopy() || KillMI->isCopyLike()) in rescheduleKillAboveMI()
1057 if (isTwoAddrUse(*KillMI, Reg, DstReg)) in rescheduleKillAboveMI()
1061 if (!KillMI->isSafeToMove(AA, SeenStore)) in rescheduleKillAboveMI()
1068 for (const MachineOperand &MO : KillMI->operands()) { in rescheduleKillAboveMI()
1093 make_range(mi, MachineBasicBlock::iterator(KillMI))) { in rescheduleKillAboveMI()
1141 MachineBasicBlock::iterator From = KillMI; in rescheduleKillAboveMI()
1152 LIS->handleMove(*KillMI); in rescheduleKillAboveMI()
1154 LV->removeVirtualRegisterKilled(Reg, *KillMI); in rescheduleKillAboveMI()
1158 LLVM_DEBUG(dbgs() << "\trescheduled kill: " << *KillMI); in rescheduleKillAboveMI()
1745 for (auto *KillMI : DstInfo.Kills) in processStatepoint() local
1746 LV->addVirtualRegisterKilled(RegB, *KillMI, false); in processStatepoint()