Home
last modified time | relevance | path

Searched refs:MaxCostItr (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DConstantHoisting.cpp333 ConstCandVecType::iterator &MaxCostItr) { in maximizeConstantsInRange() argument
339 if (ConstCand->CumulativeCost > MaxCostItr->CumulativeCost) in maximizeConstantsInRange()
340 MaxCostItr = ConstCand; in maximizeConstantsInRange()
377 MaxCostItr = ConstCand; in maximizeConstantsInRange()
378 DEBUG(dbgs() << "New candidate: " << MaxCostItr->ConstInt->getValue() in maximizeConstantsInRange()
389 auto MaxCostItr = S; in findAndMakeBaseConstant() local
390 unsigned NumUses = maximizeConstantsInRange(S, E, MaxCostItr); in findAndMakeBaseConstant()
397 ConstInfo.BaseConstant = MaxCostItr->ConstInt; in findAndMakeBaseConstant()
/external/llvm/include/llvm/Transforms/Scalar/
DConstantHoisting.h139 ConstCandVecType::iterator &MaxCostItr);