Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DRegAllocPBQP.cpp199 const auto *MRegs = &G.getNodeMetadata(MId).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()
214 const auto *MRegs = &G.getNodeMetadata(MId).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.cpp228 const auto *MRegs = &G.getNodeMetadata(MId).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()
243 const auto *MRegs = &G.getNodeMetadata(MId).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 …]