Lines Matching refs:RedOp
6537 Instruction *RedOp = RetI->getOperand(1) == LastChain in getReductionPatternCost() local
6544 if (RedOp && in getReductionPatternCost()
6545 match(RedOp, in getReductionPatternCost()
6551 (Op0->getOpcode() == RedOp->getOpcode() || Op0 == Op1)) { in getReductionPatternCost()
6567 TTI.getCastInstrCost(RedOp->getOpcode(), VectorTy, MulType, in getReductionPatternCost()
6568 TTI::CastContextHint::None, CostKind, RedOp); in getReductionPatternCost()
6577 } else if (RedOp && match(RedOp, m_ZExtOrSExt(m_Value())) && in getReductionPatternCost()
6578 !TheLoop->isLoopInvariant(RedOp)) { in getReductionPatternCost()
6580 bool IsUnsigned = isa<ZExtInst>(RedOp); in getReductionPatternCost()
6581 auto *ExtType = VectorType::get(RedOp->getOperand(0)->getType(), VectorTy); in getReductionPatternCost()
6587 TTI.getCastInstrCost(RedOp->getOpcode(), VectorTy, ExtType, in getReductionPatternCost()
6588 TTI::CastContextHint::None, CostKind, RedOp); in getReductionPatternCost()
6591 } else if (RedOp && in getReductionPatternCost()
6592 match(RedOp, m_Mul(m_Instruction(Op0), m_Instruction(Op1)))) { in getReductionPatternCost()