Lines Matching refs:NRegs
198 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()
375 const auto &NRegs = G.getNodeMetadata(NId).getAllowedRegs(); in createInterferenceEdge() local
379 IKey K(&NRegs, &MRegs); in createInterferenceEdge()
386 PBQPRAGraph::RawMatrix M(NRegs.size() + 1, MRegs.size() + 1, 0); in createInterferenceEdge()
388 for (unsigned I = 0; I != NRegs.size(); ++I) { in createInterferenceEdge()
389 unsigned PRegN = NRegs[I]; in createInterferenceEdge()