|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
include/llvm/IR/Instruction.h 672 BasicBlock *getSuccessor(unsigned Idx) const;
References
include/llvm/Analysis/SparsePropagation.h 376 if (TI->getSuccessor(i) == To && SuccFeasible[i])
393 markEdgeExecutable(BB, TI.getSuccessor(i));
include/llvm/IR/CFG.h 201 inline BlockT *operator*() const { return Inst->getSuccessor(Idx); }
include/llvm/Transforms/Utils/BasicBlockUtils.h 192 if (TI->getSuccessor(i) == Succ)
208 if (TI->getSuccessor(i) == Dst)
lib/Analysis/BranchProbabilityInfo.cpp 289 if (PostDominatedByUnreachable.count(TI->getSuccessor(i - 1)))
lib/Analysis/CFG.cpp 80 if (Term->getSuccessor(i) == Succ)
91 return isCriticalEdge(TI, TI->getSuccessor(SuccNum), AllowIdenticalEdges);
lib/Analysis/InlineCost.cpp 1890 BBWorklist.insert(TI->getSuccessor(TIdx));
lib/Analysis/MemorySSAUpdater.cpp 754 BasicBlock *ExitSucc = NewExit->getTerminator()->getSuccessor(0);
lib/Analysis/MustExecute.cpp 490 return &PP->getSuccessor(0)->front();
lib/CodeGen/SelectionDAG/FastISel.cpp 2260 const BasicBlock *SuccBB = TI->getSuccessor(succ);
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp 9935 const BasicBlock *SuccBB = TI->getSuccessor(succ);
lib/IR/Core.cpp 2892 return wrap(unwrap<Instruction>(Term)->getSuccessor(i));
lib/IR/Dominators.cpp 46 if (TI->getSuccessor(i) == End)
lib/IR/Instruction.cpp 683 if (getSuccessor(Idx) == OldBB)
lib/Target/PowerPC/PPCISelDAGToDAG.cpp 526 const BasicBlock *TBB = BBTerm->getSuccessor(0);
527 const BasicBlock *FBB = BBTerm->getSuccessor(1);
lib/Transforms/IPO/LoopExtractor.cpp 112 EntryTI->getSuccessor(0) != L->getHeader()) {
lib/Transforms/IPO/SampleProfile.cpp 1471 BasicBlock *Succ = TI->getSuccessor(I);
lib/Transforms/InstCombine/InstCombineCompares.cpp 4902 BasicBlock *Succ = SI->getParent()->getTerminator()->getSuccessor(1);
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp 1494 BasicBlock *DestBB = StoreBB->getTerminator()->getSuccessor(0);
lib/Transforms/Instrumentation/AddressSanitizer.cpp 1713 BasicBlock *NextBB = CheckTerm->getSuccessor(0);
lib/Transforms/Instrumentation/CFGMST.h 127 BasicBlock *TargetBB = TI->getSuccessor(i);
lib/Transforms/Instrumentation/GCOVProfiling.cpp 723 Block.addEdge(Func.getBlock(TI->getSuccessor(i)));
lib/Transforms/Instrumentation/PGOInstrumentation.cpp 617 BasicBlock *Succ = TI->getSuccessor(I);
lib/Transforms/Scalar/CallSiteSplitting.cpp 144 Conditions.push_back({Cmp, From->getTerminator()->getSuccessor(0) == To
lib/Transforms/Scalar/JumpThreading.cpp 967 BasicBlock *TestBB = BBTerm->getSuccessor(MinSucc);
971 TestBB = BBTerm->getSuccessor(i);
1102 BasicBlock *Succ = BBTerm->getSuccessor(i);
1109 BranchInst::Create(BBTerm->getSuccessor(BestSucc), BBTerm);
1580 if (!is_contained(SamePopularity, TI->getSuccessor(i)))
1583 MostPopularDest = TI->getSuccessor(i);
1758 getSuccessor(GetBestDestForJumpOnUndef(BB));
2038 if (PredTerm->getSuccessor(i) == BB) {
lib/Transforms/Scalar/LoopIdiomRecognize.cpp 2265 PreheaderBB->getTerminator()->getSuccessor(0) == HeaderBB &&
lib/Transforms/Scalar/LoopPredication.cpp 924 LatchTerm->getSuccessor(0) == L->getHeader() ? 1 : 0;
lib/Transforms/Scalar/LoopUnswitch.cpp 1316 BasicBlock *ExitSucc = NewExit->getTerminator()->getSuccessor(0);
lib/Transforms/Scalar/MergedLoadStoreMotion.cpp 133 return BB->getTerminator()->getSuccessor(0)->getSingleSuccessor();
lib/Transforms/Scalar/NewGVN.cpp 2532 BasicBlock *TargetBlock = TI->getSuccessor(i);
lib/Transforms/Scalar/PlaceSafepoints.cpp 551 BasicBlock *Succ = Term->getSuccessor(i);
lib/Transforms/Scalar/SCCP.cpp 869 markEdgeExecutable(BB, TI.getSuccessor(i));
1681 markEdgeExecutable(&BB, TI->getSuccessor(1));
1689 BasicBlock *DefaultSuccessor = TI->getSuccessor(1);
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp 1033 assert(ClonedExitBB->getTerminator()->getSuccessor(0) == MergeBB &&
lib/Transforms/Utils/BasicBlockUtils.cpp 369 return LatchTerm->getSuccessor(SuccNum);
lib/Transforms/Utils/BreakCriticalEdges.cpp 146 BasicBlock *DestBB = TI->getSuccessor(SuccNum);
201 if (TI->getSuccessor(i) != DestBB) continue;
lib/Transforms/Utils/CodeExtractor.cpp 1194 if (!Blocks.count(TI->getSuccessor(i))) {
1195 BasicBlock *OldTarget = TI->getSuccessor(i);
1357 uint64_t ExitFreq = ExitWeights[TI->getSuccessor(i)].getFrequency();
lib/Transforms/Utils/FlattenCFG.cpp 235 BasicBlock *PS1 = TBB->getSuccessor(0);
236 BasicBlock *PS2 = TBB->getSuccessor(1);
243 (PS1->getTerminator()->getSuccessor(0) != PS2)) {
246 (PS2->getTerminator()->getSuccessor(0) != PS1))
lib/Transforms/Utils/FunctionComparator.cpp 874 if (!VisitedBBs.insert(TermL->getSuccessor(i)).second)
877 FnLBBs.push_back(TermL->getSuccessor(i));
878 FnRBBs.push_back(TermR->getSuccessor(i));
942 if (!VisitedBBs.insert(Term->getSuccessor(i)).second)
944 BBs.push_back(Term->getSuccessor(i));
lib/Transforms/Utils/LoopRotationUtils.cpp 178 BasicBlock *HeaderExit = Header->getTerminator()->getSuccessor(0);
180 HeaderExit = Header->getTerminator()->getSuccessor(1);
lib/Transforms/Utils/LoopUnrollAndJam.cpp 76 if (!ForeBlocks.count(TI->getSuccessor(i)))
256 SubLoop->getLoopLatch()->getTerminator()->getSuccessor(0));
lib/Transforms/Utils/SimplifyCFG.cpp 1483 auto *Succ = I0->getParent()->getTerminator()->getSuccessor(0);
1545 auto *BBEnd = Blocks[0]->getTerminator()->getSuccessor(0);
1964 BasicBlock *EndBB = ThenBB->getTerminator()->getSuccessor(0);
2279 if (PredBBTI->getSuccessor(i) == BB) {
3647 BasicBlock *SuccBlock = BB->getTerminator()->getSuccessor(0);
4695 CaseDest = I.getSuccessor(0);
5924 Succ0TI->getSuccessor(0) == BI->getSuccessor(1))
5933 Succ1TI->getSuccessor(0) == BI->getSuccessor(0))
lib/Transforms/Vectorize/VPlan.cpp 153 assert(!PredBBTerminator->getSuccessor(idx) &&
lib/Transforms/Vectorize/VPlanHCFGBuilder.cpp 279 VPBasicBlock *SuccVPBB = getOrCreateVPBB(TI->getSuccessor(0));
283 VPBasicBlock *SuccVPBB0 = getOrCreateVPBB(TI->getSuccessor(0));
285 VPBasicBlock *SuccVPBB1 = getOrCreateVPBB(TI->getSuccessor(1));
tools/clang/lib/CodeGen/CGCleanup.cpp 691 FallthroughSource->getTerminator()->getSuccessor(0)
tools/llvm-diff/DifferenceEngine.cpp 645 tryUnify(LTerm->getSuccessor(0), RInvoke->getNormalDest());
658 tryUnify(LInvoke->getNormalDest(), RTerm->getSuccessor(0));
tools/polly/lib/Analysis/ScopBuilder.cpp 174 return TI->getSuccessor(idx);
tools/polly/lib/Analysis/ScopDetection.cpp 1746 SuccBB = TInst->getSuccessor(I);
unittests/Analysis/BlockFrequencyInfoTest.cpp 65 BasicBlock *BB1 = BB0.getTerminator()->getSuccessor(0);
66 BasicBlock *BB2 = BB0.getTerminator()->getSuccessor(1);
unittests/Analysis/ProfileSummaryInfoTest.cpp 117 BasicBlock *BB1 = BB0.getTerminator()->getSuccessor(0);
165 BasicBlock *BB1 = BB0.getTerminator()->getSuccessor(0);
166 BasicBlock *BB2 = BB0.getTerminator()->getSuccessor(1);
212 BasicBlock *BB1 = BB0.getTerminator()->getSuccessor(0);
213 BasicBlock *BB2 = BB0.getTerminator()->getSuccessor(1);
unittests/IR/DominatorTreeTest.cpp 306 BasicBlockEdge Edge_BB0_BB2(BB0, TI->getSuccessor(0));
310 BasicBlockEdge Edge_BB0_BB1_a(BB0, TI->getSuccessor(1));
313 BasicBlockEdge Edge_BB0_BB1_b(BB0, TI->getSuccessor(2));
unittests/IR/IRBuilderTest.cpp 336 EXPECT_EQ(TBB, TI->getSuccessor(0));
337 EXPECT_EQ(FBB, TI->getSuccessor(1));
345 EXPECT_EQ(TBB, TI->getSuccessor(0));
346 EXPECT_EQ(FBB, TI->getSuccessor(1));
unittests/Transforms/Utils/SizeOptsTest.cpp 66 BasicBlock *BB1 = BB0.getTerminator()->getSuccessor(0);
67 BasicBlock *BB2 = BB0.getTerminator()->getSuccessor(1);