Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:VReg

125   /// \brief Finds the initial set of vreg intervals to allocate.
131 /// \brief Spill the given VReg.
132 void spillVReg(unsigned VReg, SmallVectorImpl<unsigned> &NewIntervals,
297 unsigned VReg = G.getNodeMetadata(NId).getVReg();
298 LiveInterval &LI = LIS.getInterval(VReg);
565 unsigned VReg = Worklist.back();
568 const TargetRegisterClass *TRC = MRI.getRegClass(VReg);
569 LiveInterval &VRegLI = LIS.getInterval(VReg);
575 // Compute an initial allowed set for the current vreg.
606 spillVReg(VReg, NewVRegs, MF, LIS, VRM, VRegSpiller);
620 G.getNodeMetadata(NId).setVReg(VReg);
623 G.getMetadata().setNodeIdForVReg(VReg, NId);
627 void RegAllocPBQP::spillVReg(unsigned VReg,
632 VRegsToAlloc.erase(VReg);
633 LiveRangeEdit LRE(&LIS.getInterval(VReg), NewIntervals, MF, LIS, &VRM);
638 DEBUG(dbgs() << "VREG " << PrintReg(VReg, &TRI) << " -> SPILLED (Cost: "
672 unsigned VReg = G.getNodeMetadata(NId).getVReg();
677 DEBUG(dbgs() << "VREG " << PrintReg(VReg, &TRI) << " -> "
680 VRM.assignVirt2Phys(VReg, PReg);
682 // Spill VReg. If this introduces new intervals we'll need another round
685 spillVReg(VReg, NewVRegs, MF, LIS, VRM, VRegSpiller);
747 // Find the vreg intervals in need of allocation.
820 unsigned VReg = G.getNodeMetadata(NId).getVReg();
821 const char *RegClassName = TRI->getRegClassName(MRI.getRegClass(VReg));
822 OS << NId << " (" << RegClassName << ':' << PrintReg(VReg, TRI) << ')';