Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DVirtRegMap.h96 bool hasPhys(Register virtReg) const { in hasPhys() argument
97 return getPhys(virtReg) != NO_PHYS_REG; in hasPhys()
102 Register getPhys(Register virtReg) const { in getPhys() argument
103 assert(virtReg.isVirtual()); in getPhys()
104 return Virt2PhysMap[virtReg.id()]; in getPhys()
109 void assignVirt2Phys(Register virtReg, MCPhysReg physReg);
113 void clearVirt(Register virtReg) { in clearVirt() argument
114 assert(virtReg.isVirtual()); in clearVirt()
115 assert(Virt2PhysMap[virtReg.id()] != NO_PHYS_REG && in clearVirt()
117 Virt2PhysMap[virtReg.id()] = NO_PHYS_REG; in clearVirt()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DVirtRegMap.cpp83 void VirtRegMap::assignVirt2Phys(Register virtReg, MCPhysReg physReg) { in assignVirt2Phys() argument
84 assert(virtReg.isVirtual() && Register::isPhysicalRegister(physReg)); in assignVirt2Phys()
85 assert(Virt2PhysMap[virtReg.id()] == NO_PHYS_REG && in assignVirt2Phys()
90 Virt2PhysMap[virtReg.id()] = physReg; in assignVirt2Phys()
119 int VirtRegMap::assignVirt2StackSlot(Register virtReg) { in assignVirt2StackSlot() argument
120 assert(virtReg.isVirtual()); in assignVirt2StackSlot()
121 assert(Virt2StackSlotMap[virtReg.id()] == NO_STACK_SLOT && in assignVirt2StackSlot()
123 const TargetRegisterClass* RC = MF->getRegInfo().getRegClass(virtReg); in assignVirt2StackSlot()
124 return Virt2StackSlotMap[virtReg.id()] = createSpillSlot(RC); in assignVirt2StackSlot()
127 void VirtRegMap::assignVirt2StackSlot(Register virtReg, int SS) { in assignVirt2StackSlot() argument
[all …]