Lines Matching refs:VPBlockBase

150 VPlan *VPBlockBase::getPlan() { return getPlanEntry(this)->Plan; }  in getPlan()
152 const VPlan *VPBlockBase::getPlan() const { return getPlanEntry(this)->Plan; } in getPlan()
155 const VPBasicBlock *VPBlockBase::getEntryBasicBlock() const { in getEntryBasicBlock()
156 const VPBlockBase *Block = this; in getEntryBasicBlock()
162 VPBasicBlock *VPBlockBase::getEntryBasicBlock() { in getEntryBasicBlock()
163 VPBlockBase *Block = this; in getEntryBasicBlock()
169 void VPBlockBase::setPlan(VPlan *ParentPlan) { in setPlan()
177 const VPBasicBlock *VPBlockBase::getExitingBasicBlock() const { in getExitingBasicBlock()
178 const VPBlockBase *Block = this; in getExitingBasicBlock()
184 VPBasicBlock *VPBlockBase::getExitingBasicBlock() { in getExitingBasicBlock()
185 VPBlockBase *Block = this; in getExitingBasicBlock()
191 VPBlockBase *VPBlockBase::getEnclosingBlockWithSuccessors() { in getEnclosingBlockWithSuccessors()
199 VPBlockBase *VPBlockBase::getEnclosingBlockWithPredecessors() { in getEnclosingBlockWithPredecessors()
207 void VPBlockBase::deleteCFG(VPBlockBase *Entry) { in deleteCFG()
208 for (VPBlockBase *Block : to_vector(vp_depth_first_shallow(Entry))) in deleteCFG()
420 for (VPBlockBase *PredVPBlock : getHierarchicalPredecessors()) { in createEmptyBasicBlock()
464 for (VPBlockBase *PredVPBlock : getHierarchicalPredecessors()) { in execute()
486 VPBlockBase *SingleHPred = nullptr; in execute()
489 auto IsLoopRegion = [](VPBlockBase *BB) { in execute()
554 SmallVector<VPBlockBase *, 2> Succs(successors()); in splitAt()
556 for (VPBlockBase *Succ : Succs) in splitAt()
564 for (VPBlockBase *Succ : Succs) in splitAt()
630 void VPBlockBase::printSuccessors(raw_ostream &O, const Twine &Indent) const { in printSuccessors()
656 static std::pair<VPBlockBase *, VPBlockBase *> cloneFrom(VPBlockBase *Entry);
663 static std::pair<VPBlockBase *, VPBlockBase *> cloneFrom(VPBlockBase *Entry) { in cloneFrom()
664 DenseMap<VPBlockBase *, VPBlockBase *> Old2NewVPBlocks; in cloneFrom()
665 VPBlockBase *Exiting = nullptr; in cloneFrom()
668 for (VPBlockBase *BB : vp_depth_first_shallow(Entry)) { in cloneFrom()
669 VPBlockBase *NewBB = BB->clone(); in cloneFrom()
679 for (VPBlockBase *BB : vp_depth_first_shallow(Entry)) { in cloneFrom()
680 VPBlockBase *NewBB = Old2NewVPBlocks[BB]; in cloneFrom()
681 SmallVector<VPBlockBase *> NewPreds; in cloneFrom()
682 for (VPBlockBase *Pred : BB->getPredecessors()) { in cloneFrom()
686 SmallVector<VPBlockBase *> NewSuccs; in cloneFrom()
687 for (VPBlockBase *Succ : BB->successors()) { in cloneFrom()
717 for (VPBlockBase *Block : vp_depth_first_shallow(NewEntry)) in clone()
723 for (VPBlockBase *Block : vp_depth_first_shallow(Entry)) in dropAllReferences()
730 ReversePostOrderTraversal<VPBlockShallowTraversalWrapper<VPBlockBase *>> in execute()
748 for (VPBlockBase *Block : RPOT) { in execute()
769 for (VPBlockBase *Block : RPOT) { in execute()
790 for (VPBlockBase *Block : vp_depth_first_shallow(getEntry())) in cost()
844 for (VPBlockBase *Block : vp_depth_first_shallow(Entry)) in ~VPlan()
847 VPBlockBase::deleteCFG(Entry); in ~VPlan()
963 VPBlockBase *PredVPBB = VPBB->getSinglePredecessor(); in replaceVPBBWithIRVPBB()
1019 for (VPBlockBase *Block : vp_depth_first_shallow(Entry)) in execute()
1135 for (const VPBlockBase *Block : vp_depth_first_shallow(getEntry())) { in print()
1187 static void remapOperands(VPBlockBase *Entry, VPBlockBase *NewEntry, in remapOperands()
1192 ReversePostOrderTraversal<VPBlockDeepTraversalWrapper<VPBlockBase *>> in remapOperands()
1194 ReversePostOrderTraversal<VPBlockDeepTraversalWrapper<VPBlockBase *>> in remapOperands()
1270 Twine VPlanPrinter::getUID(const VPBlockBase *Block) { in getUID()
1275 Twine VPlanPrinter::getOrCreateName(const VPBlockBase *Block) { in getOrCreateName()
1308 for (const VPBlockBase *Block : vp_depth_first_shallow(Plan.getEntry())) in dump()
1314 void VPlanPrinter::dumpBlock(const VPBlockBase *Block) { in dumpBlock()
1323 void VPlanPrinter::drawEdge(const VPBlockBase *From, const VPBlockBase *To, in drawEdge()
1327 const VPBlockBase *Tail = From->getExitingBasicBlock(); in drawEdge()
1328 const VPBlockBase *Head = To->getEntryBasicBlock(); in drawEdge()
1340 void VPlanPrinter::dumpEdges(const VPBlockBase *Block) { in dumpEdges()
1393 for (const VPBlockBase *Block : vp_depth_first_shallow(Region->getEntry())) in dumpRegion()
1467 ReversePostOrderTraversal<VPBlockShallowTraversalWrapper<VPBlockBase *>> in visitRegion()
1469 for (VPBlockBase *Base : RPOT) { in visitRegion()
1474 void VPInterleavedAccessInfo::visitBlock(VPBlockBase *Block, Old2NewTy &Old2New, in visitBlock()
1559 ReversePostOrderTraversal<VPBlockDeepTraversalWrapper<const VPBlockBase *>> in assignNames()
1560 RPOT(VPBlockDeepTraversalWrapper<const VPBlockBase *>(Plan.getEntry())); in assignNames()