Searched refs:RedOp (Results 1 – 2 of 2) sorted by relevance
897 unsigned RedOp = getOpcode(Kind); in getReductionOpChain() local915 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()
7221 Instruction *RedOp = RetI->getOperand(1) == LastChain in getReductionPatternCost() local7228 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()