Searched refs:VPBasicBlock (Results 1 – 10 of 10) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorizationPlanner.h | 38 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 …]
|
D | VPlanHCFGBuilder.cpp | 56 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 …]
|
D | VPlan.cpp | 59 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 …]
|
D | VPRecipeBuilder.h | 98 bool tryToWiden(Instruction *I, VPBasicBlock *VPBB, VFRange &Range); 116 VPBasicBlock *VPBB); 124 VPBasicBlock *handleReplication( 125 Instruction *I, VFRange &Range, VPBasicBlock *VPBB,
|
D | VPlan.h | 58 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 …]
|
D | VPlanHCFGTransforms.cpp | 32 VPBasicBlock *VPBB = Base->getEntryBasicBlock(); in VPInstructionsToVPRecipes()
|
D | LoopVectorize.cpp | 6696 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/ |
D | VPlanHCFGTest.cpp | 44 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()
|
D | VPlanTest.cpp | 33 VPBasicBlock VPBB1; in TEST() 48 VPBasicBlock VPBB1; in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/docs/Proposals/ |
D | VectorizationPlan.rst | 117 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
|