Home
last modified time | relevance | path

Searched refs:physReg (Results 1 – 13 of 13) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/CodeGen/
DRegAllocLinearScan.cpp313 void addRegUse(unsigned physReg) { in addRegUse()
314 assert(TargetRegisterInfo::isPhysicalRegister(physReg) && in addRegUse()
316 ++regUse_[physReg]; in addRegUse()
317 for (const unsigned* as = tri_->getAliasSet(physReg); *as; ++as) in addRegUse()
321 void delRegUse(unsigned physReg) { in delRegUse()
322 assert(TargetRegisterInfo::isPhysicalRegister(physReg) && in delRegUse()
324 assert(regUse_[physReg] != 0); in delRegUse()
325 --regUse_[physReg]; in delRegUse()
326 for (const unsigned* as = tri_->getAliasSet(physReg); *as; ++as) { in delRegUse()
332 bool isRegAvail(unsigned physReg) const { in isRegAvail()
[all …]
DVirtRegMap.cpp120 unsigned physReg = Hint.second; in getRegAllocPref() local
121 if (TargetRegisterInfo::isVirtualRegister(physReg) && hasPhys(physReg)) in getRegAllocPref()
122 physReg = getPhys(physReg); in getRegAllocPref()
124 return (TargetRegisterInfo::isPhysicalRegister(physReg)) in getRegAllocPref()
125 ? physReg : 0; in getRegAllocPref()
126 return TRI->ResolveRegAllocHint(Hint.first, physReg, *MF); in getRegAllocPref()
DInterferenceCache.cpp71 void InterferenceCache::Entry::reset(unsigned physReg, in reset() argument
78 PhysReg = physReg; in reset()
DVirtRegMap.h184 void assignVirt2Phys(unsigned virtReg, unsigned physReg) { in assignVirt2Phys() argument
186 TargetRegisterInfo::isPhysicalRegister(physReg)); in assignVirt2Phys()
190 Virt2PhysMap[virtReg] = physReg; in assignVirt2Phys()
DRegAllocPBQP.cpp583 unsigned physReg = vrm->getRegAllocPref(li->reg); in finalizeAlloc() local
585 if (physReg == 0) { in finalizeAlloc()
587 physReg = liRC->getRawAllocationOrder(*mf).front(); in finalizeAlloc()
590 vrm->assignVirt2Phys(li->reg, physReg); in finalizeAlloc()
DInterferenceCache.h95 void reset(unsigned physReg,
/external/llvm/include/llvm/CodeGen/
DVirtRegMap.h105 void assignVirt2Phys(unsigned virtReg, unsigned physReg) { in assignVirt2Phys() argument
107 TargetRegisterInfo::isPhysicalRegister(physReg)); in assignVirt2Phys()
111 Virt2PhysMap[virtReg] = physReg; in assignVirt2Phys()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DVirtRegMap.cpp84 void VirtRegMap::assignVirt2Phys(unsigned virtReg, MCPhysReg physReg) { in assignVirt2Phys() argument
86 TargetRegisterInfo::isPhysicalRegister(physReg)); in assignVirt2Phys()
90 assert(!getRegInfo().isReserved(physReg) && in assignVirt2Phys()
92 Virt2PhysMap[virtReg] = physReg; in assignVirt2Phys()
DInterferenceCache.cpp105 void InterferenceCache::Entry::reset(unsigned physReg, in reset() argument
112 PhysReg = physReg; in reset()
DInterferenceCache.h124 void reset(unsigned physReg,
/external/llvm/lib/CodeGen/
DInterferenceCache.cpp93 void InterferenceCache::Entry::reset(unsigned physReg, in reset() argument
100 PhysReg = physReg; in reset()
DInterferenceCache.h119 void reset(unsigned physReg,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DVirtRegMap.h108 void assignVirt2Phys(unsigned virtReg, MCPhysReg physReg);