Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DRegAllocPBQP.cpp229 const auto *MRegs = &G.getNodeMetadata(MId).getAllowedRegs(); in haveDisjointAllowedRegs() local
231 if (NRegs == MRegs) in haveDisjointAllowedRegs()
234 if (NRegs < MRegs) in haveDisjointAllowedRegs()
235 return D.count(IKey(NRegs, MRegs)) > 0; in haveDisjointAllowedRegs()
237 return D.count(IKey(MRegs, NRegs)) > 0; in haveDisjointAllowedRegs()
244 const auto *MRegs = &G.getNodeMetadata(MId).getAllowedRegs(); in setDisjointAllowedRegs() local
246 assert(NRegs != MRegs && "AllowedRegs can not be disjoint with itself"); in setDisjointAllowedRegs()
248 if (NRegs < MRegs) in setDisjointAllowedRegs()
249 D.insert(IKey(NRegs, MRegs)); in setDisjointAllowedRegs()
251 D.insert(IKey(MRegs, NRegs)); in setDisjointAllowedRegs()
[all …]
/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 …]