Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanVerifier.cpp31 static bool hasDuplicates(const SmallVectorImpl<VPBlockBase *> &VPBlockVec) { in hasDuplicates()
32 SmallDenseSet<const VPBlockBase *, 8> VPBlockSet; in hasDuplicates()
46 for (const VPBlockBase *VPB : in verifyBlocksInRegion()
47 make_range(df_iterator<const VPBlockBase *>::begin(Region->getEntry()), in verifyBlocksInRegion()
48 df_iterator<const VPBlockBase *>::end(Region->getExit()))) { in verifyBlocksInRegion()
65 for (const VPBlockBase *Succ : Successors) { in verifyBlocksInRegion()
80 for (const VPBlockBase *Pred : Predecessors) { in verifyBlocksInRegion()
96 const VPBlockBase *Entry = Region->getEntry(); in verifyRegion()
97 const VPBlockBase *Exit = Region->getExit(); in verifyRegion()
114 for (const VPBlockBase *VPB : in verifyRegionRec()
[all …]
H A DVPlan.h388 class VPBlockBase {
585 void setTwoSuccessors(VPBlockBase *IfTrue, VPBlockBase *IfFalse, in setTwoSuccessors()
1716 VPBlockBase *Entry;
1719 VPBlockBase *Exit;
1726 VPRegionBlock(VPBlockBase *Entry, VPBlockBase *Exit,
2067 VPBlockBase *Entry;
2125 VPBlockBase *setEntry(VPBlockBase *Block) {
2252 void drawEdge(const VPBlockBase *From, const VPBlockBase *To, bool Hidden,
2329 static void connectBlocks(VPBlockBase *From, VPBlockBase *To) {
2340 static void disconnectBlocks(VPBlockBase *From, VPBlockBase *To) {
[all …]
H A DVPlanLoopInfo.h23 class VPBlockBase; variable
27 class VPLoop : public LoopBase<VPBlockBase, VPLoop> {
29 friend class LoopInfoBase<VPBlockBase, VPLoop>;
30 explicit VPLoop(VPBlockBase *VPB) : LoopBase<VPBlockBase, VPLoop>(VPB) {} in VPLoop()
40 typedef LoopInfoBase<VPBlockBase, VPLoop> VPLoopInfo;
H A DVPlanPredicator.cpp117 VPlanPredicator::getEdgeTypeBetween(VPBlockBase *FromBlock, in getEdgeTypeBetween()
118 VPBlockBase *ToBlock) { in getEdgeTypeBetween()
120 for (VPBlockBase *SuccBlock : FromBlock->getSuccessors()) { in getEdgeTypeBetween()
133 void VPlanPredicator::createOrPropagatePredicates(VPBlockBase *CurrBlock, in createOrPropagatePredicates()
154 for (VPBlockBase *PredBlock : CurrBlock->getPredecessors()) { in createOrPropagatePredicates()
189 ReversePostOrderTraversal<VPBlockBase *> RPOT(EntryBlock); in predicateRegionRec()
194 for (VPBlockBase *Block : RPOT) { in predicateRegionRec()
208 ReversePostOrderTraversal<VPBlockBase *> RPOT(Region->getEntry()); in linearizeRegionRec()
209 VPBlockBase *PrevBlock = nullptr; in linearizeRegionRec()
211 for (VPBlockBase *CurrBlock : RPOT) { in linearizeRegionRec()
H A DVPlan.cpp141 const VPBlockBase *Block = this; in getEntryBasicBlock()
148 VPBlockBase *Block = this; in getEntryBasicBlock()
162 const VPBlockBase *Block = this; in getExitBasicBlock()
169 VPBlockBase *Block = this; in getExitBasicBlock()
175 VPBlockBase *VPBlockBase::getEnclosingBlockWithSuccessors() { in getEnclosingBlockWithSuccessors()
183 VPBlockBase *VPBlockBase::getEnclosingBlockWithPredecessors() { in getEnclosingBlockWithPredecessors()
213 void VPBlockBase::deleteCFG(VPBlockBase *Entry) { in deleteCFG()
216 for (VPBlockBase *Block : Blocks) in deleteCFG()
380 for (VPBlockBase *Succ : Succs) in splitAt()
388 for (VPBlockBase *Succ : Succs) in splitAt()
[all …]
H A DVPlanPredicator.h46 EdgeType getEdgeTypeBetween(VPBlockBase *FromBlock, VPBlockBase *ToBlock);
58 void createOrPropagatePredicates(VPBlockBase *CurrBlock,
H A DVPlanDominatorTree.h26 using VPDominatorTree = DomTreeBase<VPBlockBase>;
28 using VPDomTreeNode = DomTreeNodeBase<VPBlockBase>;
H A DVPlanTransforms.cpp25 ReversePostOrderTraversal<VPBlockBase *> RPOT(TopRegion->getEntry()); in VPInstructionsToVPRecipes()
27 for (VPBlockBase *Base : RPOT) { in VPInstructionsToVPRecipes()
105 VPBlockRecursiveTraversalWrapper<VPBlockBase *>(Plan.getEntry())); in sinkScalarOperands()
191 VPBlockRecursiveTraversalWrapper<VPBlockBase *>(Plan.getEntry())))); in mergeReplicateRegions()
255 for (VPBlockBase *Pred : make_early_inc_range(Region1->getPredecessors())) { in mergeReplicateRegions()
H A DVPlanHCFGBuilder.cpp84 SmallVector<VPBlockBase *, 8> VPBBPreds; in setVPBBPredsFromBB()
266 VPBlockBase *HeaderVPBB = getOrCreateVPBB(TheLoop->getHeader()); in buildPlainCFG()
H A DLoopVectorize.cpp8994 VPBlockBase *Region = createReplicateRegion(I, Recipe, Plan); in handleReplication()
9295 VPBlockBase *Entry = Plan->setEntry(PreEntry->getSingleSuccessor()); in buildVPlanWithVPRecipes()