Lines Matching refs:RedCost
6570 InstructionCost RedCost = TTI.getExtendedAddReductionCost( in getReductionPatternCost() local
6574 if (RedCost.isValid() && in getReductionPatternCost()
6575 RedCost < ExtCost * 2 + MulCost + Ext2Cost + BaseCost) in getReductionPatternCost()
6576 return I == RetI ? RedCost : 0; in getReductionPatternCost()
6582 InstructionCost RedCost = TTI.getExtendedAddReductionCost( in getReductionPatternCost() local
6589 if (RedCost.isValid() && RedCost < BaseCost + ExtCost) in getReductionPatternCost()
6590 return I == RetI ? RedCost : 0; in getReductionPatternCost()
6616 InstructionCost RedCost = TTI.getExtendedAddReductionCost( in getReductionPatternCost() local
6628 if (RedCost.isValid() && in getReductionPatternCost()
6629 (RedCost + ExtraExtCost) < (ExtCost0 + ExtCost1 + MulCost + BaseCost)) in getReductionPatternCost()
6630 return I == RetI ? RedCost : 0; in getReductionPatternCost()
6636 InstructionCost RedCost = TTI.getExtendedAddReductionCost( in getReductionPatternCost() local
6640 if (RedCost.isValid() && RedCost < MulCost + BaseCost) in getReductionPatternCost()
6641 return I == RetI ? RedCost : 0; in getReductionPatternCost()
7070 if (auto RedCost = getReductionPatternCost(I, VF, VectorTy, CostKind)) in getInstructionCost() local
7071 return *RedCost; in getInstructionCost()
7219 if (auto RedCost = getReductionPatternCost(I, VF, VectorTy, CostKind)) in getInstructionCost() local
7220 return *RedCost; in getInstructionCost()
7247 if (auto RedCost = getReductionPatternCost(I, VF, VectorTy, CostKind)) in getInstructionCost() local
7248 return *RedCost; in getInstructionCost()