Searched refs:physReg (Results 1 – 9 of 9) sorted by relevance
313 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 …]
120 unsigned physReg = Hint.second; in getRegAllocPref() local121 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()
71 void InterferenceCache::Entry::reset(unsigned physReg, in reset() argument78 PhysReg = physReg; in reset()
184 void assignVirt2Phys(unsigned virtReg, unsigned physReg) { in assignVirt2Phys() argument186 TargetRegisterInfo::isPhysicalRegister(physReg)); in assignVirt2Phys()190 Virt2PhysMap[virtReg] = physReg; in assignVirt2Phys()
583 unsigned physReg = vrm->getRegAllocPref(li->reg); in finalizeAlloc() local585 if (physReg == 0) { in finalizeAlloc()587 physReg = liRC->getRawAllocationOrder(*mf).front(); in finalizeAlloc()590 vrm->assignVirt2Phys(li->reg, physReg); in finalizeAlloc()
95 void reset(unsigned physReg,
105 void assignVirt2Phys(unsigned virtReg, unsigned physReg) { in assignVirt2Phys() argument107 TargetRegisterInfo::isPhysicalRegister(physReg)); in assignVirt2Phys()111 Virt2PhysMap[virtReg] = physReg; in assignVirt2Phys()
93 void InterferenceCache::Entry::reset(unsigned physReg, in reset() argument100 PhysReg = physReg; in reset()
119 void reset(unsigned physReg,