Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp7233 InstructionCost RedCost = TTI.getExtendedAddReductionCost( in getReductionPatternCost() local
7240 if (RedCost.isValid() && RedCost < BaseCost + ExtCost) in getReductionPatternCost()
7241 return I == RetI ? RedCost : 0; in getReductionPatternCost()
7257 InstructionCost RedCost = TTI.getExtendedAddReductionCost( in getReductionPatternCost() local
7261 if (RedCost.isValid() && RedCost < ExtCost * 2 + MulCost + BaseCost) in getReductionPatternCost()
7262 return I == RetI ? RedCost : 0; in getReductionPatternCost()
7268 InstructionCost RedCost = TTI.getExtendedAddReductionCost( in getReductionPatternCost() local
7272 if (RedCost.isValid() && RedCost < MulCost + BaseCost) in getReductionPatternCost()
7273 return I == RetI ? RedCost : 0; in getReductionPatternCost()
7684 return *RedCost; in getInstructionCost()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h2175 InstructionCost RedCost = thisT()->getArithmeticReductionCost( in getExtendedAddReductionCost() local
2187 return RedCost + MulCost + ExtCost; in getExtendedAddReductionCost()