Searched refs:RedCost (Results 1 – 4 of 4) sorted by relevance
2605 if (auto RedCost = getReductionPatternCost(CI, VF, RetTy)) in getVectorCallCost() local2606 return *RedCost; in getVectorCallCost()5432 InstructionCost RedCost = TTI.getMulAccReductionCost( in getReductionPatternCost() local5435 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() local5450 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 …]
2880 InstructionCost RedCost = Red->computeCost(VF, Ctx); in tryToMatchAndCreateExtendedReduction() local2881 return ExtRedCost.isValid() && ExtRedCost < ExtCost + RedCost; in tryToMatchAndCreateExtendedReduction()2931 InstructionCost RedCost = Red->computeCost(VF, Ctx); in tryToMatchAndCreateMulAccumulateReduction() local2941 MulAccCost < ExtCost + MulCost + RedCost; in tryToMatchAndCreateMulAccumulateReduction()
23826 InstructionCost RedCost; in tryToVectorize() local23838 RedCost = TTI.getArithmeticReductionCost(Inst->getOpcode(), VecTy, FMF, in tryToVectorize()23845 if (RedCost >= ScalarCost) in tryToVectorize()
3181 InstructionCost RedCost = in getExtendedReductionCost() local3187 return RedCost + ExtCost; in getExtendedReductionCost()3197 InstructionCost RedCost = thisT()->getArithmeticReductionCost( in getMulAccReductionCost() local3206 return RedCost + MulCost + 2 * ExtCost; in getMulAccReductionCost()