Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DRegAllocPBQP.cpp191 const auto *NRegs = &G.getNodeMetadata(NId).getAllowedRegs(); in haveDisjointAllowedRegs() local
194 if (NRegs == MRegs) in haveDisjointAllowedRegs()
197 if (NRegs < MRegs) in haveDisjointAllowedRegs()
198 return D.count(IKey(NRegs, MRegs)) > 0; in haveDisjointAllowedRegs()
200 return D.count(IKey(MRegs, NRegs)) > 0; in haveDisjointAllowedRegs()
206 const auto *NRegs = &G.getNodeMetadata(NId).getAllowedRegs(); in setDisjointAllowedRegs() local
209 assert(NRegs != MRegs && "AllowedRegs can not be disjoint with itself"); in setDisjointAllowedRegs()
211 if (NRegs < MRegs) in setDisjointAllowedRegs()
212 D.insert(IKey(NRegs, MRegs)); in setDisjointAllowedRegs()
214 D.insert(IKey(MRegs, NRegs)); in setDisjointAllowedRegs()
[all …]