Lines Matching defs:KillInst
635 MachineBasicBlock::iterator KillInst = opBlock.end();
639 KillInst = Term;
642 if (KillInst == opBlock.end()) {
647 KillInst = InsertPos;
648 while (KillInst != opBlock.begin()) {
649 --KillInst;
650 if (KillInst->isDebugInstr())
652 if (KillInst->readsRegister(SrcReg, /*TRI=*/nullptr))
657 KillInst = NewSrcInstr;
660 assert(KillInst->readsRegister(SrcReg, /*TRI=*/nullptr) &&
664 LV->addVirtualRegisterKilled(SrcReg, *KillInst);
694 MachineBasicBlock::iterator KillInst = opBlock.end();
698 KillInst = Term;
701 if (KillInst == opBlock.end()) {
706 KillInst = InsertPos;
707 while (KillInst != opBlock.begin()) {
708 --KillInst;
709 if (KillInst->isDebugInstr())
711 if (KillInst->readsRegister(SrcReg, /*TRI=*/nullptr))
716 KillInst = std::prev(InsertPos);
719 assert(KillInst->readsRegister(SrcReg, /*TRI=*/nullptr) &&
722 SlotIndex LastUseIndex = LIS->getInstructionIndex(*KillInst);