Home
last modified time | relevance | path

Searched refs:VPBlockBase (Results 1 – 11 of 11) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DVPlanVerifier.cpp32 SmallDenseSet<const VPBlockBase *, 8> VPBlockSet; in hasDuplicates()
46 for (const VPBlockBase *VPB : make_range( in verifyBlocksInRegion()
47 df_iterator<const VPBlockBase *>::begin(Region->getEntry()), in verifyBlocksInRegion()
68 for (const VPBlockBase *Succ : Successors) { in verifyBlocksInRegion()
83 for (const VPBlockBase *Pred : Predecessors) { in verifyBlocksInRegion()
99 const VPBlockBase *Entry = Region->getEntry(); in verifyRegion()
100 const VPBlockBase *Exiting = Region->getExiting(); in verifyRegion()
118 for (const VPBlockBase *VPB : make_range( in verifyRegionRec()
119 df_iterator<const VPBlockBase *>::begin(Region->getEntry()), in verifyRegionRec()
225 DenseMap<const VPBlockBase *, unsigned> BlockNumbering; in verifyPlanIsValid()
[all …]
H A DVPlan.h385 class VPBlockBase {
560 void setTwoSuccessors(VPBlockBase *IfTrue, VPBlockBase *IfFalse) { in setTwoSuccessors()
2145 VPBlockBase *Entry;
2149 VPBlockBase *Exiting;
2156 VPRegionBlock(VPBlockBase *Entry, VPBlockBase *Exiting,
2503 VPBlockBase *Entry;
2578 VPBlockBase *setEntry(VPBlockBase *Block) {
2780 void drawEdge(const VPBlockBase *From, const VPBlockBase *To, bool Hidden,
2859 static void connectBlocks(VPBlockBase *From, VPBlockBase *To) {
2870 static void disconnectBlocks(VPBlockBase *From, VPBlockBase *To) {
[all …]
H A DVPlan.cpp140 const VPBlockBase *Block = this; in getEntryBasicBlock()
147 VPBlockBase *Block = this; in getEntryBasicBlock()
161 const VPBlockBase *Block = this; in getExitingBasicBlock()
168 VPBlockBase *Block = this; in getExitingBasicBlock()
174 VPBlockBase *VPBlockBase::getEnclosingBlockWithSuccessors() { in getEnclosingBlockWithSuccessors()
182 VPBlockBase *VPBlockBase::getEnclosingBlockWithPredecessors() { in getEnclosingBlockWithPredecessors()
190 void VPBlockBase::deleteCFG(VPBlockBase *Entry) { in deleteCFG()
193 for (VPBlockBase *Block : Blocks) in deleteCFG()
398 for (VPBlockBase *Succ : Succs) in splitAt()
406 for (VPBlockBase *Succ : Succs) in splitAt()
[all …]
H A DVPlanDominatorTree.h26 using VPDominatorTree = DomTreeBase<VPBlockBase>;
28 using VPDomTreeNode = DomTreeNodeBase<VPBlockBase>;
H A DVPlanTransforms.cpp27 ReversePostOrderTraversal<VPBlockRecursiveTraversalWrapper<VPBlockBase *>> in VPInstructionsToVPRecipes()
106 VPBlockRecursiveTraversalWrapper<VPBlockBase *>(Plan.getEntry())); in sinkScalarOperands()
223 VPBlockRecursiveTraversalWrapper<VPBlockBase *>(Plan.getEntry())))); in mergeReplicateRegions()
286 for (VPBlockBase *Pred : make_early_inc_range(Region1->getPredecessors())) { in mergeReplicateRegions()
365 ReversePostOrderTraversal<VPBlockRecursiveTraversalWrapper<VPBlockBase *>> in removeDeadRecipes()
H A DVPlanHCFGBuilder.cpp85 SmallVector<VPBlockBase *, 8> VPBBPreds; in setVPBBPredsFromBB()
278 VPBlockBase *HeaderVPBB = getOrCreateVPBB(TheLoop->getHeader()); in buildPlainCFG()
H A DLoopVectorize.cpp1049 VPBlockRecursiveTraversalWrapper<VPBlockBase *>(State.Plan->getEntry())); in collectPoisonGeneratingRecipes()
4150 VPBlockRecursiveTraversalWrapper<VPBlockBase *>(Plan.getEntry())); in fixNonInductionPHIs()
8425 VPBlockBase *SingleSucc = VPBB->getSingleSuccessor(); in handleReplication()
8430 VPBlockBase *Region = createReplicateRegion(Recipe, Plan); in handleReplication()
/llvm-project-15.0.7/llvm/unittests/Transforms/Vectorize/
H A DVPlanSlpTest.cpp100 VPBlockBase *Entry = Plan->getEntry()->getEntryBasicBlock(); in TEST_F()
172 VPBlockBase *Entry = Plan->getEntry()->getEntryBasicBlock(); in TEST_F()
244 VPBlockBase *Entry = Plan->getEntry()->getEntryBasicBlock(); in TEST_F()
308 VPBlockBase *Entry = Plan->getEntry()->getEntryBasicBlock(); in TEST_F()
445 VPBlockBase *Entry = Plan->getEntry()->getEntryBasicBlock(); in TEST_F()
517 VPBlockBase *Entry = Plan->getEntry()->getEntryBasicBlock(); in TEST_F()
589 VPBlockBase *Entry = Plan->getEntry()->getEntryBasicBlock(); in TEST_F()
665 VPBlockBase *Entry = Plan->getEntry()->getEntryBasicBlock(); in TEST_F()
726 VPBlockBase *Entry = Plan->getEntry()->getEntryBasicBlock(); in TEST_F()
789 VPBlockBase *Entry = Plan->getEntry()->getEntryBasicBlock(); in TEST_F()
[all …]
H A DVPlanTest.cpp348 VPBlockRecursiveTraversalWrapper<const VPBlockBase *> Start(VPBB1); in TEST()
349 SmallVector<const VPBlockBase *> FromIterator(depth_first(Start)); in TEST()
397 VPBlockRecursiveTraversalWrapper<VPBlockBase *> Start(R1); in TEST()
398 SmallVector<const VPBlockBase *> FromIterator(df_begin(Start), in TEST()
495 VPBlockRecursiveTraversalWrapper<VPBlockBase *> Start(VPBB1); in TEST()
496 SmallVector<VPBlockBase *> FromIterator(depth_first(Start)); in TEST()
552 VPBlockRecursiveTraversalWrapper<VPBlockBase *> Start(VPBB1); in TEST()
553 SmallVector<VPBlockBase *> FromIterator(depth_first(Start)); in TEST()
612 VPBlockRecursiveTraversalWrapper<VPBlockBase *> Start(VPBB1); in TEST()
613 SmallVector<VPBlockBase *> FromIterator(depth_first(Start)); in TEST()
[all …]
H A DVPlanHCFGTest.cpp172 VPBlockBase *Entry = Plan->getEntry()->getEntryBasicBlock(); in TEST_F()
/llvm-project-15.0.7/llvm/docs/Proposals/
H A DVectorizationPlan.rst115 :VPBlockBase:
117 VPBasicBlock and VPRegionBlock, see below. VPBlockBase models the hierarchical
119 BasicBlock, a VPBlockBase models its control-flow successors and predecessors
121 branches that "use" the VPBlockBase.
124 VPBasicBlock is a subclass of VPBlockBase, and serves as the leaves of the
132 VPRegionBlock is a subclass of VPBlockBase. It models a collection of