Home
last modified time | relevance | path

Searched refs:VPReplicateRecipe (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanAnalysis.h26 class VPReplicateRecipe; variable
54 Type *inferScalarTypeForRecipe(const VPReplicateRecipe *R);
H A DVPlanTransforms.cpp135 if (auto *RepR = dyn_cast<VPReplicateRecipe>(SinkCandidate)) { in sinkScalarOperands()
155 return NeedsDuplicating && isa<VPReplicateRecipe>(SinkCandidate); in sinkScalarOperands()
164 auto *Clone = new VPReplicateRecipe(I, SinkCandidate->operands(), true); in sinkScalarOperands()
303 static VPRegionBlock *createReplicateRegion(VPReplicateRecipe *PredRecipe, in createReplicateRegion()
315 auto *RecipeWithoutMask = new VPReplicateRecipe( in createReplicateRegion()
340 SmallVector<VPReplicateRecipe *> WorkList; in addReplicateRegions()
344 if (auto *RepR = dyn_cast<VPReplicateRecipe>(&R)) { in addReplicateRegions()
351 for (VPReplicateRecipe *RepR : WorkList) { in addReplicateRegions()
493 auto *RepR = dyn_cast<VPReplicateRecipe>(&R); in isDeadRecipe()
1013 if (isa<VPReplicateRecipe>(&R)) in simplifyRecipe()
[all …]
H A DVPlanAnalysis.cpp154 Type *VPTypeAnalysis::inferScalarTypeForRecipe(const VPReplicateRecipe *R) { in inferScalarTypeForRecipe()
264 .Case<VPBlendRecipe, VPInstruction, VPWidenRecipe, VPReplicateRecipe, in inferScalarType()
294 auto *RepR = dyn_cast<VPReplicateRecipe>(&R); in collectEphemeralRecipesForVPlan()
H A DVPRecipeBuilder.h157 VPReplicateRecipe *handleReplication(Instruction *I, VFRange &Range);
H A DVPlanPatternMatch.h157 UnaryRecipe_match<Op0_t, Opcode, VPWidenRecipe, VPReplicateRecipe,
198 VPReplicateRecipe, VPWidenCastRecipe, VPInstruction>;
H A DVPlan.h65 class VPReplicateRecipe; variable
2288 class VPReplicateRecipe : public VPRecipeWithIRFlags {
2297 VPReplicateRecipe(Instruction *I, iterator_range<IterT> Operands,
2305 ~VPReplicateRecipe() override = default;
2307 VPReplicateRecipe *clone() override { in clone()
2309 new VPReplicateRecipe(getUnderlyingInstr(), operands(), IsUniform, in clone()
3815 if (auto Rep = dyn_cast<VPReplicateRecipe>(Def)) in isUniformAfterVectorization()
H A DVPlanRecipes.cpp187 auto *R = cast<VPReplicateRecipe>(this); in mayHaveSideEffects()
308 if (UI && isa<VPReplicateRecipe>(this)) { in computeCost()
1837 bool VPReplicateRecipe::shouldPack() const { in shouldPack()
1850 void VPReplicateRecipe::print(raw_ostream &O, const Twine &Indent, in print()
1963 assert(isa<VPReplicateRecipe>(getOperand(0)) && in execute()
H A DLoopVectorize.cpp521 VPReplicateRecipe *RepRecipe,
2351 VPReplicateRecipe *RepRecipe, in scalarizeInstruction()
8186 VPReplicateRecipe *VPRecipeBuilder::handleReplication(Instruction *I, in handleReplication()
8243 auto *Recipe = new VPReplicateRecipe(I, mapToVPValues(I->operands()), in handleReplication()
8857 assert(((MinVF.isScalar() && isa<VPReplicateRecipe>(CurrentLink)) || in adjustRecipesForReductions()
8952 (isa<VPReplicateRecipe>(U) && in adjustRecipesForReductions()
8953 cast<VPReplicateRecipe>(U)->getUnderlyingInstr()->getOpcode() == in adjustRecipesForReductions()
9137 void VPReplicateRecipe::execute(VPTransformState &State) { in execute()