Lines Matching refs:Cost
454 unsigned Cost = 0;
463 ++Cost;
470 Cost += I->Dirty ? spillDirty : spillClean;
475 return Cost;
518 unsigned Cost = calcSpillCost(Hint);
519 if (Cost < spillDirty) {
520 if (Cost)
544 unsigned Cost = calcSpillCost(*I);
546 DEBUG(dbgs() << "\tCost: " << Cost << "\n");
548 // Cost is 0 when all aliases are already disabled.
549 if (Cost == 0) {
553 if (Cost < BestCost)
554 BestReg = *I, BestCost = Cost;