Home
last modified time | relevance | path

Searched refs:Recipe (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanTransforms.cpp117 for (auto &Recipe : *VPBB) { in sinkScalarOperands()
118 for (VPValue *Op : Recipe.operands()) in sinkScalarOperands()
598 auto *Recipe = new VPInstruction(VPInstruction::PtrAdd, in legalizeAndOptimizeInductions() local
602 Recipe->insertAfter(Steps); in legalizeAndOptimizeInductions()
603 PtrIV->replaceAllUsesWith(Recipe); in legalizeAndOptimizeInductions()
1597 for (VPRecipeBase &Recipe : *VPBB) { in dropPoisonGeneratingRecipes()
1598 if (auto *WidenRec = dyn_cast<VPWidenMemoryRecipe>(&Recipe)) { in dropPoisonGeneratingRecipes()
1604 } else if (auto *InterleaveRec = dyn_cast<VPInterleaveRecipe>(&Recipe)) { in dropPoisonGeneratingRecipes()
H A DVPlan.h777 : VPDef(SC), VPUser(Operands, VPUser::VPUserID::Recipe), DL(DL) {} in VPDef()
782 : VPDef(SC), VPUser(Operands, VPUser::VPUserID::Recipe), DL(DL) {} in VPDef()
837 return U->getVPUserID() == VPUser::VPUserID::Recipe; in classof()
2983 VPBasicBlock(const Twine &Name = "", VPRecipeBase *Recipe = nullptr)
2985 if (Recipe)
2986 appendRecipe(Recipe);
3034 void insert(VPRecipeBase *Recipe, iterator InsertPt) { in insert() argument
3035 assert(Recipe && "No recipe to append."); in insert()
3036 assert(!Recipe->Parent && "Recipe already in VPlan"); in insert()
3037 Recipe->Parent = this; in insert()
[all …]
H A DVPlan.cpp544 for (VPRecipeBase &Recipe : Recipes) in executeRecipes()
545 Recipe.execute(*State); in executeRecipes()
647 for (const VPRecipeBase &Recipe : *this) { in print()
648 Recipe.print(O, RecipeIndent, SlotTracker); in print()
1567 for (const VPRecipeBase &Recipe : *VPBB) in assignNames()
1568 for (VPValue *Def : Recipe.definedValues()) in assignNames()
H A DVPlanValue.h206 Recipe, enumerator
H A DLoopVectorize.cpp8243 auto *Recipe = new VPReplicateRecipe(I, mapToVPValues(I->operands()), in handleReplication() local
8245 return Recipe; in handleReplication()
8254 VPRecipeBase *Recipe; in tryToCreateWidenRecipe() local
8259 if ((Recipe = tryToOptimizeInductionPHI(Phi, Operands, Range))) in tryToCreateWidenRecipe()
8260 return Recipe; in tryToCreateWidenRecipe()
8287 if (isa<TruncInst>(Instr) && (Recipe = tryToOptimizeInductionTruncate( in tryToCreateWidenRecipe()
8289 return Recipe; in tryToCreateWidenRecipe()
8573 VPRecipeBase *Recipe = in tryToBuildVPlanWithVPRecipes() local
8575 if (!Recipe) in tryToBuildVPlanWithVPRecipes()
8576 Recipe = RecipeBuilder.handleReplication(Instr, Range); in tryToBuildVPlanWithVPRecipes()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp3919 if (auto Recipe = shouldFoldCondBranchesToCommonDestination(BI, PBI, TTI)) in FoldBranchToCommonDest() local
3920 std::tie(CommonSucc, Opc, InvertPredCond) = *Recipe; in FoldBranchToCommonDest()