Lines Matching refs:Kills
61 for (unsigned i = 0, e = Kills.size(); i != e; ++i) in findKill()
62 if (Kills[i]->getParent() == MBB) in findKill()
63 return Kills[i]; in findKill()
74 if (Kills.empty()) in dump()
77 for (unsigned i = 0, e = Kills.size(); i != e; ++i) in dump()
78 dbgs() << "\n #" << i << ": " << *Kills[i]; in dump()
98 for (unsigned i = 0, e = VRInfo.Kills.size(); i != e; ++i) in MarkVirtRegAliveInBlock()
99 if (VRInfo.Kills[i]->getParent() == MBB) { in MarkVirtRegAliveInBlock()
100 VRInfo.Kills.erase(VRInfo.Kills.begin()+i); // Erase entry in MarkVirtRegAliveInBlock()
138 if (!VRInfo.Kills.empty() && VRInfo.Kills.back()->getParent() == MBB) { in HandleVirtRegUse()
141 VRInfo.Kills.back() = &MI; in HandleVirtRegUse()
146 for (unsigned i = 0, e = VRInfo.Kills.size(); i != e; ++i) in HandleVirtRegUse()
147 assert(VRInfo.Kills[i]->getParent() != MBB && "entry should be at end!"); in HandleVirtRegUse()
173 VRInfo.Kills.push_back(&MI); in HandleVirtRegUse()
186 VRInfo.Kills.push_back(&MI); in HandleVirtRegDef()
657 for (unsigned j = 0, e2 = VirtRegInfo[Reg].Kills.size(); j != e2; ++j) in runOnMachineFunction()
658 if (VirtRegInfo[Reg].Kills[j] == MRI->getVRegDef(Reg)) in runOnMachineFunction()
659 VirtRegInfo[Reg].Kills[j]->addRegisterDead(Reg, TRI); in runOnMachineFunction()
661 VirtRegInfo[Reg].Kills[j]->addRegisterKilled(Reg, TRI); in runOnMachineFunction()
684 std::replace(VI.Kills.begin(), VI.Kills.end(), &OldMI, &NewMI); in replaceKillInstruction()
740 SmallPtrSet<const MachineBasicBlock *, 8> Kills; in isLiveOut() local
741 for (unsigned i = 0, e = VI.Kills.size(); i != e; ++i) in isLiveOut()
742 Kills.insert(VI.Kills[i]->getParent()); in isLiveOut()
752 if (Kills.count(SuccMBB)) in isLiveOut()
767 DenseSet<unsigned> Defs, Kills; in addNewBlock() local
788 Kills.insert(I->getReg()); in addNewBlock()
804 if (Kills.count(Reg) || VI.AliveBlocks.test(SuccBB->getNumber())) in addNewBlock()