Home
last modified time | relevance | path

Searched refs:getSingleSuccessor (Results 1 – 25 of 37) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSpeculativeExecution.cpp185 Succ0.getSingleSuccessor() == &Succ1) { in runOnBasicBlock()
191 Succ1.getSingleSuccessor() == &Succ0) { in runOnBasicBlock()
199 Succ1.getSingleSuccessor() != nullptr && in runOnBasicBlock()
200 Succ1.getSingleSuccessor() != &B && in runOnBasicBlock()
201 Succ1.getSingleSuccessor() == Succ0.getSingleSuccessor()) { in runOnBasicBlock()
H A DMergedLoadStoreMotion.cpp130 return BB->getTerminator()->getSuccessor(0)->getSingleSuccessor(); in getDiamondTail()
151 BasicBlock *Succ0Succ = Succ0->getSingleSuccessor(); in isDiamondHead()
152 BasicBlock *Succ1Succ = Succ1->getSingleSuccessor(); in isDiamondHead()
H A DLoopBoundSplit.cpp233 BasicBlock *Succ0Succ = Succ0->getSingleSuccessor(); in isProfitableToTransform()
234 BasicBlock *Succ1Succ = Succ1->getSingleSuccessor(); in isProfitableToTransform()
H A DDivRemPairs.cpp268 if (RemBB->getSingleSuccessor() == DivBB) { in optimizeDivRem()
H A DLoopSimplifyCFG.cpp677 if (!Pred || !Pred->getSingleSuccessor() || LI.getLoopFor(Pred) != &L) in mergeBlocksIntoPredecessors()
H A DLoopFuse.cpp1077 const BasicBlock *FC0PreheaderTarget = FC0.Preheader->getSingleSuccessor(); in canHoistInst()
1592 FC1.Preheader->getSingleSuccessor() == FC1.Header); in performFusion()
H A DMergeICmps.cpp827 if (LastBlock->getSingleSuccessor() != Phi.getParent()) { in processPhi()
H A DLoopPredication.cpp986 if (BB == Pred->getSingleSuccessor()) { in isLoopProfitableToPredicate()
H A DLICM.cpp824 BasicBlock *TargetSucc = HoistTarget->getSingleSuccessor(); in getOrCreateHoistedBlock()
844 HoistTarget->getSingleSuccessor(), HoistCommonSucc, {HoistTarget}); in getOrCreateHoistedBlock()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DMatrixUtils.cpp86 ColumnLoop.Latch = ColBody->getSingleSuccessor(); in CreateTiledLoops()
90 RowLoop.Latch = RowBody->getSingleSuccessor(); in CreateTiledLoops()
95 KLoop.Latch = InnerBody->getSingleSuccessor(); in CreateTiledLoops()
H A DLibCallsShrinkWrap.cpp476 BasicBlock *SuccBB = CallBB->getSingleSuccessor(); in shrinkWrapCI()
483 << *CallBB->getSingleSuccessor() << "\n"); in shrinkWrapCI()
H A DLoopUnrollRuntime.cpp997 auto *ExitBB = RemainderLatch->getSingleSuccessor(); in UnrollRuntimeLoopRemainder()
H A DLoopUnroll.cpp982 assert(LatchBlock->getSingleSuccessor() && "Loop with multiple latches?"); in UnrollLoop()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanHCFGBuilder.cpp98 assert(VPBB == cast<VPBasicBlock>(PredRegion->getSingleSuccessor()) && in setVPBBPredsFromBB()
351 BB2VPBB[LoopExitBB] = cast<VPBasicBlock>(TheRegion->getSingleSuccessor()); in buildPlainCFG()
409 auto *Successor = getOrCreateVPBB(BB->getSingleSuccessor()); in buildPlainCFG()
H A DVPlanTransforms.cpp115 if (!VPBB || VPBB->getSingleSuccessor() != VPR->getExitingBasicBlock()) in sinkScalarOperands()
206 if (Succ0->getSingleSuccessor() == Succ1) in getPredicatedThenBlock()
208 if (Succ1->getSingleSuccessor() == Succ0) in getPredicatedThenBlock()
228 dyn_cast_or_null<VPBasicBlock>(Region1->getSingleSuccessor()); in mergeReplicateRegionsIntoSuccessors()
233 dyn_cast_or_null<VPRegionBlock>(MiddleBasicBlock->getSingleSuccessor()); in mergeReplicateRegionsIntoSuccessors()
250 auto *MiddleBasicBlock = cast<VPBasicBlock>(Region1->getSingleSuccessor()); in mergeReplicateRegionsIntoSuccessors()
251 auto *Region2 = cast<VPRegionBlock>(MiddleBasicBlock->getSingleSuccessor()); in mergeReplicateRegionsIntoSuccessors()
266 auto *Merge1 = cast<VPBasicBlock>(Then1->getSingleSuccessor()); in mergeReplicateRegionsIntoSuccessors()
267 auto *Merge2 = cast<VPBasicBlock>(Then2->getSingleSuccessor()); in mergeReplicateRegionsIntoSuccessors()
830 cast<VPBasicBlock>(Plan.getVectorLoopRegion()->getSingleSuccessor()); in adjustFixedOrderRecurrences()
H A DVPlanVerifier.cpp165 IRBB->getPlan()->getVectorLoopRegion()->getSingleSuccessor(); in verifyVPBasicBlock()
H A DVPlan.cpp457 if (getSingleSuccessor()) { in execute()
979 State->CFG.ExitBB = State->CFG.PrevBB->getSingleSuccessor(); in execute()
994 cast<VPBasicBlock>(getVectorLoopRegion()->getSingleSuccessor()); in execute()
999 BasicBlock *ScalarPh = MiddleBB->getSingleSuccessor(); in execute()
H A DVPlan.h544 VPBlockBase *getSingleSuccessor() const { in getSingleSuccessor() function
581 return getEnclosingBlockWithSuccessors()->getSingleSuccessor(); in getSingleHierarchicalSuccessor()
3456 return cast<VPRegionBlock>(getEntry()->getSingleSuccessor()); in getVectorLoopRegion()
3459 return cast<VPRegionBlock>(getEntry()->getSingleSuccessor()); in getVectorLoopRegion()
3467 EntryVPBB = cast<VPBasicBlock>(EntryVPBB->getSingleSuccessor()); in getCanonicalIV()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86LowerAMXIntrinsics.cpp166 BasicBlock *RowLatch = RowBody->getSingleSuccessor(); in createTileLoadStoreLoops()
171 BasicBlock *ColLoopLatch = ColBody->getSingleSuccessor(); in createTileLoadStoreLoops()
280 BasicBlock *RowLatch = RowBody->getSingleSuccessor(); in createTileDPLoops()
285 BasicBlock *ColLoopLatch = ColBody->getSingleSuccessor(); in createTileDPLoops()
295 BasicBlock *InnerLoopLatch = InnerBody->getSingleSuccessor(); in createTileDPLoops()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DBasicBlock.h413 const BasicBlock *getSingleSuccessor() const;
414 BasicBlock *getSingleSuccessor() { in getSingleSuccessor() function
416 static_cast<const BasicBlock *>(this)->getSingleSuccessor()); in getSingleSuccessor()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineBasicBlock.h827 const MachineBasicBlock *getSingleSuccessor() const;
828 MachineBasicBlock *getSingleSuccessor() {
830 static_cast<const MachineBasicBlock *>(this)->getSingleSuccessor());
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DSpeculateAnalyses.cpp70 return BB.getSingleSuccessor() != nullptr; in isStraightLine()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLoopNestAnalysis.cpp399 Succ->getSingleSuccessor() == OuterLoopLatch) { in checkLoopsStructure()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp190 DefBB = DefBB->getSingleSuccessor(); in isDefinitionAcrossSuspend()
1834 InsertPt = CSI->getParent()->getSingleSuccessor()->getFirstNonPHIIt(); in insertSpills()
2771 assert(isSuspendBlock(SuspendBlock) && SuspendBlock->getSingleSuccessor() && in sinkLifetimeStartMarkers()
2773 DomSet.insert(SuspendBlock->getSingleSuccessor()); in sinkLifetimeStartMarkers()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DBasicBlock.cpp487 const BasicBlock *BasicBlock::getSingleSuccessor() const { in getSingleSuccessor() function in BasicBlock

12