Lines Matching refs:VirtReg
102 unsigned selectOrSplit(LiveInterval &VirtReg,
111 bool spillInterferences(LiveInterval &VirtReg, unsigned PhysReg,
166 bool RABasic::spillInterferences(LiveInterval &VirtReg, unsigned PhysReg, in spillInterferences() argument
174 LiveIntervalUnion::Query &Q = Matrix->query(VirtReg, *Units); in spillInterferences()
180 if (!Intf->isSpillable() || Intf->weight > VirtReg.weight) in spillInterferences()
186 " interferences with " << VirtReg << "\n"); in spillInterferences()
220 unsigned RABasic::selectOrSplit(LiveInterval &VirtReg, in selectOrSplit() argument
226 AllocationOrder Order(VirtReg.reg, *VRM, RegClassInfo, Matrix); in selectOrSplit()
229 switch (Matrix->checkInterference(VirtReg, PhysReg)) { in selectOrSplit()
248 if (!spillInterferences(VirtReg, *PhysRegI, SplitVRegs)) in selectOrSplit()
251 assert(!Matrix->checkInterference(VirtReg, *PhysRegI) && in selectOrSplit()
258 DEBUG(dbgs() << "spilling: " << VirtReg << '\n'); in selectOrSplit()
259 if (!VirtReg.isSpillable()) in selectOrSplit()
261 LiveRangeEdit LRE(&VirtReg, SplitVRegs, *MF, *LIS, VRM, nullptr, &DeadRemats); in selectOrSplit()