Lines Matching defs:BestCost
373 BlockFrequency &BestCost,
863 EvictionCost BestCost;
864 BestCost.setMax();
871 BestCost.BrokenHints = 0;
872 BestCost.MaxWeight = VirtReg.weight;
904 if (!canEvictInterference(VirtReg, PhysReg, false, BestCost))
1348 BlockFrequency BestCost;
1355 BestCost = BlockFrequency::getMaxFrequency();
1359 BestCost = calcSpillCost();
1361 MBFI->printBlockFreq(dbgs(), BestCost) << '\n');
1365 calculateRegionSplitCost(VirtReg, Order, BestCost, NumCands,
1377 BlockFrequency &BestCost,
1417 if (Cost >= BestCost) {
1446 if (Cost < BestCost) {
1448 BestCost = Cost;
2260 BlockFrequency BestCost = CSRCost; // Don't modify CSRCost.
2261 unsigned BestCand = calculateRegionSplitCost(VirtReg, Order, BestCost,