Searched refs:TotalMatCost (Results 1 - 1 of 1) sorted by relevance

/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DSpeculateAroundPHIs.cpp316 InstructionCost TotalMatCost = TTI.TCC_Free, TotalFoldedCost = TTI.TCC_Free; local
323 TotalMatCost += MatCost * Count;
326 assert(TotalMatCost.isValid() && "Constants must be materializable");
327 assert(TotalFoldedCost <= TotalMatCost && "If each constant's folded cost is "
330 LLVM_DEBUG(dbgs() << " Cost savings " << (TotalMatCost - TotalFoldedCost)
332 CostSavingsMap[&PN] = TotalMatCost - TotalFoldedCost;

Completed in 129 milliseconds