Home
last modified time | relevance | path

Searched refs:virtReg (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DVirtRegMap.h99 bool hasPhys(Register virtReg) const { in hasPhys() argument
100 return getPhys(virtReg) != NO_PHYS_REG; in hasPhys()
105 MCRegister getPhys(Register virtReg) const { in getPhys() argument
106 assert(virtReg.isVirtual()); in getPhys()
107 return MCRegister::from(Virt2PhysMap[virtReg.id()]); in getPhys()
112 void assignVirt2Phys(Register virtReg, MCPhysReg physReg);
116 bool hasShape(Register virtReg) const { in hasShape() argument
117 return getShape(virtReg).isValid(); in hasShape()
120 ShapeT getShape(Register virtReg) const { in getShape() argument
121 assert(virtReg.isVirtual()); in getShape()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DVirtRegMap.cpp85 void VirtRegMap::assignVirt2Phys(Register virtReg, MCPhysReg physReg) { in assignVirt2Phys() argument
86 assert(virtReg.isVirtual() && Register::isPhysicalRegister(physReg)); in assignVirt2Phys()
87 assert(Virt2PhysMap[virtReg.id()] == NO_PHYS_REG && in assignVirt2Phys()
92 Virt2PhysMap[virtReg.id()] = physReg; in assignVirt2Phys()
127 int VirtRegMap::assignVirt2StackSlot(Register virtReg) { in assignVirt2StackSlot() argument
128 assert(virtReg.isVirtual()); in assignVirt2StackSlot()
129 assert(Virt2StackSlotMap[virtReg.id()] == NO_STACK_SLOT && in assignVirt2StackSlot()
131 const TargetRegisterClass* RC = MF->getRegInfo().getRegClass(virtReg); in assignVirt2StackSlot()
132 return Virt2StackSlotMap[virtReg.id()] = createSpillSlot(RC); in assignVirt2StackSlot()
135 void VirtRegMap::assignVirt2StackSlot(Register virtReg, int SS) { in assignVirt2StackSlot() argument
[all …]