Lines Matching refs:NRegs
191 const auto *NRegs = &G.getNodeMetadata(NId).getAllowedRegs(); in haveDisjointAllowedRegs() local
194 if (NRegs == MRegs) in haveDisjointAllowedRegs()
197 if (NRegs < MRegs) in haveDisjointAllowedRegs()
198 return D.count(IKey(NRegs, MRegs)) > 0; in haveDisjointAllowedRegs()
200 return D.count(IKey(MRegs, NRegs)) > 0; in haveDisjointAllowedRegs()
206 const auto *NRegs = &G.getNodeMetadata(NId).getAllowedRegs(); in setDisjointAllowedRegs() local
209 assert(NRegs != MRegs && "AllowedRegs can not be disjoint with itself"); in setDisjointAllowedRegs()
211 if (NRegs < MRegs) in setDisjointAllowedRegs()
212 D.insert(IKey(NRegs, MRegs)); in setDisjointAllowedRegs()
214 D.insert(IKey(MRegs, NRegs)); in setDisjointAllowedRegs()
368 const auto &NRegs = G.getNodeMetadata(NId).getAllowedRegs(); in createInterferenceEdge() local
372 IKey K(&NRegs, &MRegs); in createInterferenceEdge()
379 PBQPRAGraph::RawMatrix M(NRegs.size() + 1, MRegs.size() + 1, 0); in createInterferenceEdge()
381 for (unsigned I = 0; I != NRegs.size(); ++I) { in createInterferenceEdge()
382 unsigned PRegN = NRegs[I]; in createInterferenceEdge()