Lines Matching defs: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);
750 // that kills it.
754 for (unsigned i = 0, e = VI.Kills.size(); i != e; ++i)
755 if (VI.Kills[i]->getParent() == SuccMBB)
761 for (unsigned i = 0, e = VI.Kills.size(); i != e; ++i)
762 if (VI.Kills[i]->getParent() == SuccMBB1 ||
763 VI.Kills[i]->getParent() == SuccMBB2)
769 for (unsigned i = 0, e = VI.Kills.size(); i != e; ++i)
771 VI.Kills[i]->getParent()))
785 SmallSet<unsigned, 16> Defs, Kills;
798 // Record all vreg defs and kills of all instructions in SuccBB.
806 Kills.insert(I->getReg());
822 if (Kills.count(Reg) || VI.AliveBlocks.test(SuccBB->getNumber()))