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.h87 bool hasPhys(Register virtReg) const { return getPhys(virtReg).isValid(); } in hasPhys() argument
91 MCRegister getPhys(Register virtReg) const { in getPhys() argument
92 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() argument
103 return Virt2ShapeMap.contains(virtReg); in hasShape()
106 ShapeT getShape(Register virtReg) const { in getShape() argument
107 assert(virtReg.isVirtual()); in getShape()
108 return Virt2ShapeMap.lookup(virtReg); in getShape()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DVirtRegMap.cpp86 void VirtRegMap::assignVirt2Phys(Register virtReg, MCRegister physReg) { in assignVirt2Phys() argument
87 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() argument
129 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 …]