Lines Matching refs:Kills
61 for (unsigned i = 0, e = Kills.size(); i != e; ++i)
62 if (Kills[i]->getParent() == MBB)
63 return Kills[i];
74 if (Kills.empty())
77 for (unsigned i = 0, e = Kills.size(); i != e; ++i)
78 dbgs() << "\n #" << i << ": " << *Kills[i];
100 for (unsigned i = 0, e = VRInfo.Kills.size(); i != e; ++i)
101 if (VRInfo.Kills[i]->getParent() == MBB) {
102 VRInfo.Kills.erase(VRInfo.Kills.begin()+i); // Erase entry
140 if (!VRInfo.Kills.empty() && VRInfo.Kills.back()->getParent() == MBB) {
143 VRInfo.Kills.back() = MI;
148 for (unsigned i = 0, e = VRInfo.Kills.size(); i != e; ++i)
149 assert(VRInfo.Kills[i]->getParent() != MBB && "entry should be at end!");
174 VRInfo.Kills.push_back(MI);
187 VRInfo.Kills.push_back(MI);
399 // The last partial def kills the register.
652 for (unsigned j = 0, e2 = VirtRegInfo[Reg].Kills.size(); j != e2; ++j)
653 if (VirtRegInfo[Reg].Kills[j] == MRI->getVRegDef(Reg))
654 VirtRegInfo[Reg].Kills[j]->addRegisterDead(Reg, TRI);
656 VirtRegInfo[Reg].Kills[j]->addRegisterKilled(Reg, TRI);
679 std::replace(VI.Kills.begin(), VI.Kills.end(), OldMI, NewMI);
751 // that kills it.
755 for (unsigned i = 0, e = VI.Kills.size(); i != e; ++i)
756 if (VI.Kills[i]->getParent() == SuccMBB)
762 for (unsigned i = 0, e = VI.Kills.size(); i != e; ++i)
763 if (VI.Kills[i]->getParent() == SuccMBB1 ||
764 VI.Kills[i]->getParent() == SuccMBB2)
770 for (unsigned i = 0, e = VI.Kills.size(); i != e; ++i)
772 VI.Kills[i]->getParent()))
786 SmallSet<unsigned, 16> Defs, Kills;
799 // Record all vreg defs and kills of all instructions in SuccBB.
807 Kills.insert(I->getReg());
823 if (Kills.count(Reg) || VI.AliveBlocks.test(SuccBB->getNumber()))