Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:BestCost

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