Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandVectorPredication.cpp409 Value *RedOp = VPI.getOperand(VPI.getVectorParamPos()); in expandPredicationInReduction() local
416 RedOp = Builder.CreateSelect(Mask, RedOp, NeutralVector); in expandPredicationInReduction()
426 Reduction = Builder.CreateAddReduce(RedOp); in expandPredicationInReduction()
430 Reduction = Builder.CreateMulReduce(RedOp); in expandPredicationInReduction()
434 Reduction = Builder.CreateAndReduce(RedOp); in expandPredicationInReduction()
438 Reduction = Builder.CreateOrReduce(RedOp); in expandPredicationInReduction()
442 Reduction = Builder.CreateXorReduce(RedOp); in expandPredicationInReduction()
466 Reduction = Builder.CreateFPMaxReduce(RedOp); in expandPredicationInReduction()
472 Reduction = Builder.CreateFPMinReduce(RedOp); in expandPredicationInReduction()
478 Reduction = Builder.CreateFAddReduce(Start, RedOp); in expandPredicationInReduction()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DIVDescriptors.cpp1134 unsigned RedOp = getOpcode(Kind); in getReductionOpChain() local
1152 if (RedOp == Instruction::ICmp || RedOp == Instruction::FCmp) in getReductionOpChain()
1160 if (RedOp == Instruction::ICmp || RedOp == Instruction::FCmp) { in getReductionOpChain()
1172 if (RedOp == Instruction::ICmp || RedOp == Instruction::FCmp) { in getReductionOpChain()
1181 return Cur->getOpcode() == RedOp; in getReductionOpChain()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp6293 Instruction *RedOp = RetI->getOperand(1) == LastChain in getReductionPatternCost() local
6300 if (RedOp && RdxDesc.getOpcode() == Instruction::Add && in getReductionPatternCost()
6301 match(RedOp, in getReductionPatternCost()
6307 (Op0->getOpcode() == RedOp->getOpcode() || Op0 == Op1)) { in getReductionPatternCost()
6323 TTI.getCastInstrCost(RedOp->getOpcode(), VectorTy, MulType, in getReductionPatternCost()
6324 TTI::CastContextHint::None, CostKind, RedOp); in getReductionPatternCost()
6332 } else if (RedOp && match(RedOp, m_ZExtOrSExt(m_Value())) && in getReductionPatternCost()
6333 !TheLoop->isLoopInvariant(RedOp)) { in getReductionPatternCost()
6335 bool IsUnsigned = isa<ZExtInst>(RedOp); in getReductionPatternCost()
6342 TTI.getCastInstrCost(RedOp->getOpcode(), VectorTy, ExtType, in getReductionPatternCost()
[all …]
H A DSLPVectorizer.cpp14986 Instruction *RedOp = InstVals[I + 1].first; in tryToReduce() local
14987 Builder.SetCurrentDebugLocation(RedOp->getDebugLoc()); in tryToReduce()
15002 RedOp, InitStep); in tryToReduce()
15020 for (Instruction *RedOp : in tryToReduce()
15023 ExtraReductions.emplace_back(RedOp, RdxVal); in tryToReduce()