Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DIVDescriptors.cpp871 unsigned RedOp = getOpcode(Kind); in getReductionOpChain() local
889 if (RedOp == Instruction::ICmp || RedOp == Instruction::FCmp) in getReductionOpChain()
893 if (RedOp == Instruction::ICmp || RedOp == Instruction::FCmp) { in getReductionOpChain()
904 if (RedOp == Instruction::ICmp || RedOp == Instruction::FCmp) { in getReductionOpChain()
909 return Cur->getOpcode() == RedOp; in getReductionOpChain()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp7150 Instruction *RedOp = RetI->getOperand(1) == LastChain in getReductionPatternCost() local
7156 if (RedOp && (isa<SExtInst>(RedOp) || isa<ZExtInst>(RedOp)) && in getReductionPatternCost()
7157 !TheLoop->isLoopInvariant(RedOp)) { in getReductionPatternCost()
7158 bool IsUnsigned = isa<ZExtInst>(RedOp); in getReductionPatternCost()
7159 auto *ExtType = VectorType::get(RedOp->getOperand(0)->getType(), VectorTy); in getReductionPatternCost()
7165 TTI.getCastInstrCost(RedOp->getOpcode(), VectorTy, ExtType, in getReductionPatternCost()
7166 TTI::CastContextHint::None, CostKind, RedOp); in getReductionPatternCost()
7169 } else if (RedOp && RedOp->getOpcode() == Instruction::Mul) { in getReductionPatternCost()
7170 Instruction *Mul = RedOp; in getReductionPatternCost()