Lines Matching refs:VirtReg

103   MCRegister selectOrSplit(LiveInterval &VirtReg,
122 bool spillInterferences(LiveInterval &VirtReg, MCRegister PhysReg,
149 bool RABasic::LRE_CanEraseVirtReg(Register VirtReg) { in INITIALIZE_PASS_DEPENDENCY()
150 LiveInterval &LI = LIS->getInterval(VirtReg); in INITIALIZE_PASS_DEPENDENCY()
151 if (VRM->hasPhys(VirtReg)) { in INITIALIZE_PASS_DEPENDENCY()
164 void RABasic::LRE_WillShrinkVirtReg(Register VirtReg) { in LRE_WillShrinkVirtReg() argument
165 if (!VRM->hasPhys(VirtReg)) in LRE_WillShrinkVirtReg()
169 LiveInterval &LI = LIS->getInterval(VirtReg); in LRE_WillShrinkVirtReg()
209 bool RABasic::spillInterferences(LiveInterval &VirtReg, MCRegister PhysReg, in spillInterferences() argument
217 LiveIntervalUnion::Query &Q = Matrix->query(VirtReg, *Units); in spillInterferences()
221 if (!Intf->isSpillable() || Intf->weight() > VirtReg.weight()) in spillInterferences()
227 << " interferences with " << VirtReg << "\n"); in spillInterferences()
261 MCRegister RABasic::selectOrSplit(LiveInterval &VirtReg, in selectOrSplit() argument
268 AllocationOrder::create(VirtReg.reg(), *VRM, RegClassInfo, Matrix); in selectOrSplit()
272 switch (Matrix->checkInterference(VirtReg, PhysReg)) { in selectOrSplit()
292 if (!spillInterferences(VirtReg, *PhysRegI, SplitVRegs)) in selectOrSplit()
295 assert(!Matrix->checkInterference(VirtReg, *PhysRegI) && in selectOrSplit()
302 LLVM_DEBUG(dbgs() << "spilling: " << VirtReg << '\n'); in selectOrSplit()
303 if (!VirtReg.isSpillable()) in selectOrSplit()
305 LiveRangeEdit LRE(&VirtReg, SplitVRegs, *MF, *LIS, VRM, this, &DeadRemats); in selectOrSplit()