Searched refs:TotalFoldedCost (Results 1 – 1 of 1) sorted by relevance
304 int TotalMatCost = TTI.TCC_Free, TotalFoldedCost = TTI.TCC_Free; in isSafeAndProfitableToSpeculateAroundPHI() local311 TotalFoldedCost += FoldedCost * Count; in isSafeAndProfitableToSpeculateAroundPHI()313 assert(TotalFoldedCost <= TotalMatCost && "If each constant's folded cost is " in isSafeAndProfitableToSpeculateAroundPHI()317 LLVM_DEBUG(dbgs() << " Cost savings " << (TotalMatCost - TotalFoldedCost) in isSafeAndProfitableToSpeculateAroundPHI()319 CostSavingsMap[&PN] = TotalMatCost - TotalFoldedCost; in isSafeAndProfitableToSpeculateAroundPHI()