Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DVPlan.h324 class VPBlockBase {
338 SmallVector<VPBlockBase *, 1> Predecessors;
341 SmallVector<VPBlockBase *, 1> Successors;
347 void appendSuccessor(VPBlockBase *Successor) { in appendSuccessor()
353 void appendPredecessor(VPBlockBase *Predecessor) { in appendPredecessor()
359 void removePredecessor(VPBlockBase *Predecessor) { in removePredecessor()
366 void removeSuccessor(VPBlockBase *Successor) { in removeSuccessor()
373 VPBlockBase(const unsigned char SC, const std::string &N) in VPBlockBase() function
383 using VPBlocksTy = SmallVectorImpl<VPBlockBase *>;
385 virtual ~VPBlockBase() = default;
[all …]
DVPlanVerifier.cpp30 static bool hasDuplicates(const SmallVectorImpl<VPBlockBase *> &VPBlockVec) { in hasDuplicates()
31 SmallDenseSet<const VPBlockBase *, 8> VPBlockSet; in hasDuplicates()
45 for (const VPBlockBase *VPB : in verifyBlocksInRegion()
46 make_range(df_iterator<const VPBlockBase *>::begin(Region->getEntry()), in verifyBlocksInRegion()
47 df_iterator<const VPBlockBase *>::end(Region->getExit()))) { in verifyBlocksInRegion()
64 for (const VPBlockBase *Succ : Successors) { in verifyBlocksInRegion()
81 for (const VPBlockBase *Pred : Predecessors) { in verifyBlocksInRegion()
99 const VPBlockBase *Entry = Region->getEntry(); in verifyRegion()
100 const VPBlockBase *Exit = Region->getExit(); in verifyRegion()
117 for (const VPBlockBase *VPB : in verifyRegionRec()
[all …]
DVPlan.cpp59 const VPBasicBlock *VPBlockBase::getEntryBasicBlock() const { in getEntryBasicBlock()
60 const VPBlockBase *Block = this; in getEntryBasicBlock()
66 VPBasicBlock *VPBlockBase::getEntryBasicBlock() { in getEntryBasicBlock()
67 VPBlockBase *Block = this; in getEntryBasicBlock()
74 const VPBasicBlock *VPBlockBase::getExitBasicBlock() const { in getExitBasicBlock()
75 const VPBlockBase *Block = this; in getExitBasicBlock()
81 VPBasicBlock *VPBlockBase::getExitBasicBlock() { in getExitBasicBlock()
82 VPBlockBase *Block = this; in getExitBasicBlock()
88 VPBlockBase *VPBlockBase::getEnclosingBlockWithSuccessors() { in getEnclosingBlockWithSuccessors()
96 VPBlockBase *VPBlockBase::getEnclosingBlockWithPredecessors() { in getEnclosingBlockWithPredecessors()
[all …]
DVPlanLoopInfo.h24 class VPBlockBase; variable
28 class VPLoop : public LoopBase<VPBlockBase, VPLoop> {
30 friend class LoopInfoBase<VPBlockBase, VPLoop>;
31 explicit VPLoop(VPBlockBase *VPB) : LoopBase<VPBlockBase, VPLoop>(VPB) {} in VPLoop()
41 typedef LoopInfoBase<VPBlockBase, VPLoop> VPLoopInfo;
DVPlanDominatorTree.h27 using VPDominatorTree = DomTreeBase<VPBlockBase>;
29 using VPDomTreeNode = DomTreeNodeBase<VPBlockBase>;
DVPlanHCFGTransforms.cpp26 ReversePostOrderTraversal<VPBlockBase *> RPOT(TopRegion->getEntry()); in VPInstructionsToVPRecipes()
27 for (VPBlockBase *Base : RPOT) { in VPInstructionsToVPRecipes()
DVPlanHCFGBuilder.cpp83 SmallVector<VPBlockBase *, 8> VPBBPreds; in setVPBBPredsFromBB()
255 VPBlockBase *HeaderVPBB = getOrCreateVPBB(TheLoop->getHeader()); in buildPlainCFG()
DLoopVectorize.cpp6827 VPBlockBase *Region = createReplicateRegion(I, Recipe, Plan); in handleReplication()
7037 VPBlockBase *Entry = Plan->setEntry(PreEntry->getSingleSuccessor()); in buildVPlanWithVPRecipes()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Vectorize/
DVPlanLoopInfoTest.cpp52 VPBlockBase *PH = TopRegion->getEntry(); in TEST_F()
53 VPBlockBase *H = PH->getSingleSuccessor(); in TEST_F()
54 VPBlockBase *IfThen = H->getSuccessors()[0]; in TEST_F()
55 VPBlockBase *IfElse = H->getSuccessors()[1]; in TEST_F()
56 VPBlockBase *Latch = IfThen->getSingleSuccessor(); in TEST_F()
57 VPBlockBase *Exit = Latch->getSuccessors()[0] != H in TEST_F()
DVPlanDominatorTreeTest.cpp50 VPBlockBase *PH = TopRegion->getEntry(); in TEST_F()
51 VPBlockBase *H = PH->getSingleSuccessor(); in TEST_F()
52 VPBlockBase *IfThen = H->getSuccessors()[0]; in TEST_F()
53 VPBlockBase *IfElse = H->getSuccessors()[1]; in TEST_F()
54 VPBlockBase *Latch = IfThen->getSingleSuccessor(); in TEST_F()
55 VPBlockBase *Exit = Latch->getSuccessors()[0] != H in TEST_F()
DVPlanHCFGTest.cpp126 VPBlockBase *Entry = Plan->getEntry()->getEntryBasicBlock(); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/docs/Proposals/
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