Searched refs:virtReg (Results 1 – 2 of 2) sorted by relevance
96 bool hasPhys(Register virtReg) const { in hasPhys() argument97 return getPhys(virtReg) != NO_PHYS_REG; in hasPhys()102 Register getPhys(Register virtReg) const { in getPhys() argument103 assert(virtReg.isVirtual()); in getPhys()104 return Virt2PhysMap[virtReg.id()]; in getPhys()109 void assignVirt2Phys(Register virtReg, MCPhysReg physReg);113 void clearVirt(Register virtReg) { in clearVirt() argument114 assert(virtReg.isVirtual()); in clearVirt()115 assert(Virt2PhysMap[virtReg.id()] != NO_PHYS_REG && in clearVirt()117 Virt2PhysMap[virtReg.id()] = NO_PHYS_REG; in clearVirt()[all …]
83 void VirtRegMap::assignVirt2Phys(Register virtReg, MCPhysReg physReg) { in assignVirt2Phys() argument84 assert(virtReg.isVirtual() && Register::isPhysicalRegister(physReg)); in assignVirt2Phys()85 assert(Virt2PhysMap[virtReg.id()] == NO_PHYS_REG && in assignVirt2Phys()90 Virt2PhysMap[virtReg.id()] = physReg; in assignVirt2Phys()119 int VirtRegMap::assignVirt2StackSlot(Register virtReg) { in assignVirt2StackSlot() argument120 assert(virtReg.isVirtual()); in assignVirt2StackSlot()121 assert(Virt2StackSlotMap[virtReg.id()] == NO_STACK_SLOT && in assignVirt2StackSlot()123 const TargetRegisterClass* RC = MF->getRegInfo().getRegClass(virtReg); in assignVirt2StackSlot()124 return Virt2StackSlotMap[virtReg.id()] = createSpillSlot(RC); in assignVirt2StackSlot()127 void VirtRegMap::assignVirt2StackSlot(Register virtReg, int SS) { in assignVirt2StackSlot() argument[all …]