Lines Matching refs:VRInfo

88 void LiveVariables::MarkVirtRegAliveInBlock(VarInfo& VRInfo,  in MarkVirtRegAliveInBlock()  argument
96 for (unsigned i = 0, e = VRInfo.Kills.size(); i != e; ++i) in MarkVirtRegAliveInBlock()
97 if (VRInfo.Kills[i]->getParent() == MBB) { in MarkVirtRegAliveInBlock()
98 VRInfo.Kills.erase(VRInfo.Kills.begin()+i); // Erase entry in MarkVirtRegAliveInBlock()
104 if (VRInfo.AliveBlocks.test(BBNum)) in MarkVirtRegAliveInBlock()
108 VRInfo.AliveBlocks.set(BBNum); in MarkVirtRegAliveInBlock()
113 void LiveVariables::MarkVirtRegAliveInBlock(VarInfo &VRInfo, in MarkVirtRegAliveInBlock() argument
117 MarkVirtRegAliveInBlock(VRInfo, DefBlock, MBB, WorkList); in MarkVirtRegAliveInBlock()
122 MarkVirtRegAliveInBlock(VRInfo, DefBlock, Pred, WorkList); in MarkVirtRegAliveInBlock()
132 VarInfo& VRInfo = getVarInfo(reg); in HandleVirtRegUse() local
133 VRInfo.NumUses++; in HandleVirtRegUse()
136 if (!VRInfo.Kills.empty() && VRInfo.Kills.back()->getParent() == MBB) { in HandleVirtRegUse()
139 VRInfo.Kills.back() = MI; in HandleVirtRegUse()
144 for (unsigned i = 0, e = VRInfo.Kills.size(); i != e; ++i) in HandleVirtRegUse()
145 assert(VRInfo.Kills[i]->getParent() != MBB && "entry should be at end!"); in HandleVirtRegUse()
169 if (!VRInfo.AliveBlocks.test(BBNum)) in HandleVirtRegUse()
170 VRInfo.Kills.push_back(MI); in HandleVirtRegUse()
175 MarkVirtRegAliveInBlock(VRInfo, MRI->getVRegDef(reg)->getParent(), *PI); in HandleVirtRegUse()
179 VarInfo &VRInfo = getVarInfo(Reg); in HandleVirtRegDef() local
181 if (VRInfo.AliveBlocks.empty()) in HandleVirtRegDef()
183 VRInfo.Kills.push_back(MI); in HandleVirtRegDef()