Home
last modified time | relevance | path

Searched refs:RedCost (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp2605 if (auto RedCost = getReductionPatternCost(CI, VF, RetTy)) in getVectorCallCost() local
2606 return *RedCost; in getVectorCallCost()
5432 InstructionCost RedCost = TTI.getMulAccReductionCost( in getReductionPatternCost() local
5435 if (RedCost.isValid() && in getReductionPatternCost()
5436 RedCost < ExtCost * 2 + MulCost + Ext2Cost + BaseCost) in getReductionPatternCost()
5437 return I == RetI ? RedCost : 0; in getReductionPatternCost()
5443 InstructionCost RedCost = TTI.getExtendedReductionCost( in getReductionPatternCost() local
5450 if (RedCost.isValid() && RedCost < BaseCost + ExtCost) in getReductionPatternCost()
5451 return I == RetI ? RedCost : 0; in getReductionPatternCost()
5477 InstructionCost RedCost = TTI.getMulAccReductionCost( in getReductionPatternCost() local
[all …]
H A DVPlanTransforms.cpp2880 InstructionCost RedCost = Red->computeCost(VF, Ctx); in tryToMatchAndCreateExtendedReduction() local
2881 return ExtRedCost.isValid() && ExtRedCost < ExtCost + RedCost; in tryToMatchAndCreateExtendedReduction()
2931 InstructionCost RedCost = Red->computeCost(VF, Ctx); in tryToMatchAndCreateMulAccumulateReduction() local
2941 MulAccCost < ExtCost + MulCost + RedCost; in tryToMatchAndCreateMulAccumulateReduction()
H A DSLPVectorizer.cpp23826 InstructionCost RedCost; in tryToVectorize() local
23838 RedCost = TTI.getArithmeticReductionCost(Inst->getOpcode(), VecTy, FMF, in tryToVectorize()
23845 if (RedCost >= ScalarCost) in tryToVectorize()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h3181 InstructionCost RedCost = in getExtendedReductionCost() local
3187 return RedCost + ExtCost; in getExtendedReductionCost()
3197 InstructionCost RedCost = thisT()->getArithmeticReductionCost( in getMulAccReductionCost() local
3206 return RedCost + MulCost + 2 * ExtCost; in getMulAccReductionCost()