Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DLoopVectorizationPlanner.h37 VPBasicBlock *BB = nullptr;
38 VPBasicBlock::iterator InsertPt = VPBasicBlock::iterator();
60 InsertPt = VPBasicBlock::iterator(); in clearInsertionPoint()
63 VPBasicBlock *getInsertBlock() const { return BB; } in getInsertBlock()
64 VPBasicBlock::iterator getInsertPoint() const { return InsertPt; } in getInsertPoint()
68 VPBasicBlock *Block = nullptr;
69 VPBasicBlock::iterator Point;
76 VPInsertPoint(VPBasicBlock *InsertBlock, VPBasicBlock::iterator InsertPoint) in VPInsertPoint()
82 VPBasicBlock *getBlock() const { return Block; } in getBlock()
83 VPBasicBlock::iterator getPoint() const { return Point; } in getPoint()
[all …]
DVPlanHCFGBuilder.cpp55 DenseMap<BasicBlock *, VPBasicBlock *> BB2VPBB;
63 void setVPBBPredsFromBB(VPBasicBlock *VPBB, BasicBlock *BB);
65 VPBasicBlock *getOrCreateVPBB(BasicBlock *BB);
70 void createVPInstructionsForVPBB(VPBasicBlock *VPBB, BasicBlock *BB);
83 void PlainCFGBuilder::setVPBBPredsFromBB(VPBasicBlock *VPBB, BasicBlock *BB) { in setVPBBPredsFromBB()
109 VPBasicBlock *PlainCFGBuilder::getOrCreateVPBB(BasicBlock *BB) { in getOrCreateVPBB()
117 VPBasicBlock *VPBB = new VPBasicBlock(BB->getName()); in getOrCreateVPBB()
192 void PlainCFGBuilder::createVPInstructionsForVPBB(VPBasicBlock *VPBB, in createVPInstructionsForVPBB()
255 VPBasicBlock *PreheaderVPBB = getOrCreateVPBB(PreheaderBB); in buildPlainCFG()
268 VPBasicBlock *VPBB = getOrCreateVPBB(BB); in buildPlainCFG()
[all …]
DVPlanPredicator.cpp37 VPValue *VPlanPredicator::getOrCreateNotPredicate(VPBasicBlock *PredBB, in getOrCreateNotPredicate()
38 VPBasicBlock *CurrBB) { in getOrCreateNotPredicate()
147 VPBasicBlock *CurrBB = cast<VPBasicBlock>(CurrBlock->getEntryBasicBlock()); in createOrPropagatePredicates()
169 assert(isa<VPBasicBlock>(PredBlock) && "Only BBs have multiple exits"); in createOrPropagatePredicates()
171 getOrCreateNotPredicate(cast<VPBasicBlock>(PredBlock), CurrBB); in createOrPropagatePredicates()
188 VPBasicBlock *EntryBlock = cast<VPBasicBlock>(Region->getEntry()); in predicateRegionRec()
DVPlan.cpp60 const VPBasicBlock *VPBlockBase::getEntryBasicBlock() const { in getEntryBasicBlock()
64 return cast<VPBasicBlock>(Block); in getEntryBasicBlock()
67 VPBasicBlock *VPBlockBase::getEntryBasicBlock() { in getEntryBasicBlock()
71 return cast<VPBasicBlock>(Block); in getEntryBasicBlock()
75 const VPBasicBlock *VPBlockBase::getExitBasicBlock() const { in getExitBasicBlock()
79 return cast<VPBasicBlock>(Block); in getExitBasicBlock()
82 VPBasicBlock *VPBlockBase::getExitBasicBlock() { in getExitBasicBlock()
86 return cast<VPBasicBlock>(Block); in getExitBasicBlock()
115 VPBasicBlock::createEmptyBasicBlock(VPTransformState::CFGState &CFG) { in createEmptyBasicBlock()
125 VPBasicBlock *PredVPBB = PredVPBlock->getExitBasicBlock(); in createEmptyBasicBlock()
[all …]
DVPRecipeBuilder.h119 bool tryToWiden(Instruction *I, VPBasicBlock *VPBB, VFRange &Range);
135 VPBasicBlock *VPBB);
143 VPBasicBlock *handleReplication(
144 Instruction *I, VFRange &Range, VPBasicBlock *VPBB,
DVPlan.h60 class VPBasicBlock; variable
294 VPBasicBlock *PrevVPBB = nullptr;
306 SmallDenseMap<VPBasicBlock *, BasicBlock *> VPBB2IRBB;
310 SmallVector<VPBasicBlock *, 8> VPBBsToFix;
426 const VPBasicBlock *getEntryBasicBlock() const;
427 VPBasicBlock *getEntryBasicBlock();
432 const VPBasicBlock *getExitBasicBlock() const;
433 VPBasicBlock *getExitBasicBlock();
578 class VPRecipeBase : public ilist_node_with_parent<VPRecipeBase, VPBasicBlock> {
579 friend VPBasicBlock; variable
[all …]
DVPlanPredicator.h50 VPValue *getOrCreateNotPredicate(VPBasicBlock *PredBB, VPBasicBlock *CurrBB);
DVPlanTransforms.cpp31 VPBasicBlock *VPBB = Base->getEntryBasicBlock(); in VPInstructionsToVPRecipes()
43 VPBasicBlock *VPBB = Base->getEntryBasicBlock(); in VPInstructionsToVPRecipes()
DVPlanValue.h41 friend class VPBasicBlock; variable
DLoopVectorize.cpp6864 bool VPRecipeBuilder::tryToWiden(Instruction *I, VPBasicBlock *VPBB, in tryToWiden()
6976 VPBasicBlock *VPRecipeBuilder::handleReplication( in handleReplication()
6977 Instruction *I, VFRange &Range, VPBasicBlock *VPBB, in handleReplication()
7011 auto *RegSucc = new VPBasicBlock(); in handleReplication()
7029 auto *Entry = new VPBasicBlock(Twine(RegionName) + ".entry", BOMRecipe); in createReplicateRegion()
7032 auto *Exit = new VPBasicBlock(Twine(RegionName) + ".continue", PHIRecipe); in createReplicateRegion()
7033 auto *Pred = new VPBasicBlock(Twine(RegionName) + ".if", PredRecipe); in createReplicateRegion()
7045 VPlanPtr &Plan, VPBasicBlock *VPBB) { in tryToCreateRecipe()
7184 VPBasicBlock *VPBB = new VPBasicBlock("Pre-Entry"); in buildVPlanWithVPRecipes()
7200 auto *FirstVPBBForBB = new VPBasicBlock(BB->getName()); in buildVPlanWithVPRecipes()
[all …]
DVPlanSLP.cpp123 VPBasicBlock *Parent = cast<VPInstruction>(Operands[0])->getParent(); in areVectorizable()