Lines Matching refs:BestCost
360 BlockFrequency &BestCost,
830 EvictionCost BestCost; in tryEvict() local
831 BestCost.setMax(); in tryEvict()
838 BestCost.BrokenHints = 0; in tryEvict()
839 BestCost.MaxWeight = VirtReg.weight; in tryEvict()
872 if (!canEvictInterference(VirtReg, PhysReg, false, BestCost)) in tryEvict()
1316 BlockFrequency BestCost; in tryRegionSplit() local
1323 BestCost = BlockFrequency::getMaxFrequency(); in tryRegionSplit()
1327 BestCost = calcSpillCost(); in tryRegionSplit()
1329 MBFI->printBlockFreq(dbgs(), BestCost) << '\n'); in tryRegionSplit()
1333 calculateRegionSplitCost(VirtReg, Order, BestCost, NumCands, in tryRegionSplit()
1345 BlockFrequency &BestCost, in calculateRegionSplitCost() argument
1386 if (Cost >= BestCost) { in calculateRegionSplitCost()
1415 if (Cost < BestCost) { in calculateRegionSplitCost()
1417 BestCost = Cost; in calculateRegionSplitCost()
2228 BlockFrequency BestCost = CSRCost; // Don't modify CSRCost. in tryAssignCSRFirstTime() local
2229 unsigned BestCand = calculateRegionSplitCost(VirtReg, Order, BestCost, in tryAssignCSRFirstTime()