Lines Matching refs:Cost
92 cl::desc("Cost for first time use of callee-saved register."),
216 /// Cost of evicting interference.
595 unsigned Cost = TRI->getCostPerUse(PhysReg);
598 if (!Cost)
601 DEBUG(dbgs() << PrintReg(PhysReg, TRI) << " is available at cost " << Cost
603 unsigned CheapReg = tryEvict(VirtReg, Order, NewVRegs, Cost);
694 EvictionCost Cost;
726 Cost.BrokenHints += 10;
731 Cost.BrokenHints += BreaksHint;
732 Cost.MaxWeight = std::max(Cost.MaxWeight, Intf->weight);
734 if (!(Cost < MaxCost))
750 MaxCost = Cost;
872 /// SpillPlacement and return the static cost of this split in Cost, assuming
876 BlockFrequency &Cost) {
922 Cost = StaticCost;
1053 BlockFrequency Cost;
1054 if (!addSplitConstraints(Cand.Intf, Cost)) {
1079 BlockFrequency Cost = 0;
1085 Cost += SpillPlacer->getBlockFrequency(Number);
1089 Cost += SpillPlacer->getBlockFrequency(Number);
1091 return Cost;
1305 DEBUG(dbgs() << "Cost of isolating all blocks = ";
1356 BlockFrequency Cost;
1357 if (!addSplitConstraints(Cand.Intf, Cost)) {
1362 MBFI->printBlockFreq(dbgs(), Cost));
1363 if (Cost >= BestCost) {
1383 Cost += calcGlobalSplitCost(Cand);
1385 dbgs() << ", total = "; MBFI->printBlockFreq(dbgs(), Cost)
1392 if (Cost < BestCost) {
1394 BestCost = Cost;