Searched refs:VPSingleDefRecipe (Results 1 – 10 of 10) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlan.h | 511 static inline bool classof(const VPSingleDefRecipe *R) { \ 518 class VPSingleDefRecipe : public VPRecipeBase, public VPValue { 520 VPSingleDefRecipe(const unsigned char SC, ArrayRef<VPValue *> Operands, 524 VPSingleDefRecipe(const unsigned char SC, ArrayRef<VPValue *> Operands, 579 virtual VPSingleDefRecipe *clone() override = 0; 862 struct VPRecipeWithIRFlags : public VPSingleDefRecipe, public VPIRFlags { 865 : VPSingleDefRecipe(SC, Operands, DL), VPIRFlags() {} in VPSingleDefRecipe() function 869 : VPSingleDefRecipe(SC, Operands, &I, I.getDebugLoc()), VPIRFlags(I) {} in VPRecipeWithIRFlags() 873 : VPSingleDefRecipe(SC, Operands, DL), VPIRFlags(Flags) {} in VPSingleDefRecipe() function 1873 class LLVM_ABI_FOR_TEST VPHeaderPHIRecipe : public VPSingleDefRecipe, [all …]
|
| H A D | VPRecipeBuilder.h | 118 VPSingleDefRecipe *tryToWidenCall(CallInst *CI, ArrayRef<VPValue *> Operands, 170 VPRecipeBase *tryToCreateWidenRecipe(VPSingleDefRecipe *R, VFRange &Range);
|
| H A D | VPlanAnalysis.cpp | 528 if (isa<VPSingleDefRecipe>(R) && in calculateRegisterUsageForPlan() 530 cast<VPSingleDefRecipe>(R)->getUnderlyingValue())) in calculateRegisterUsageForPlan() 554 all_of(cast<VPSingleDefRecipe>(R)->users(), in calculateRegisterUsageForPlan()
|
| H A D | VPlanUnroll.cpp | 103 void addUniformForAllParts(VPSingleDefRecipe *R) { in addUniformForAllParts() 370 addUniformForAllParts(cast<VPSingleDefRecipe>(&R)); in unrollBlock() 386 auto *SingleDef = dyn_cast<VPSingleDefRecipe>(&R); in unrollBlock()
|
| H A D | VPlanTransforms.cpp | 129 SetVector<std::pair<VPBasicBlock *, VPSingleDefRecipe *>> WorkList; in sinkScalarOperands() 140 dyn_cast_or_null<VPSingleDefRecipe>(Op->getDefiningRecipe())) in sinkScalarOperands() 149 VPSingleDefRecipe *SinkCandidate; in sinkScalarOperands() 183 VPSingleDefRecipe *Clone; in sinkScalarOperands() 204 dyn_cast_or_null<VPSingleDefRecipe>(Op->getDefiningRecipe())) in sinkScalarOperands() 478 VPSingleDefRecipe *FoundUserCast = nullptr; in removeRedundantInductionCasts() 480 auto *UserCast = dyn_cast<VPSingleDefRecipe>(U); in removeRedundantInductionCasts() 571 VPSingleDefRecipe *BaseIV = Builder.createDerivedIV( in createScalarIVSteps() 643 auto *Def = dyn_cast<VPSingleDefRecipe>(U); in legalizeAndOptimizeInductions() 992 auto *Def = dyn_cast<VPSingleDefRecipe>(&R); in simplifyRecipe() [all …]
|
| H A D | VPlanConstruction.cpp | 205 VPSingleDefRecipe *NewR; in createVPInstructionsForVPBB() 740 auto *RdxResult = find_singleton<VPSingleDefRecipe>( in handleMaxMinNumReductions() 741 RedPhiR->users(), [](VPUser *U, bool) -> VPSingleDefRecipe * { in handleMaxMinNumReductions()
|
| H A D | VPlanRecipes.cpp | 257 if (auto *S = dyn_cast<VPSingleDefRecipe>(this)) in cost() 411 void VPSingleDefRecipe::dump() const { VPDef::dump(); } in dump() 2600 ArrayRef<VPSingleDefRecipe *> ExpressionRecipes) in VPExpressionRecipe() 2601 : VPSingleDefRecipe(VPDef::VPExpressionSC, {}, {}), in VPExpressionRecipe() 2602 ExpressionRecipes(SetVector<VPSingleDefRecipe *>( 2609 [](VPSingleDefRecipe *R) { return R->mayHaveSideEffects(); }) && in __anon36a120040a02() 2620 for (VPSingleDefRecipe *R : ExpressionRecipes) { 2627 VPSingleDefRecipe *CopyForExtUsers = R->clone(); 2695 return any_of(ExpressionRecipes, [](VPSingleDefRecipe *R) { in mayReadOrWriteMemory() 2703 [](VPSingleDefRecipe *R) { return R->mayHaveSideEffects(); }) && in mayHaveSideEffects()
|
| H A D | LoopVectorize.cpp | 6908 if (auto *S = dyn_cast<VPSingleDefRecipe>(R)) in planContainsAdditionalSimplifications() 7667 VPSingleDefRecipe *VectorPtr; in tryToWidenMemory() 7774 VPSingleDefRecipe *VPRecipeBuilder::tryToWidenCall(CallInst *CI, in tryToWidenCall() 8189 VPRecipeBase *VPRecipeBuilder::tryToCreateWidenRecipe(VPSingleDefRecipe *R, in tryToCreateWidenRecipe() 8717 auto *SingleDef = cast<VPSingleDefRecipe>(&R); in tryToBuildVPlanWithVPRecipes() 8994 SetVector<VPSingleDefRecipe *> Worklist; in adjustRecipesForReductions() 8997 VPSingleDefRecipe *Cur = Worklist[I]; in adjustRecipesForReductions() 8999 auto *UserRecipe = cast<VPSingleDefRecipe>(U); in adjustRecipesForReductions() 9018 VPSingleDefRecipe *PreviousLink = PhiR; // Aka Worklist[0]. in adjustRecipesForReductions() 9019 for (VPSingleDefRecipe *CurrentLink : drop_begin(Worklist)) { in adjustRecipesForReductions()
|
| H A D | VPlanPatternMatch.h | 219 bool match(const VPSingleDefRecipe *R) const { in match()
|
| H A D | VPlan.cpp | 1061 auto *PhiR = cast<VPSingleDefRecipe>(&R); in execute()
|