Searched refs:NewCost (Results 1 – 2 of 2) sorted by relevance
/external/llvm/lib/Transforms/Scalar/ |
D | LoopStrengthReduce.cpp | 4307 Cost NewCost; in SolveRecurse() local 4335 NewCost = CurCost; in SolveRecurse() 4337 NewCost.RateFormula(TTI, F, NewRegs, VisitedRegs, L, LU.Offsets, SE, DT, in SolveRecurse() 4339 if (NewCost < SolutionCost) { in SolveRecurse() 4342 SolveRecurse(Solution, SolutionCost, Workspace, NewCost, in SolveRecurse() 4347 DEBUG(dbgs() << "New best at "; NewCost.print(dbgs()); in SolveRecurse() 4353 SolutionCost = NewCost; in SolveRecurse()
|
/external/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 2117 bool IsPromotionProfitable(unsigned NewCost, unsigned OldCost, 2583 unsigned NewCost, unsigned OldCost, Value *PromotedOperand) const { in IsPromotionProfitable() argument 2584 DEBUG(dbgs() << "OldCost: " << OldCost << "\tNewCost: " << NewCost << '\n'); in IsPromotionProfitable() 2588 if (NewCost > OldCost) in IsPromotionProfitable() 2590 if (NewCost < OldCost) in IsPromotionProfitable()
|