Lines Matching refs:VRM
165 void initializeGraph(PBQPRAGraph &G, VirtRegMap &VRM, Spiller &VRegSpiller);
169 MachineFunction &MF, LiveIntervals &LIS, VirtRegMap &VRM,
176 VirtRegMap &VRM,
182 VirtRegMap &VRM) const;
529 PBQPVirtRegAuxInfo(MachineFunction &MF, LiveIntervals &LIS, VirtRegMap &VRM, in PBQPVirtRegAuxInfo() argument
532 : VirtRegAuxInfo(MF, LIS, VRM, Loops, MBFI) {} in PBQPVirtRegAuxInfo()
590 void RegAllocPBQP::initializeGraph(PBQPRAGraph &G, VirtRegMap &VRM, in initializeGraph() argument
654 spillVReg(VReg, NewVRegs, MF, LIS, VRM, VRegSpiller); in initializeGraph()
693 VirtRegMap &VRM, Spiller &VRegSpiller) { in spillVReg() argument
695 LiveRangeEdit LRE(&LIS.getInterval(VReg), NewIntervals, MF, LIS, &VRM, in spillVReg()
719 VirtRegMap &VRM, in mapPBQPToRegAlloc() argument
730 VRM.clearAllVirt(); in mapPBQPToRegAlloc()
743 VRM.assignVirt2Phys(VReg, PReg); in mapPBQPToRegAlloc()
748 spillVReg(VReg, NewVRegs, MF, LIS, VRM, VRegSpiller); in mapPBQPToRegAlloc()
758 VirtRegMap &VRM) const { in finalizeAlloc()
773 if (!VRM.getRegInfo().isReserved(CandidateReg)) { in finalizeAlloc()
782 VRM.assignVirt2Phys(LI.reg(), PReg); in finalizeAlloc()
801 VirtRegMap &VRM = getAnalysis<VirtRegMap>(); in runOnMachineFunction() local
803 PBQPVirtRegAuxInfo VRAI(MF, LIS, VRM, getAnalysis<MachineLoopInfo>(), MBFI); in runOnMachineFunction()
806 std::unique_ptr<Spiller> VRegSpiller(createInlineSpiller(*this, MF, VRM)); in runOnMachineFunction()
848 initializeGraph(G, VRM, *VRegSpiller); in runOnMachineFunction()
866 PBQPAllocComplete = mapPBQPToRegAlloc(G, Solution, VRM, *VRegSpiller); in runOnMachineFunction()
872 finalizeAlloc(MF, LIS, VRM); in runOnMachineFunction()
877 LLVM_DEBUG(dbgs() << "Post alloc VirtRegMap:\n" << VRM << "\n"); in runOnMachineFunction()