Lines Matching defs:RedCost
2850 if (auto RedCost = getReductionPatternCost(CI, VF, RetTy))
2851 return *RedCost;
5889 InstructionCost RedCost = TTI.getMulAccReductionCost(
5892 if (RedCost.isValid() &&
5893 RedCost < ExtCost * 2 + MulCost + Ext2Cost + BaseCost)
5894 return I == RetI ? RedCost : 0;
5900 InstructionCost RedCost = TTI.getExtendedReductionCost(
5907 if (RedCost.isValid() && RedCost < BaseCost + ExtCost)
5908 return I == RetI ? RedCost : 0;
5934 InstructionCost RedCost = TTI.getMulAccReductionCost(
5945 if (RedCost.isValid() &&
5946 (RedCost + ExtraExtCost) < (ExtCost0 + ExtCost1 + MulCost + BaseCost))
5947 return I == RetI ? RedCost : 0;
5953 InstructionCost RedCost = TTI.getMulAccReductionCost(
5956 if (RedCost.isValid() && RedCost < MulCost + BaseCost)
5957 return I == RetI ? RedCost : 0;
6266 if (auto RedCost = getReductionPatternCost(CI, VF, RetTy)) {
6269 std::nullopt, *RedCost);
6633 if (auto RedCost = getReductionPatternCost(I, VF, VectorTy))
6634 return *RedCost;
6798 if (auto RedCost = getReductionPatternCost(I, VF, VectorTy))
6799 return *RedCost;