Lines Matching refs:vrm
205 if (!VRM->hasPhys(reg)) continue; // spilled?
206 unsigned PhysReg = VRM->getPhys(reg);
231 void RegAllocBase::init(VirtRegMap &vrm, LiveIntervals &lis) {
233 TRI = &vrm.getTargetRegInfo();
234 MRI = &vrm.getRegInfo();
235 VRM = &vrm;
237 RegClassInfo.runOnMachineFunction(vrm.getMachineFunction());
280 assert(!VRM->hasPhys(VirtReg.reg) && "Duplicate VirtReg assignment");
281 VRM->assignVirt2Phys(VirtReg.reg, PhysReg);
290 assert(VRM->getPhys(VirtReg.reg) == PhysReg && "Inconsistent unassign");
292 VRM->clearVirt(VirtReg.reg);
303 assert(!VRM->hasPhys(VirtReg->reg) && "Register already assigned");
339 VRM->assignVirt2Phys(VirtReg->reg,
350 assert(!VRM->hasPhys(SplitVirtReg->reg) && "Register already assigned");
540 SpillerInstance.reset(createInlineSpiller(*this, *MF, *VRM));
547 DEBUG(dbgs() << "Post alloc VirtRegMap:\n" << *VRM << "\n");
550 DEBUG(RMF->renderMachineFunction("After basic register allocation.", VRM));
573 VRM->rewrite(LIS->getSlotIndexes());
576 getAnalysis<LiveDebugVariables>().emitDebugValues(VRM);