Home
last modified time | relevance | path

Searched refs:RdxKind (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DLoopUtils.h422 RecurKind RdxKind);
426 RecurKind RdxKind, Value *Mask,
437 RecurKind RdxKind, Value *Start,
442 LLVM_ABI Value *createOrderedReduction(IRBuilderBase &B, RecurKind RdxKind,
446 LLVM_ABI Value *createOrderedReduction(IRBuilderBase &B, RecurKind RdxKind,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUtils.cpp1118 unsigned Op, RecurKind RdxKind) { in getOrderedReduction() argument
1132 assert(RecurrenceDescriptor::isMinMaxRecurrenceKind(RdxKind) && in getOrderedReduction()
1134 Result = createMinMaxOp(Builder, RdxKind, Result, Ext); in getOrderedReduction()
1145 RecurKind RdxKind) { in getShuffleReduction() argument
1160 &RdxKind](SmallVectorImpl<int> &ShuffleMask, in getShuffleReduction()
1167 assert(RecurrenceDescriptor::isMinMaxRecurrenceKind(RdxKind) && in getShuffleReduction()
1169 TmpVec = createMinMaxOp(Builder, RdxKind, TmpVec, Shuf); in getShuffleReduction()
1231 RecurKind RdxKind, Value *Start, in createFindLastIVReduction() argument
1233 bool IsSigned = RecurrenceDescriptor::isSignedRecurrenceKind(RdxKind); in createFindLastIVReduction()
1234 bool IsMaxRdx = RecurrenceDescriptor::isFindLastIVRecurrenceKind(RdxKind); in createFindLastIVReduction()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlan.h2466 RecurKind RdxKind; variable
2472 VPReductionRecipe(const unsigned char SC, RecurKind RdxKind, in VPReductionRecipe() argument
2476 : VPRecipeWithIRFlags(SC, Operands, FMFs, DL), RdxKind(RdxKind), in VPReductionRecipe()
2486 VPReductionRecipe(RecurKind RdxKind, FastMathFlags FMFs, Instruction *I,
2489 : VPReductionRecipe(VPDef::VPReductionSC, RdxKind, FMFs, I,
2493 VPReductionRecipe(const RecurKind RdxKind, FastMathFlags FMFs,
2496 : VPReductionRecipe(VPDef::VPReductionSC, RdxKind, FMFs, nullptr,
2503 return new VPReductionRecipe(RdxKind, getFastMathFlags(), in clone()
2532 RecurKind getRecurrenceKind() const { return RdxKind; } in getRecurrenceKind()
H A DSLPVectorizer.cpp2058 bool isLoadCombineReductionCandidate(RecurKind RdxKind) const;
13989 bool BoUpSLP::isLoadCombineReductionCandidate(RecurKind RdxKind) const { in isLoadCombineReductionCandidate()
13990 if (RdxKind != RecurKind::Or) in isLoadCombineReductionCandidate()
21755 RecurKind RdxKind; member in __anon07b2d7741c111::HorizontalReduction
21875 static Value *createOp(IRBuilderBase &Builder, RecurKind RdxKind, Value *LHS, in createOp() argument
21885 Value *Op = createOp(Builder, RdxKind, LHS, RHS, Name, UseSelect); in createOp()
21886 if (RecurrenceDescriptor::isIntMinMaxRecurrenceKind(RdxKind)) { in createOp()
22066 RdxKind = HorizontalReduction::getRdxKind(I); in HorizontalReduction()
22077 if (!isVectorizable(RdxKind, cast<Instruction>(ReductionRoot), in matchReductionForOperands()
22090 RdxKind = HorizontalReduction::getRdxKind(Root); in matchAssociativeReduction()
[all …]
H A DVPlanRecipes.cpp2571 RecurKind RdxKind = getRecurrenceKind(); in computeCost() local
2574 unsigned Opcode = RecurrenceDescriptor::getOpcode(RdxKind); in computeCost()
2581 (!RecurrenceDescriptor::isAnyOfRecurrenceKind(RdxKind) || in computeCost()
2587 if (RecurrenceDescriptor::isMinMaxRecurrenceKind(RdxKind)) { in computeCost()
2588 Intrinsic::ID Id = getMinMaxReductionIntrinsicOp(RdxKind); in computeCost()