Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DLoopVectorizationPlanner.h38 VPBasicBlock *BB = nullptr;
39 VPBasicBlock::iterator InsertPt = VPBasicBlock::iterator();
61 InsertPt = VPBasicBlock::iterator(); in clearInsertionPoint()
64 VPBasicBlock *getInsertBlock() const { return BB; } in getInsertBlock()
65 VPBasicBlock::iterator getInsertPoint() const { return InsertPt; } in getInsertPoint()
69 VPBasicBlock *Block = nullptr;
70 VPBasicBlock::iterator Point;
77 VPInsertPoint(VPBasicBlock *InsertBlock, VPBasicBlock::iterator InsertPoint) in VPInsertPoint()
83 VPBasicBlock *getBlock() const { return Block; } in getBlock()
84 VPBasicBlock::iterator getPoint() const { return Point; } in getPoint()
[all …]
DVPlanHCFGBuilder.cpp56 DenseMap<BasicBlock *, VPBasicBlock *> BB2VPBB;
64 void setVPBBPredsFromBB(VPBasicBlock *VPBB, BasicBlock *BB);
66 VPBasicBlock *getOrCreateVPBB(BasicBlock *BB);
69 void createVPInstructionsForVPBB(VPBasicBlock *VPBB, BasicBlock *BB);
82 void PlainCFGBuilder::setVPBBPredsFromBB(VPBasicBlock *VPBB, BasicBlock *BB) { in setVPBBPredsFromBB()
108 VPBasicBlock *PlainCFGBuilder::getOrCreateVPBB(BasicBlock *BB) { in getOrCreateVPBB()
116 VPBasicBlock *VPBB = new VPBasicBlock(BB->getName()); in getOrCreateVPBB()
189 void PlainCFGBuilder::createVPInstructionsForVPBB(VPBasicBlock *VPBB, in createVPInstructionsForVPBB()
252 VPBasicBlock *PreheaderVPBB = getOrCreateVPBB(PreheaderBB); in buildPlainCFG()
265 VPBasicBlock *VPBB = getOrCreateVPBB(BB); in buildPlainCFG()
[all …]
DVPlan.cpp59 const VPBasicBlock *VPBlockBase::getEntryBasicBlock() const { in getEntryBasicBlock()
63 return cast<VPBasicBlock>(Block); in getEntryBasicBlock()
66 VPBasicBlock *VPBlockBase::getEntryBasicBlock() { in getEntryBasicBlock()
70 return cast<VPBasicBlock>(Block); in getEntryBasicBlock()
74 const VPBasicBlock *VPBlockBase::getExitBasicBlock() const { in getExitBasicBlock()
78 return cast<VPBasicBlock>(Block); in getExitBasicBlock()
81 VPBasicBlock *VPBlockBase::getExitBasicBlock() { in getExitBasicBlock()
85 return cast<VPBasicBlock>(Block); in getExitBasicBlock()
114 VPBasicBlock::createEmptyBasicBlock(VPTransformState::CFGState &CFG) { in createEmptyBasicBlock()
124 VPBasicBlock *PredVPBB = PredVPBlock->getExitBasicBlock(); in createEmptyBasicBlock()
[all …]
DVPRecipeBuilder.h98 bool tryToWiden(Instruction *I, VPBasicBlock *VPBB, VFRange &Range);
116 VPBasicBlock *VPBB);
124 VPBasicBlock *handleReplication(
125 Instruction *I, VFRange &Range, VPBasicBlock *VPBB,
DVPlan.h58 class VPBasicBlock; variable
282 VPBasicBlock *PrevVPBB = nullptr;
294 SmallDenseMap<VPBasicBlock *, BasicBlock *> VPBB2IRBB;
404 const VPBasicBlock *getEntryBasicBlock() const;
405 VPBasicBlock *getEntryBasicBlock();
410 const VPBasicBlock *getExitBasicBlock() const;
411 VPBasicBlock *getExitBasicBlock();
541 class VPRecipeBase : public ilist_node_with_parent<VPRecipeBase, VPBasicBlock> {
542 friend VPBasicBlock; variable
548 VPBasicBlock *Parent = nullptr;
[all …]
DVPlanHCFGTransforms.cpp32 VPBasicBlock *VPBB = Base->getEntryBasicBlock(); in VPInstructionsToVPRecipes()
DLoopVectorize.cpp6696 bool VPRecipeBuilder::tryToWiden(Instruction *I, VPBasicBlock *VPBB, in tryToWiden()
6797 VPBasicBlock *VPRecipeBuilder::handleReplication( in handleReplication()
6798 Instruction *I, VFRange &Range, VPBasicBlock *VPBB, in handleReplication()
6829 auto *RegSucc = new VPBasicBlock(); in handleReplication()
6847 auto *Entry = new VPBasicBlock(Twine(RegionName) + ".entry", BOMRecipe); in createReplicateRegion()
6850 auto *Exit = new VPBasicBlock(Twine(RegionName) + ".continue", PHIRecipe); in createReplicateRegion()
6851 auto *Pred = new VPBasicBlock(Twine(RegionName) + ".if", PredRecipe); in createReplicateRegion()
6863 VPlanPtr &Plan, VPBasicBlock *VPBB) { in tryToCreateRecipe()
6948 VPBasicBlock *VPBB = new VPBasicBlock("Pre-Entry"); in buildVPlanWithVPRecipes()
6965 auto *FirstVPBBForBB = new VPBasicBlock(BB->getName()); in buildVPlanWithVPRecipes()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Vectorize/
DVPlanHCFGTest.cpp44 VPBasicBlock *Entry = Plan->getEntry()->getEntryBasicBlock(); in TEST_F()
50 VPBasicBlock *VecBB = Entry->getSingleSuccessor()->getEntryBasicBlock(); in TEST_F()
131 VPBasicBlock *VecBB = Entry->getSingleSuccessor()->getEntryBasicBlock(); in TEST_F()
DVPlanTest.cpp33 VPBasicBlock VPBB1; in TEST()
48 VPBasicBlock VPBB1; in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/docs/Proposals/
DVectorizationPlan.rst117 VPBasicBlock and VPRegionBlock, see below. VPBlockBase models the hierarchical
123 :VPBasicBlock:
124 VPBasicBlock is a subclass of VPBlockBase, and serves as the leaves of the
127 basic-block originate from one or more VPBasicBlocks. VPBasicBlock holds a