Lines Matching refs:MaxRefs
1465 std::vector<RegisterRef> MaxRefs; in buildPhis() local
1467 MaxRefs.push_back(MaxCoverIn(I, AllRefs)); in buildPhis()
1474 llvm::sort(MaxRefs); in buildPhis()
1476 auto NewEnd = std::unique(MaxRefs.begin(), MaxRefs.end()); in buildPhis()
1477 MaxRefs.erase(NewEnd, MaxRefs.end()); in buildPhis()
1479 auto Aliased = [this,&MaxRefs](RegisterRef RR, in buildPhis()
1482 if (PRI.alias(RR, MaxRefs[I])) in buildPhis()
1493 while (!MaxRefs.empty()) { in buildPhis()
1499 for (unsigned i = 1; i != MaxRefs.size(); ++i) in buildPhis()
1500 if (Aliased(MaxRefs[i], ClosureIdx)) in buildPhis()
1509 RegisterRef RR = MaxRefs[ClosureIdx[X]]; in buildPhis()
1517 RegisterRef RR = MaxRefs[ClosureIdx[X]]; in buildPhis()
1524 auto Begin = MaxRefs.begin(); in buildPhis()
1526 MaxRefs.erase(Begin + ClosureIdx[i-1]); in buildPhis()