Lines Matching refs:VRInfo
92 void LiveVariables::MarkVirtRegAliveInBlock(VarInfo& VRInfo, in MarkVirtRegAliveInBlock() argument
100 for (unsigned i = 0, e = VRInfo.Kills.size(); i != e; ++i) in MarkVirtRegAliveInBlock()
101 if (VRInfo.Kills[i]->getParent() == MBB) { in MarkVirtRegAliveInBlock()
102 VRInfo.Kills.erase(VRInfo.Kills.begin()+i); // Erase entry in MarkVirtRegAliveInBlock()
108 if (VRInfo.AliveBlocks.test(BBNum)) in MarkVirtRegAliveInBlock()
112 VRInfo.AliveBlocks.set(BBNum); in MarkVirtRegAliveInBlock()
118 void LiveVariables::MarkVirtRegAliveInBlock(VarInfo &VRInfo, in MarkVirtRegAliveInBlock() argument
122 MarkVirtRegAliveInBlock(VRInfo, DefBlock, MBB, WorkList); in MarkVirtRegAliveInBlock()
127 MarkVirtRegAliveInBlock(VRInfo, DefBlock, Pred, WorkList); in MarkVirtRegAliveInBlock()
137 VarInfo& VRInfo = getVarInfo(reg); in HandleVirtRegUse() local
140 if (!VRInfo.Kills.empty() && VRInfo.Kills.back()->getParent() == MBB) { in HandleVirtRegUse()
143 VRInfo.Kills.back() = MI; in HandleVirtRegUse()
148 for (unsigned i = 0, e = VRInfo.Kills.size(); i != e; ++i) in HandleVirtRegUse()
149 assert(VRInfo.Kills[i]->getParent() != MBB && "entry should be at end!"); in HandleVirtRegUse()
173 if (!VRInfo.AliveBlocks.test(BBNum)) in HandleVirtRegUse()
174 VRInfo.Kills.push_back(MI); in HandleVirtRegUse()
179 MarkVirtRegAliveInBlock(VRInfo, MRI->getVRegDef(reg)->getParent(), *PI); in HandleVirtRegUse()
183 VarInfo &VRInfo = getVarInfo(Reg); in HandleVirtRegDef() local
185 if (VRInfo.AliveBlocks.empty()) in HandleVirtRegDef()
187 VRInfo.Kills.push_back(MI); in HandleVirtRegDef()