Lines Matching refs:BestCand

1083   unsigned BestCand = calculateRegionSplitCost(VirtReg, Order, BestCost,  in tryRegionSplit()  local
1087 if (!HasCompact && BestCand == NoCand) in tryRegionSplit()
1090 return doRegionSplit(VirtReg, BestCand, HasCompact, NewVRegs); in tryRegionSplit()
1098 unsigned &BestCand) { in calculateRegionSplitCostAroundReg() argument
1105 if (CandIndex == BestCand || !GlobalCand[CandIndex].PhysReg) in calculateRegionSplitCostAroundReg()
1115 if (BestCand == NumCands) in calculateRegionSplitCostAroundReg()
1116 BestCand = Worst; in calculateRegionSplitCostAroundReg()
1128 return BestCand; in calculateRegionSplitCostAroundReg()
1134 if (BestCand == NoCand) in calculateRegionSplitCostAroundReg()
1138 << printReg(GlobalCand[BestCand].PhysReg, TRI) << '\n'; in calculateRegionSplitCostAroundReg()
1140 return BestCand; in calculateRegionSplitCostAroundReg()
1144 return BestCand; in calculateRegionSplitCostAroundReg()
1152 return BestCand; in calculateRegionSplitCostAroundReg()
1163 BestCand = NumCands; in calculateRegionSplitCostAroundReg()
1168 return BestCand; in calculateRegionSplitCostAroundReg()
1176 unsigned BestCand = NoCand; in calculateRegionSplitCost() local
1183 BestCand); in calculateRegionSplitCost()
1186 return BestCand; in calculateRegionSplitCost()
1189 unsigned RAGreedy::doRegionSplit(const LiveInterval &VirtReg, unsigned BestCand, in doRegionSplit() argument
1201 if (BestCand != NoCand) { in doRegionSplit()
1202 GlobalSplitCandidate &Cand = GlobalCand[BestCand]; in doRegionSplit()
1203 if (unsigned B = Cand.getBundles(BundleCand, BestCand)) { in doRegionSplit()
1204 UsedCands.push_back(BestCand); in doRegionSplit()
1276 unsigned BestCand = NoCand; in trySplitAroundHintReg() local
1278 calculateRegionSplitCostAroundReg(Hint, Order, Cost, NumCands, BestCand); in trySplitAroundHintReg()
1279 if (BestCand == NoCand) in trySplitAroundHintReg()
1282 doRegionSplit(VirtReg, BestCand, false/*HasCompact*/, NewVRegs); in trySplitAroundHintReg()
2195 unsigned BestCand = calculateRegionSplitCost(VirtReg, Order, BestCost, in tryAssignCSRFirstTime() local
2197 if (BestCand == NoCand) in tryAssignCSRFirstTime()
2202 doRegionSplit(VirtReg, BestCand, false/*HasCompact*/, NewVRegs); in tryAssignCSRFirstTime()