Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/CodeGen/
DVirtRegMap.h171 bool hasPhys(unsigned virtReg) const { in hasPhys() argument
172 return getPhys(virtReg) != NO_PHYS_REG; in hasPhys()
177 unsigned getPhys(unsigned virtReg) const { in getPhys() argument
178 assert(TargetRegisterInfo::isVirtualRegister(virtReg)); in getPhys()
179 return Virt2PhysMap[virtReg]; in getPhys()
184 void assignVirt2Phys(unsigned virtReg, unsigned physReg) { in assignVirt2Phys() argument
185 assert(TargetRegisterInfo::isVirtualRegister(virtReg) && in assignVirt2Phys()
187 assert(Virt2PhysMap[virtReg] == NO_PHYS_REG && in assignVirt2Phys()
190 Virt2PhysMap[virtReg] = physReg; in assignVirt2Phys()
195 void clearVirt(unsigned virtReg) { in clearVirt() argument
[all …]
DVirtRegMap.cpp118 unsigned VirtRegMap::getRegAllocPref(unsigned virtReg) { in getRegAllocPref() argument
119 std::pair<unsigned, unsigned> Hint = MRI->getRegAllocationHint(virtReg); in getRegAllocPref()
129 int VirtRegMap::assignVirt2StackSlot(unsigned virtReg) { in assignVirt2StackSlot() argument
130 assert(TargetRegisterInfo::isVirtualRegister(virtReg)); in assignVirt2StackSlot()
131 assert(Virt2StackSlotMap[virtReg] == NO_STACK_SLOT && in assignVirt2StackSlot()
133 const TargetRegisterClass* RC = MF->getRegInfo().getRegClass(virtReg); in assignVirt2StackSlot()
134 return Virt2StackSlotMap[virtReg] = createSpillSlot(RC); in assignVirt2StackSlot()
137 void VirtRegMap::assignVirt2StackSlot(unsigned virtReg, int SS) { in assignVirt2StackSlot() argument
138 assert(TargetRegisterInfo::isVirtualRegister(virtReg)); in assignVirt2StackSlot()
139 assert(Virt2StackSlotMap[virtReg] == NO_STACK_SLOT && in assignVirt2StackSlot()
[all …]
DLiveIntervalUnion.h154 LiveInterval &virtReg() const { in virtReg() function
/external/llvm/include/llvm/CodeGen/
DVirtRegMap.h92 bool hasPhys(unsigned virtReg) const { in hasPhys() argument
93 return getPhys(virtReg) != NO_PHYS_REG; in hasPhys()
98 unsigned getPhys(unsigned virtReg) const { in getPhys() argument
99 assert(TargetRegisterInfo::isVirtualRegister(virtReg)); in getPhys()
100 return Virt2PhysMap[virtReg]; in getPhys()
105 void assignVirt2Phys(unsigned virtReg, unsigned physReg) { in assignVirt2Phys() argument
106 assert(TargetRegisterInfo::isVirtualRegister(virtReg) && in assignVirt2Phys()
108 assert(Virt2PhysMap[virtReg] == NO_PHYS_REG && in assignVirt2Phys()
111 Virt2PhysMap[virtReg] = physReg; in assignVirt2Phys()
116 void clearVirt(unsigned virtReg) { in clearVirt() argument
[all …]
DLiveIntervalUnion.h155 LiveInterval &virtReg() const { in virtReg() function
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DVirtRegMap.h95 bool hasPhys(unsigned virtReg) const { in hasPhys() argument
96 return getPhys(virtReg) != NO_PHYS_REG; in hasPhys()
101 unsigned getPhys(unsigned virtReg) const { in getPhys() argument
102 assert(TargetRegisterInfo::isVirtualRegister(virtReg)); in getPhys()
103 return Virt2PhysMap[virtReg]; in getPhys()
108 void assignVirt2Phys(unsigned virtReg, MCPhysReg physReg);
112 void clearVirt(unsigned virtReg) { in clearVirt() argument
113 assert(TargetRegisterInfo::isVirtualRegister(virtReg)); in clearVirt()
114 assert(Virt2PhysMap[virtReg] != NO_PHYS_REG && in clearVirt()
116 Virt2PhysMap[virtReg] = NO_PHYS_REG; in clearVirt()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DVirtRegMap.cpp84 void VirtRegMap::assignVirt2Phys(unsigned virtReg, MCPhysReg physReg) { in assignVirt2Phys() argument
85 assert(TargetRegisterInfo::isVirtualRegister(virtReg) && in assignVirt2Phys()
87 assert(Virt2PhysMap[virtReg] == NO_PHYS_REG && in assignVirt2Phys()
92 Virt2PhysMap[virtReg] = physReg; in assignVirt2Phys()
121 int VirtRegMap::assignVirt2StackSlot(unsigned virtReg) { in assignVirt2StackSlot() argument
122 assert(TargetRegisterInfo::isVirtualRegister(virtReg)); in assignVirt2StackSlot()
123 assert(Virt2StackSlotMap[virtReg] == NO_STACK_SLOT && in assignVirt2StackSlot()
125 const TargetRegisterClass* RC = MF->getRegInfo().getRegClass(virtReg); in assignVirt2StackSlot()
126 return Virt2StackSlotMap[virtReg] = createSpillSlot(RC); in assignVirt2StackSlot()
129 void VirtRegMap::assignVirt2StackSlot(unsigned virtReg, int SS) { in assignVirt2StackSlot() argument
[all …]
/external/llvm/lib/CodeGen/
DVirtRegMap.cpp100 int VirtRegMap::assignVirt2StackSlot(unsigned virtReg) { in assignVirt2StackSlot() argument
101 assert(TargetRegisterInfo::isVirtualRegister(virtReg)); in assignVirt2StackSlot()
102 assert(Virt2StackSlotMap[virtReg] == NO_STACK_SLOT && in assignVirt2StackSlot()
104 const TargetRegisterClass* RC = MF->getRegInfo().getRegClass(virtReg); in assignVirt2StackSlot()
105 return Virt2StackSlotMap[virtReg] = createSpillSlot(RC); in assignVirt2StackSlot()
108 void VirtRegMap::assignVirt2StackSlot(unsigned virtReg, int SS) { in assignVirt2StackSlot() argument
109 assert(TargetRegisterInfo::isVirtualRegister(virtReg)); in assignVirt2StackSlot()
110 assert(Virt2StackSlotMap[virtReg] == NO_STACK_SLOT && in assignVirt2StackSlot()
115 Virt2StackSlotMap[virtReg] = SS; in assignVirt2StackSlot()