Lines Matching refs:BestCand
363 unsigned doRegionSplit(LiveInterval &VirtReg, unsigned BestCand,
1332 unsigned BestCand = in tryRegionSplit() local
1337 if (!HasCompact && BestCand == NoCand) in tryRegionSplit()
1340 return doRegionSplit(VirtReg, BestCand, HasCompact, NewVRegs); in tryRegionSplit()
1348 unsigned BestCand = NoCand; in calculateRegionSplitCost() local
1361 if (i == BestCand || !GlobalCand[i].PhysReg) in calculateRegionSplitCost()
1369 if (BestCand == NumCands) in calculateRegionSplitCost()
1370 BestCand = Worst; in calculateRegionSplitCost()
1388 if (BestCand == NoCand) in calculateRegionSplitCost()
1392 << PrintReg(GlobalCand[BestCand].PhysReg, TRI) << '\n'; in calculateRegionSplitCost()
1416 BestCand = NumCands; in calculateRegionSplitCost()
1421 return BestCand; in calculateRegionSplitCost()
1424 unsigned RAGreedy::doRegionSplit(LiveInterval &VirtReg, unsigned BestCand, in doRegionSplit() argument
1436 if (BestCand != NoCand) { in doRegionSplit()
1437 GlobalSplitCandidate &Cand = GlobalCand[BestCand]; in doRegionSplit()
1438 if (unsigned B = Cand.getBundles(BundleCand, BestCand)) { in doRegionSplit()
1439 UsedCands.push_back(BestCand); in doRegionSplit()
2229 unsigned BestCand = calculateRegionSplitCost(VirtReg, Order, BestCost, in tryAssignCSRFirstTime() local
2231 if (BestCand == NoCand) in tryAssignCSRFirstTime()
2236 doRegionSplit(VirtReg, BestCand, false/*HasCompact*/, NewVRegs); in tryAssignCSRFirstTime()