Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DRegAllocPBQP.cpp228 const auto *NRegs = &G.getNodeMetadata(NId).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()
243 const auto *NRegs = &G.getNodeMetadata(NId).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.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/lib/CodeGen/
DRegAllocBasic.cpp222 unsigned NRegs) { in init() argument
223 NumRegs = NRegs; in init()
225 static_cast<LiveIntervalUnion*>(malloc(sizeof(LiveIntervalUnion)*NRegs)); in init()
226 for (unsigned r = 0; r != NRegs; ++r) in init()
DRegAllocBase.h81 void init(LiveIntervalUnion::Allocator &, unsigned NRegs);