Searched refs:virtReg (Results 1 – 2 of 2) sorted by relevance
87 bool hasPhys(Register virtReg) const { return getPhys(virtReg).isValid(); } in hasPhys() argument91 MCRegister getPhys(Register virtReg) const { in getPhys() argument92 assert(virtReg.isVirtual()); in getPhys()93 return Virt2PhysMap[virtReg]; in getPhys()98 LLVM_ABI void assignVirt2Phys(Register virtReg, MCRegister physReg);102 bool hasShape(Register virtReg) const { in hasShape() argument103 return Virt2ShapeMap.contains(virtReg); in hasShape()106 ShapeT getShape(Register virtReg) const { in getShape() argument107 assert(virtReg.isVirtual()); in getShape()108 return Virt2ShapeMap.lookup(virtReg); in getShape()[all …]
86 void VirtRegMap::assignVirt2Phys(Register virtReg, MCRegister physReg) { in assignVirt2Phys() argument87 assert(virtReg.isVirtual() && physReg.isPhysical()); in assignVirt2Phys()88 assert(!Virt2PhysMap[virtReg] && in assignVirt2Phys()93 Virt2PhysMap[virtReg] = physReg; in assignVirt2Phys()128 int VirtRegMap::assignVirt2StackSlot(Register virtReg) { in assignVirt2StackSlot() argument129 assert(virtReg.isVirtual()); in assignVirt2StackSlot()130 assert(Virt2StackSlotMap[virtReg] == NO_STACK_SLOT && in assignVirt2StackSlot()132 const TargetRegisterClass* RC = MF->getRegInfo().getRegClass(virtReg); in assignVirt2StackSlot()133 return Virt2StackSlotMap[virtReg] = createSpillSlot(RC); in assignVirt2StackSlot()136 void VirtRegMap::assignVirt2StackSlot(Register virtReg, int SS) { in assignVirt2StackSlot() argument[all …]