Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DRegAllocPBQP.cpp226 const auto *NRegs = &G.getNodeMetadata(NId).getAllowedRegs(); in haveDisjointAllowedRegs() local
229 if (NRegs == MRegs) in haveDisjointAllowedRegs()
232 if (NRegs < MRegs) in haveDisjointAllowedRegs()
233 return D.contains(IKey(NRegs, MRegs)); in haveDisjointAllowedRegs()
235 return D.contains(IKey(MRegs, NRegs)); in haveDisjointAllowedRegs()
241 const auto *NRegs = &G.getNodeMetadata(NId).getAllowedRegs(); in setDisjointAllowedRegs() local
244 assert(NRegs != MRegs && "AllowedRegs can not be disjoint with itself"); in setDisjointAllowedRegs()
246 if (NRegs < MRegs) in setDisjointAllowedRegs()
247 D.insert(IKey(NRegs, MRegs)); in setDisjointAllowedRegs()
249 D.insert(IKey(MRegs, NRegs)); in setDisjointAllowedRegs()
[all …]
H A DMachineSink.cpp274 bool registerPressureSetExceedsLimit(unsigned NRegs,
490 unsigned NRegs = !!RCA + !!RCB; in PerformSinkAndFold() local
497 if (registerPressureSetExceedsLimit(NRegs, RCA, MBB)) in PerformSinkAndFold()
1083 unsigned NRegs, const TargetRegisterClass *RC, in registerPressureSetExceedsLimit() argument
1085 unsigned Weight = NRegs * TRI->getRegClassWeight(RC).RegWeight; in registerPressureSetExceedsLimit()