Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DRegAllocPBQP.cpp191 const auto *MRegs = &G.getNodeMetadata(MId).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()
206 const auto *MRegs = &G.getNodeMetadata(MId).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()
[all …]