Lines Matching refs:VReg
133 void spillVReg(unsigned VReg, SmallVectorImpl<unsigned> &NewIntervals,
298 unsigned VReg = G.getNodeMetadata(NId).getVReg(); in apply() local
299 LiveInterval &LI = LIS.getInterval(VReg); in apply()
566 unsigned VReg = Worklist.back(); in initializeGraph() local
569 const TargetRegisterClass *TRC = MRI.getRegClass(VReg); in initializeGraph()
570 LiveInterval &VRegLI = LIS.getInterval(VReg); in initializeGraph()
607 spillVReg(VReg, NewVRegs, MF, LIS, VRM, VRegSpiller); in initializeGraph()
621 G.getNodeMetadata(NId).setVReg(VReg); in initializeGraph()
624 G.getMetadata().setNodeIdForVReg(VReg, NId); in initializeGraph()
628 void RegAllocPBQP::spillVReg(unsigned VReg, in spillVReg() argument
633 VRegsToAlloc.erase(VReg); in spillVReg()
634 LiveRangeEdit LRE(&LIS.getInterval(VReg), NewIntervals, MF, LIS, &VRM); in spillVReg()
639 DEBUG(dbgs() << "VREG " << PrintReg(VReg, &TRI) << " -> SPILLED (Cost: " in spillVReg()
673 unsigned VReg = G.getNodeMetadata(NId).getVReg(); in mapPBQPToRegAlloc() local
678 DEBUG(dbgs() << "VREG " << PrintReg(VReg, &TRI) << " -> " in mapPBQPToRegAlloc()
681 VRM.assignVirt2Phys(VReg, PReg); in mapPBQPToRegAlloc()
686 spillVReg(VReg, NewVRegs, MF, LIS, VRM, VRegSpiller); in mapPBQPToRegAlloc()
815 unsigned VReg = G.getNodeMetadata(NId).getVReg(); in PrintNodeInfo() local
816 const char *RegClassName = TRI->getRegClassName(MRI.getRegClass(VReg)); in PrintNodeInfo()
817 OS << NId << " (" << RegClassName << ':' << PrintReg(VReg, TRI) << ')'; in PrintNodeInfo()