/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | SpeculativeExecution.cpp | 185 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 D | MergedLoadStoreMotion.cpp | 130 return BB->getTerminator()->getSuccessor(0)->getSingleSuccessor(); in getDiamondTail() 151 BasicBlock *Succ0Succ = Succ0->getSingleSuccessor(); in isDiamondHead() 152 BasicBlock *Succ1Succ = Succ1->getSingleSuccessor(); in isDiamondHead()
|
H A D | LoopBoundSplit.cpp | 233 BasicBlock *Succ0Succ = Succ0->getSingleSuccessor(); in isProfitableToTransform() 234 BasicBlock *Succ1Succ = Succ1->getSingleSuccessor(); in isProfitableToTransform()
|
H A D | DivRemPairs.cpp | 268 if (RemBB->getSingleSuccessor() == DivBB) { in optimizeDivRem()
|
H A D | LoopSimplifyCFG.cpp | 677 if (!Pred || !Pred->getSingleSuccessor() || LI.getLoopFor(Pred) != &L) in mergeBlocksIntoPredecessors()
|
H A D | LoopFuse.cpp | 1077 const BasicBlock *FC0PreheaderTarget = FC0.Preheader->getSingleSuccessor(); in canHoistInst() 1592 FC1.Preheader->getSingleSuccessor() == FC1.Header); in performFusion()
|
H A D | MergeICmps.cpp | 827 if (LastBlock->getSingleSuccessor() != Phi.getParent()) { in processPhi()
|
H A D | LoopPredication.cpp | 986 if (BB == Pred->getSingleSuccessor()) { in isLoopProfitableToPredicate()
|
H A D | LICM.cpp | 824 BasicBlock *TargetSucc = HoistTarget->getSingleSuccessor(); in getOrCreateHoistedBlock() 844 HoistTarget->getSingleSuccessor(), HoistCommonSucc, {HoistTarget}); in getOrCreateHoistedBlock()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | MatrixUtils.cpp | 86 ColumnLoop.Latch = ColBody->getSingleSuccessor(); in CreateTiledLoops() 90 RowLoop.Latch = RowBody->getSingleSuccessor(); in CreateTiledLoops() 95 KLoop.Latch = InnerBody->getSingleSuccessor(); in CreateTiledLoops()
|
H A D | LibCallsShrinkWrap.cpp | 476 BasicBlock *SuccBB = CallBB->getSingleSuccessor(); in shrinkWrapCI() 483 << *CallBB->getSingleSuccessor() << "\n"); in shrinkWrapCI()
|
H A D | LoopUnrollRuntime.cpp | 997 auto *ExitBB = RemainderLatch->getSingleSuccessor(); in UnrollRuntimeLoopRemainder()
|
H A D | LoopUnroll.cpp | 982 assert(LatchBlock->getSingleSuccessor() && "Loop with multiple latches?"); in UnrollLoop()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | VPlanHCFGBuilder.cpp | 98 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 D | VPlanTransforms.cpp | 115 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 D | VPlanVerifier.cpp | 165 IRBB->getPlan()->getVectorLoopRegion()->getSingleSuccessor(); in verifyVPBasicBlock()
|
H A D | VPlan.cpp | 457 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 D | VPlan.h | 544 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 D | X86LowerAMXIntrinsics.cpp | 166 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 D | BasicBlock.h | 413 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 D | MachineBasicBlock.h | 827 const MachineBasicBlock *getSingleSuccessor() const; 828 MachineBasicBlock *getSingleSuccessor() { 830 static_cast<const MachineBasicBlock *>(this)->getSingleSuccessor());
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
H A D | SpeculateAnalyses.cpp | 70 return BB.getSingleSuccessor() != nullptr; in isStraightLine()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | LoopNestAnalysis.cpp | 399 Succ->getSingleSuccessor() == OuterLoopLatch) { in checkLoopsStructure()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
H A D | CoroFrame.cpp | 190 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 D | BasicBlock.cpp | 487 const BasicBlock *BasicBlock::getSingleSuccessor() const { in getSingleSuccessor() function in BasicBlock
|