Lines Matching refs:VirtReg
105 virtual unsigned selectOrSplit(LiveInterval &VirtReg,
114 bool spillInterferences(LiveInterval &VirtReg, unsigned PhysReg,
169 bool RABasic::spillInterferences(LiveInterval &VirtReg, unsigned PhysReg, in spillInterferences() argument
177 LiveIntervalUnion::Query &Q = Matrix->query(VirtReg, *Units); in spillInterferences()
183 if (!Intf->isSpillable() || Intf->weight > VirtReg.weight) in spillInterferences()
189 " interferences with " << VirtReg << "\n"); in spillInterferences()
223 unsigned RABasic::selectOrSplit(LiveInterval &VirtReg, in selectOrSplit() argument
229 AllocationOrder Order(VirtReg.reg, *VRM, RegClassInfo); in selectOrSplit()
232 switch (Matrix->checkInterference(VirtReg, PhysReg)) { in selectOrSplit()
251 if (!spillInterferences(VirtReg, *PhysRegI, SplitVRegs)) in selectOrSplit()
254 assert(!Matrix->checkInterference(VirtReg, *PhysRegI) && in selectOrSplit()
261 DEBUG(dbgs() << "spilling: " << VirtReg << '\n'); in selectOrSplit()
262 if (!VirtReg.isSpillable()) in selectOrSplit()
264 LiveRangeEdit LRE(&VirtReg, SplitVRegs, *MF, *LIS, VRM); in selectOrSplit()