Lines Matching refs:Cost
464 unsigned Cost = 0;
471 ++Cost;
478 Cost += I->Dirty ? spillDirty : spillClean;
483 return Cost;
526 unsigned Cost = calcSpillCost(Hint);
527 if (Cost < spillDirty) {
528 if (Cost)
552 unsigned Cost = calcSpillCost(*I);
554 DEBUG(dbgs() << "\tCost: " << Cost << "\n");
556 // Cost is 0 when all aliases are already disabled.
557 if (Cost == 0) {
561 if (Cost < BestCost)
562 BestReg = *I, BestCost = Cost;