Lines Matching defs:KillInst
626 MachineBasicBlock::iterator KillInst = opBlock.end();
630 KillInst = Term;
633 if (KillInst == opBlock.end()) {
638 KillInst = InsertPos;
639 while (KillInst != opBlock.begin()) {
640 --KillInst;
641 if (KillInst->isDebugInstr())
643 if (KillInst->readsRegister(SrcReg, /*TRI=*/nullptr))
648 KillInst = NewSrcInstr;
651 assert(KillInst->readsRegister(SrcReg, /*TRI=*/nullptr) &&
655 LV->addVirtualRegisterKilled(SrcReg, *KillInst);
685 MachineBasicBlock::iterator KillInst = opBlock.end();
689 KillInst = Term;
692 if (KillInst == opBlock.end()) {
697 KillInst = InsertPos;
698 while (KillInst != opBlock.begin()) {
699 --KillInst;
700 if (KillInst->isDebugInstr())
702 if (KillInst->readsRegister(SrcReg, /*TRI=*/nullptr))
707 KillInst = std::prev(InsertPos);
710 assert(KillInst->readsRegister(SrcReg, /*TRI=*/nullptr) &&
713 SlotIndex LastUseIndex = LIS->getInstructionIndex(*KillInst);