Lines Matching refs:NRegs
190 const auto *NRegs = &G.getNodeMetadata(NId).getAllowedRegs(); in haveDisjointAllowedRegs() local
193 if (NRegs == MRegs) in haveDisjointAllowedRegs()
196 if (NRegs < MRegs) in haveDisjointAllowedRegs()
197 return D.count(IKey(NRegs, MRegs)) > 0; in haveDisjointAllowedRegs()
199 return D.count(IKey(MRegs, NRegs)) > 0; in haveDisjointAllowedRegs()
205 const auto *NRegs = &G.getNodeMetadata(NId).getAllowedRegs(); in setDisjointAllowedRegs() local
208 assert(NRegs != MRegs && "AllowedRegs can not be disjoint with itself"); in setDisjointAllowedRegs()
210 if (NRegs < MRegs) in setDisjointAllowedRegs()
211 D.insert(IKey(NRegs, MRegs)); in setDisjointAllowedRegs()
213 D.insert(IKey(MRegs, NRegs)); in setDisjointAllowedRegs()
367 const auto &NRegs = G.getNodeMetadata(NId).getAllowedRegs(); in createInterferenceEdge() local
371 IKey K(&NRegs, &MRegs); in createInterferenceEdge()
378 PBQPRAGraph::RawMatrix M(NRegs.size() + 1, MRegs.size() + 1, 0); in createInterferenceEdge()
380 for (unsigned I = 0; I != NRegs.size(); ++I) { in createInterferenceEdge()
381 unsigned PRegN = NRegs[I]; in createInterferenceEdge()