Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DRegAllocPBQP.cpp198 const auto *NRegs = &G.getNodeMetadata(NId).getAllowedRegs(); in haveDisjointAllowedRegs() local
201 if (NRegs == MRegs) in haveDisjointAllowedRegs()
204 if (NRegs < MRegs) in haveDisjointAllowedRegs()
205 return D.count(IKey(NRegs, MRegs)) > 0; in haveDisjointAllowedRegs()
207 return D.count(IKey(MRegs, NRegs)) > 0; in haveDisjointAllowedRegs()
213 const auto *NRegs = &G.getNodeMetadata(NId).getAllowedRegs(); in setDisjointAllowedRegs() local
216 assert(NRegs != MRegs && "AllowedRegs can not be disjoint with itself"); in setDisjointAllowedRegs()
218 if (NRegs < MRegs) in setDisjointAllowedRegs()
219 D.insert(IKey(NRegs, MRegs)); in setDisjointAllowedRegs()
221 D.insert(IKey(MRegs, NRegs)); in setDisjointAllowedRegs()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DRegAllocPBQP.cpp227 const auto *NRegs = &G.getNodeMetadata(NId).getAllowedRegs(); in haveDisjointAllowedRegs() local
230 if (NRegs == MRegs) in haveDisjointAllowedRegs()
233 if (NRegs < MRegs) in haveDisjointAllowedRegs()
234 return D.count(IKey(NRegs, MRegs)) > 0; in haveDisjointAllowedRegs()
236 return D.count(IKey(MRegs, NRegs)) > 0; in haveDisjointAllowedRegs()
242 const auto *NRegs = &G.getNodeMetadata(NId).getAllowedRegs(); in setDisjointAllowedRegs() local
245 assert(NRegs != MRegs && "AllowedRegs can not be disjoint with itself"); in setDisjointAllowedRegs()
247 if (NRegs < MRegs) in setDisjointAllowedRegs()
248 D.insert(IKey(NRegs, MRegs)); in setDisjointAllowedRegs()
250 D.insert(IKey(MRegs, NRegs)); in setDisjointAllowedRegs()
[all …]