Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DIVDescriptors.cpp897 unsigned RedOp = getOpcode(Kind); in getReductionOpChain() local
915 if (RedOp == Instruction::ICmp || RedOp == Instruction::FCmp) in getReductionOpChain()
919 if (RedOp == Instruction::ICmp || RedOp == Instruction::FCmp) { in getReductionOpChain()
930 if (RedOp == Instruction::ICmp || RedOp == Instruction::FCmp) { in getReductionOpChain()
935 return Cur->getOpcode() == RedOp; in getReductionOpChain()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp7221 Instruction *RedOp = RetI->getOperand(1) == LastChain in getReductionPatternCost() local
7228 if (RedOp && match(RedOp, m_ZExtOrSExt(m_Value())) && in getReductionPatternCost()
7229 !TheLoop->isLoopInvariant(RedOp)) { in getReductionPatternCost()
7231 bool IsUnsigned = isa<ZExtInst>(RedOp); in getReductionPatternCost()
7232 auto *ExtType = VectorType::get(RedOp->getOperand(0)->getType(), VectorTy); in getReductionPatternCost()
7238 TTI.getCastInstrCost(RedOp->getOpcode(), VectorTy, ExtType, in getReductionPatternCost()
7239 TTI::CastContextHint::None, CostKind, RedOp); in getReductionPatternCost()
7242 } else if (RedOp && in getReductionPatternCost()
7243 match(RedOp, m_Mul(m_Instruction(Op0), m_Instruction(Op1)))) { in getReductionPatternCost()