Lines Matching refs:BestCand
376 unsigned doRegionSplit(LiveInterval &VirtReg, unsigned BestCand,
1364 unsigned BestCand = in tryRegionSplit() local
1369 if (!HasCompact && BestCand == NoCand) in tryRegionSplit()
1372 return doRegionSplit(VirtReg, BestCand, HasCompact, NewVRegs); in tryRegionSplit()
1380 unsigned BestCand = NoCand; in calculateRegionSplitCost() local
1392 if (i == BestCand || !GlobalCand[i].PhysReg) in calculateRegionSplitCost()
1400 if (BestCand == NumCands) in calculateRegionSplitCost()
1401 BestCand = Worst; in calculateRegionSplitCost()
1419 if (BestCand == NoCand) in calculateRegionSplitCost()
1423 << PrintReg(GlobalCand[BestCand].PhysReg, TRI) << '\n'; in calculateRegionSplitCost()
1447 BestCand = NumCands; in calculateRegionSplitCost()
1452 return BestCand; in calculateRegionSplitCost()
1455 unsigned RAGreedy::doRegionSplit(LiveInterval &VirtReg, unsigned BestCand, in doRegionSplit() argument
1467 if (BestCand != NoCand) { in doRegionSplit()
1468 GlobalSplitCandidate &Cand = GlobalCand[BestCand]; in doRegionSplit()
1469 if (unsigned B = Cand.getBundles(BundleCand, BestCand)) { in doRegionSplit()
1470 UsedCands.push_back(BestCand); in doRegionSplit()
2261 unsigned BestCand = calculateRegionSplitCost(VirtReg, Order, BestCost, in tryAssignCSRFirstTime() local
2263 if (BestCand == NoCand) in tryAssignCSRFirstTime()
2268 doRegionSplit(VirtReg, BestCand, false/*HasCompact*/, NewVRegs); in tryAssignCSRFirstTime()