Searched refs:virtReg (Results 1 – 8 of 8) sorted by relevance
171 bool hasPhys(unsigned virtReg) const { in hasPhys() argument172 return getPhys(virtReg) != NO_PHYS_REG; in hasPhys()177 unsigned getPhys(unsigned virtReg) const { in getPhys() argument178 assert(TargetRegisterInfo::isVirtualRegister(virtReg)); in getPhys()179 return Virt2PhysMap[virtReg]; in getPhys()184 void assignVirt2Phys(unsigned virtReg, unsigned physReg) { in assignVirt2Phys() argument185 assert(TargetRegisterInfo::isVirtualRegister(virtReg) && in assignVirt2Phys()187 assert(Virt2PhysMap[virtReg] == NO_PHYS_REG && in assignVirt2Phys()190 Virt2PhysMap[virtReg] = physReg; in assignVirt2Phys()195 void clearVirt(unsigned virtReg) { in clearVirt() argument[all …]
118 unsigned VirtRegMap::getRegAllocPref(unsigned virtReg) { in getRegAllocPref() argument119 std::pair<unsigned, unsigned> Hint = MRI->getRegAllocationHint(virtReg); in getRegAllocPref()129 int VirtRegMap::assignVirt2StackSlot(unsigned virtReg) { in assignVirt2StackSlot() argument130 assert(TargetRegisterInfo::isVirtualRegister(virtReg)); in assignVirt2StackSlot()131 assert(Virt2StackSlotMap[virtReg] == NO_STACK_SLOT && in assignVirt2StackSlot()133 const TargetRegisterClass* RC = MF->getRegInfo().getRegClass(virtReg); in assignVirt2StackSlot()134 return Virt2StackSlotMap[virtReg] = createSpillSlot(RC); in assignVirt2StackSlot()137 void VirtRegMap::assignVirt2StackSlot(unsigned virtReg, int SS) { in assignVirt2StackSlot() argument138 assert(TargetRegisterInfo::isVirtualRegister(virtReg)); in assignVirt2StackSlot()139 assert(Virt2StackSlotMap[virtReg] == NO_STACK_SLOT && in assignVirt2StackSlot()[all …]
154 LiveInterval &virtReg() const { in virtReg() function
92 bool hasPhys(unsigned virtReg) const { in hasPhys() argument93 return getPhys(virtReg) != NO_PHYS_REG; in hasPhys()98 unsigned getPhys(unsigned virtReg) const { in getPhys() argument99 assert(TargetRegisterInfo::isVirtualRegister(virtReg)); in getPhys()100 return Virt2PhysMap[virtReg]; in getPhys()105 void assignVirt2Phys(unsigned virtReg, unsigned physReg) { in assignVirt2Phys() argument106 assert(TargetRegisterInfo::isVirtualRegister(virtReg) && in assignVirt2Phys()108 assert(Virt2PhysMap[virtReg] == NO_PHYS_REG && in assignVirt2Phys()111 Virt2PhysMap[virtReg] = physReg; in assignVirt2Phys()116 void clearVirt(unsigned virtReg) { in clearVirt() argument[all …]
155 LiveInterval &virtReg() const { in virtReg() function
95 bool hasPhys(unsigned virtReg) const { in hasPhys() argument96 return getPhys(virtReg) != NO_PHYS_REG; in hasPhys()101 unsigned getPhys(unsigned virtReg) const { in getPhys() argument102 assert(TargetRegisterInfo::isVirtualRegister(virtReg)); in getPhys()103 return Virt2PhysMap[virtReg]; in getPhys()108 void assignVirt2Phys(unsigned virtReg, MCPhysReg physReg);112 void clearVirt(unsigned virtReg) { in clearVirt() argument113 assert(TargetRegisterInfo::isVirtualRegister(virtReg)); in clearVirt()114 assert(Virt2PhysMap[virtReg] != NO_PHYS_REG && in clearVirt()116 Virt2PhysMap[virtReg] = NO_PHYS_REG; in clearVirt()[all …]
84 void VirtRegMap::assignVirt2Phys(unsigned virtReg, MCPhysReg physReg) { in assignVirt2Phys() argument85 assert(TargetRegisterInfo::isVirtualRegister(virtReg) && in assignVirt2Phys()87 assert(Virt2PhysMap[virtReg] == NO_PHYS_REG && in assignVirt2Phys()92 Virt2PhysMap[virtReg] = physReg; in assignVirt2Phys()121 int VirtRegMap::assignVirt2StackSlot(unsigned virtReg) { in assignVirt2StackSlot() argument122 assert(TargetRegisterInfo::isVirtualRegister(virtReg)); in assignVirt2StackSlot()123 assert(Virt2StackSlotMap[virtReg] == NO_STACK_SLOT && in assignVirt2StackSlot()125 const TargetRegisterClass* RC = MF->getRegInfo().getRegClass(virtReg); in assignVirt2StackSlot()126 return Virt2StackSlotMap[virtReg] = createSpillSlot(RC); in assignVirt2StackSlot()129 void VirtRegMap::assignVirt2StackSlot(unsigned virtReg, int SS) { in assignVirt2StackSlot() argument[all …]
100 int VirtRegMap::assignVirt2StackSlot(unsigned virtReg) { in assignVirt2StackSlot() argument101 assert(TargetRegisterInfo::isVirtualRegister(virtReg)); in assignVirt2StackSlot()102 assert(Virt2StackSlotMap[virtReg] == NO_STACK_SLOT && in assignVirt2StackSlot()104 const TargetRegisterClass* RC = MF->getRegInfo().getRegClass(virtReg); in assignVirt2StackSlot()105 return Virt2StackSlotMap[virtReg] = createSpillSlot(RC); in assignVirt2StackSlot()108 void VirtRegMap::assignVirt2StackSlot(unsigned virtReg, int SS) { in assignVirt2StackSlot() argument109 assert(TargetRegisterInfo::isVirtualRegister(virtReg)); in assignVirt2StackSlot()110 assert(Virt2StackSlotMap[virtReg] == NO_STACK_SLOT && in assignVirt2StackSlot()115 Virt2StackSlotMap[virtReg] = SS; in assignVirt2StackSlot()