Lines Matching refs:BestCost
620 EvictionCost BestCost(~0u); in tryEvict() local
626 BestCost.BrokenHints = 0; in tryEvict()
627 BestCost.MaxWeight = VirtReg.weight; in tryEvict()
644 if (!canEvictInterference(VirtReg, PhysReg, false, BestCost)) in tryEvict()
1089 float BestCost; in tryRegionSplit() local
1097 BestCost = HUGE_VALF; in tryRegionSplit()
1101 BestCost = Hysteresis * calcSpillCost(); in tryRegionSplit()
1102 DEBUG(dbgs() << "Cost of isolating all blocks = " << BestCost << '\n'); in tryRegionSplit()
1135 if (Cost >= BestCost) { in tryRegionSplit()
1163 if (Cost < BestCost) { in tryRegionSplit()
1165 BestCost = Hysteresis * Cost; // Prevent rounding effects. in tryRegionSplit()