Home
last modified time | relevance | path

Searched refs:MaxCostItr (Results 1 – 4 of 4) 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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DConstantHoisting.cpp491 ConstCandVecType::iterator &MaxCostItr) { in maximizeConstantsInRange() argument
497 if (ConstCand->CumulativeCost > MaxCostItr->CumulativeCost) in maximizeConstantsInRange()
498 MaxCostItr = ConstCand; in maximizeConstantsInRange()
536 MaxCostItr = ConstCand; in maximizeConstantsInRange()
537 LLVM_DEBUG(dbgs() << "New candidate: " << MaxCostItr->ConstInt->getValue() in maximizeConstantsInRange()
548 auto MaxCostItr = S; in findAndMakeBaseConstant() local
549 unsigned NumUses = maximizeConstantsInRange(S, E, MaxCostItr); in findAndMakeBaseConstant()
556 ConstInfo.BaseConstant = MaxCostItr->ConstInt; in findAndMakeBaseConstant()
/external/llvm/include/llvm/Transforms/Scalar/
DConstantHoisting.h139 ConstCandVecType::iterator &MaxCostItr);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Scalar/
DConstantHoisting.h156 ConstCandVecType::iterator &MaxCostItr);