Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DVirtRegMap.h100 bool hasPhys(Register virtReg) const { in hasPhys() argument
101 return getPhys(virtReg) != NO_PHYS_REG; in hasPhys()
106 MCRegister getPhys(Register virtReg) const { in getPhys() argument
107 assert(virtReg.isVirtual()); in getPhys()
108 return MCRegister::from(Virt2PhysMap[virtReg.id()]); in getPhys()
113 void assignVirt2Phys(Register virtReg, MCPhysReg physReg);
117 bool hasShape(Register virtReg) const { in hasShape() argument
118 return getShape(virtReg).isValid(); in hasShape()
121 ShapeT getShape(Register virtReg) const { in getShape() argument
122 assert(virtReg.isVirtual()); in getShape()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DVirtRegMap.cpp84 void VirtRegMap::assignVirt2Phys(Register virtReg, MCPhysReg physReg) { in assignVirt2Phys() argument
85 assert(virtReg.isVirtual() && Register::isPhysicalRegister(physReg)); in assignVirt2Phys()
86 assert(Virt2PhysMap[virtReg.id()] == NO_PHYS_REG && in assignVirt2Phys()
91 Virt2PhysMap[virtReg.id()] = physReg; in assignVirt2Phys()
120 int VirtRegMap::assignVirt2StackSlot(Register virtReg) { in assignVirt2StackSlot() argument
121 assert(virtReg.isVirtual()); in assignVirt2StackSlot()
122 assert(Virt2StackSlotMap[virtReg.id()] == NO_STACK_SLOT && in assignVirt2StackSlot()
124 const TargetRegisterClass* RC = MF->getRegInfo().getRegClass(virtReg); in assignVirt2StackSlot()
125 return Virt2StackSlotMap[virtReg.id()] = createSpillSlot(RC); in assignVirt2StackSlot()
128 void VirtRegMap::assignVirt2StackSlot(Register virtReg, int SS) { in assignVirt2StackSlot() argument
[all …]