Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/CodeGen/
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.count(IKey(NRegs, MRegs)) > 0; in haveDisjointAllowedRegs()
235 return D.count(IKey(MRegs, NRegs)) > 0; 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 …]
/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 …]
/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 …]