Home
last modified time | relevance | path

Searched refs:VPRecipeBase (Results 1 – 13 of 13) sorted by relevance

/external/llvm-project/llvm/lib/Transforms/Vectorize/
DVPlan.h624 class VPRecipeBase : public ilist_node_with_parent<VPRecipeBase, VPBasicBlock> {
656 VPRecipeBase(const unsigned char SC) : SubclassID(SC) {} in VPRecipeBase() function
657 virtual ~VPRecipeBase() = default;
681 void insertBefore(VPRecipeBase *InsertPos);
685 void insertAfter(VPRecipeBase *InsertPos);
689 void moveAfter(VPRecipeBase *MovePos);
698 iplist<VPRecipeBase>::iterator eraseFromParent();
723 inline bool VPUser::classof(const VPRecipeBase *Recipe) { in classof()
724 return Recipe->getVPRecipeID() == VPRecipeBase::VPInstructionSC || in classof()
725 Recipe->getVPRecipeID() == VPRecipeBase::VPWidenSC || in classof()
[all …]
DVPRecipeBuilder.h54 DenseMap<Instruction *, VPRecipeBase *> Ingredient2Recipe;
102 VPRecipeBase *tryToCreateWidenRecipe(Instruction *Instr, VFRange &Range,
107 void setRecipe(Instruction *I, VPRecipeBase *R) { in setRecipe()
133 VPRecipeBase *getRecipe(Instruction *I) { in getRecipe()
143 VPRegionBlock *createReplicateRegion(Instruction *I, VPRecipeBase *PredRecipe,
DVPlan.cpp87 void VPRecipeBase::dump() const { in dump()
93 VPUser *VPRecipeBase::toVPUser() { in toVPUser()
121 VPValue *VPRecipeBase::toVPValue() { in toVPValue()
141 const VPValue *VPRecipeBase::toVPValue() const { in toVPValue()
345 for (VPRecipeBase &Recipe : Recipes) in execute()
377 for (VPRecipeBase &R : Recipes) { in dropAllReferences()
443 void VPRecipeBase::insertBefore(VPRecipeBase *InsertPos) { in insertBefore()
451 void VPRecipeBase::insertAfter(VPRecipeBase *InsertPos) { in insertAfter()
459 void VPRecipeBase::removeFromParent() { in removeFromParent()
465 iplist<VPRecipeBase>::iterator VPRecipeBase::eraseFromParent() { in eraseFromParent()
[all …]
DVPlanTransforms.cpp47 VPRecipeBase *Ingredient = &*I++; in VPInstructionsToVPRecipes()
57 VPRecipeBase *NewRecipe = nullptr; in VPInstructionsToVPRecipes()
DVPlanValue.h37 class VPRecipeBase; variable
51 friend class VPRecipeBase; variable
237 static inline bool classof(const VPRecipeBase *Recipe);
DLoopVectorize.cpp8200 VPRecipeBase *PredRecipe, in createReplicateRegion()
8228 VPRecipeBase *VPRecipeBuilder::tryToCreateWidenRecipe(Instruction *Instr, in tryToCreateWidenRecipe()
8239 VPRecipeBase *Recipe; in tryToCreateWidenRecipe()
8438 VPRecipeBase *Sink = RecipeBuilder.getRecipe(Entry.first); in buildVPlanWithVPRecipes()
8439 VPRecipeBase *Target = RecipeBuilder.getRecipe(Entry.second); in buildVPlanWithVPRecipes()
8554 VPRecipeBase *WidenRecipe = RecipeBuilder.getRecipe(R); in adjustRecipesForInLoopReductions()
8586 VPRecipeBase *CompareRecipe = in adjustRecipesForInLoopReductions()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DVPlan.h578 class VPRecipeBase : public ilist_node_with_parent<VPRecipeBase, VPBasicBlock> {
607 VPRecipeBase(const unsigned char SC) : SubclassID(SC) {} in VPRecipeBase() function
608 virtual ~VPRecipeBase() = default;
628 void insertBefore(VPRecipeBase *InsertPos);
632 void insertAfter(VPRecipeBase *InsertPos);
636 void moveAfter(VPRecipeBase *MovePos);
645 iplist<VPRecipeBase>::iterator eraseFromParent();
652 class VPInstruction : public VPUser, public VPRecipeBase {
682 VPRecipeBase(VPRecipeBase::VPInstructionSC), Opcode(Opcode) {} in VPInstruction()
698 static inline bool classof(const VPRecipeBase *R) { in classof()
[all …]
DVPRecipeBuilder.h55 DenseMap<Instruction *, VPRecipeBase *> Ingredient2Recipe;
60 void setRecipe(Instruction *I, VPRecipeBase *R) { in setRecipe()
87 VPRecipeBase *getRecipe(Instruction *I) { in getRecipe()
123 VPRegionBlock *createReplicateRegion(Instruction *I, VPRecipeBase *PredRecipe,
DVPlanTransforms.cpp44 VPRecipeBase *LastRecipe = nullptr; in VPInstructionsToVPRecipes()
47 VPRecipeBase *Ingredient = &*I++; in VPInstructionsToVPRecipes()
56 VPRecipeBase *NewRecipe = nullptr; in VPInstructionsToVPRecipes()
DVPlan.cpp200 for (VPRecipeBase &Recipe : Recipes) in execute()
278 void VPRecipeBase::insertBefore(VPRecipeBase *InsertPos) { in insertBefore()
286 void VPRecipeBase::insertAfter(VPRecipeBase *InsertPos) { in insertAfter()
294 void VPRecipeBase::removeFromParent() { in removeFromParent()
300 iplist<VPRecipeBase>::iterator VPRecipeBase::eraseFromParent() { in eraseFromParent()
305 void VPRecipeBase::moveAfter(VPRecipeBase *InsertPos) { in moveAfter()
615 for (const VPRecipeBase &Recipe : *BasicBlock) in dumpBasicBlock()
773 for (VPRecipeBase &VPI : *VPBB) { in visitBlock()
DLoopVectorize.cpp7017 VPRecipeBase *PredRecipe, in createReplicateRegion()
7046 VPRecipeBase *Recipe = nullptr; in tryToCreateRecipe()
7246 VPRecipeBase *Sink = RecipeBuilder.getRecipe(Entry.first); in buildVPlanWithVPRecipes()
7247 VPRecipeBase *Target = RecipeBuilder.getRecipe(Entry.second); in buildVPlanWithVPRecipes()
/external/llvm-project/llvm/unittests/Transforms/Vectorize/
DVPlanTest.cpp365 VPRecipeBase *BaseR = &Recipe; in TEST()
383 VPRecipeBase *WidenRBase = &WidenR; in TEST()
402 VPRecipeBase *BaseR = &Recipe; in TEST()
425 VPRecipeBase *BaseR = &WidenSelectR; in TEST()
445 VPRecipeBase *BaseR = &Recipe; in TEST()
463 VPRecipeBase *BaseR = &Recipe; in TEST()
475 VPRecipeBase *BaseR = &Recipe; in TEST()
492 VPRecipeBase *BaseR = &Recipe; in TEST()
502 VPRecipeBase *BaseR = &Recipe; in TEST()
518 VPRecipeBase *BaseR = &Recipe; in TEST()
[all …]
/external/llvm-project/llvm/docs/Proposals/
DVectorizationPlan.rst140 :VPRecipeBase: