Lines Matching refs:VRM
136 void initializeGraph(PBQPRAGraph &G, VirtRegMap &VRM, Spiller &VRegSpiller);
140 MachineFunction &MF, LiveIntervals &LIS, VirtRegMap &VRM,
147 VirtRegMap &VRM,
153 VirtRegMap &VRM) const;
561 void RegAllocPBQP::initializeGraph(PBQPRAGraph &G, VirtRegMap &VRM, in initializeGraph() argument
614 spillVReg(VReg, NewVRegs, MF, LIS, VRM, VRegSpiller); in initializeGraph()
638 VirtRegMap &VRM, Spiller &VRegSpiller) { in spillVReg() argument
641 LiveRangeEdit LRE(&LIS.getInterval(VReg), NewIntervals, MF, LIS, &VRM, in spillVReg()
665 VirtRegMap &VRM, in mapPBQPToRegAlloc() argument
676 VRM.clearAllVirt(); in mapPBQPToRegAlloc()
689 VRM.assignVirt2Phys(VReg, PReg); in mapPBQPToRegAlloc()
694 spillVReg(VReg, NewVRegs, MF, LIS, VRM, VRegSpiller); in mapPBQPToRegAlloc()
704 VirtRegMap &VRM) const { in finalizeAlloc()
720 VRM.assignVirt2Phys(LI.reg, PReg); in finalizeAlloc()
746 VirtRegMap &VRM = getAnalysis<VirtRegMap>(); in runOnMachineFunction() local
748 calculateSpillWeightsAndHints(LIS, MF, &VRM, getAnalysis<MachineLoopInfo>(), in runOnMachineFunction()
751 std::unique_ptr<Spiller> VRegSpiller(createInlineSpiller(*this, MF, VRM)); in runOnMachineFunction()
794 initializeGraph(G, VRM, *VRegSpiller); in runOnMachineFunction()
812 PBQPAllocComplete = mapPBQPToRegAlloc(G, Solution, VRM, *VRegSpiller); in runOnMachineFunction()
818 finalizeAlloc(MF, LIS, VRM); in runOnMachineFunction()
823 DEBUG(dbgs() << "Post alloc VirtRegMap:\n" << VRM << "\n"); in runOnMachineFunction()