|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/CodeGen/BasicTTIImpl.h 362 Dests.insert(I.getCaseSuccessor());
include/llvm/IR/Instructions.h 3417 if (Case.getCaseSuccessor() != BB)
lib/Analysis/InlineCost.cpp 1878 BasicBlock *NextBB = SI->findCaseValue(SimpleCond)->getCaseSuccessor();
lib/Analysis/LazyValueInfo.cpp 1490 if (Case.getCaseSuccessor() != BBTo && Condition == Val)
1492 } else if (Case.getCaseSuccessor() == BBTo)
lib/Bitcode/Writer/BitcodeWriter.cpp 2742 Vals.push_back(VE.getValueID(Case.getCaseSuccessor()));
lib/CodeGen/GlobalISel/IRTranslator.cpp 443 MachineBasicBlock *Succ = &getMBB(*I.getCaseSuccessor());
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp10500 MachineBasicBlock *Succ = FuncInfo.MBBMap[I.getCaseSuccessor()];
lib/ExecutionEngine/Interpreter/Execution.cpp 958 Dest = cast<BasicBlock>(Case.getCaseSuccessor());
lib/IR/AsmWriter.cpp 3740 writeOperand(Case.getCaseSuccessor(), true);
lib/Transforms/Coroutines/CoroSplit.cpp 376 BasicBlock *ResumeBB = FinalCaseIt->getCaseSuccessor();
930 BasicBlock *BB = SI->findCaseValue(Cond)->getCaseSuccessor();
lib/Transforms/InstCombine/InstructionCombining.cpp 3455 Worklist.push_back(SI->findCaseValue(Cond)->getCaseSuccessor());
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp 395 BasicBlock *Succ = CI->getCaseSuccessor();
lib/Transforms/Scalar/GVN.cpp 2024 BasicBlock *Dst = i->getCaseSuccessor();
lib/Transforms/Scalar/JumpThreading.cpp 1641 DestBB = SI->findCaseValue(cast<ConstantInt>(Val))->getCaseSuccessor();
lib/Transforms/Scalar/LoopSimplifyCFG.cpp 75 return Case.getCaseSuccessor();
lib/Transforms/Scalar/LoopUnrollPass.cpp 587 KnownSucc = SI->findCaseValue(SimpleCondVal)->getCaseSuccessor();
lib/Transforms/Scalar/LoopUnswitch.cpp 1111 CurrentBB = SI->findCaseValue(Cond)->getCaseSuccessor();
1183 isTrivialLoopExitBlock(currentLoop, Case.getCaseSuccessor()))) {
1530 BasicBlock *SISucc = DeadCase.getCaseSuccessor();
1548 BasicBlock *NewSISucc = DeadCase.getCaseSuccessor();
lib/Transforms/Scalar/NewGVN.cpp 2512 if (Case.getCaseSuccessor() == SI->getDefaultDest()) {
2520 BasicBlock *TargetBlock = Case.getCaseSuccessor();
lib/Transforms/Scalar/SCCP.cpp 1733 markEdgeExecutable(&BB, SI->case_begin()->getCaseSuccessor());
1741 BasicBlock *DefaultSuccessor = SI->case_begin()->getCaseSuccessor();
1977 Dest = SI->case_begin()->getCaseSuccessor();
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp 586 auto *SuccBB = Case.getCaseSuccessor();
632 Loop *ExitL = LI.getLoopFor(CaseI->getCaseSuccessor());
637 ExitCases.emplace_back(CaseI->getCaseValue(), CaseI->getCaseSuccessor(), W);
655 return Case.getCaseSuccessor() ==
656 SI.case_begin()->getCaseSuccessor();
658 CommonSuccBB = SI.case_begin()->getCaseSuccessor();
775 assert(Case.getCaseSuccessor() == CommonSuccBB &&
797 SI.setDefaultDest(LastCaseI->getCaseSuccessor());
1951 if (Case.getCaseSuccessor() != RetainedSuccBB)
1952 UnswitchedSuccBBs.insert(Case.getCaseSuccessor());
2061 if (Case.getCaseSuccessor() == RetainedSuccBB)
2064 Case.setSuccessor(ClonedPHs.find(Case.getCaseSuccessor())->second);
2117 Case.getCaseSuccessor()->removePredecessor(
lib/Transforms/Utils/CloneFunction.cpp 412 BasicBlock *Dest = const_cast<BasicBlock*>(Case.getCaseSuccessor());
lib/Transforms/Utils/Evaluator.cpp 624 NextBB = SI->findCaseValue(Val)->getCaseSuccessor();
lib/Transforms/Utils/Local.cpp 169 TheOnlyDest = SI->case_begin()->getCaseSuccessor();
176 TheOnlyDest = i->getCaseSuccessor();
182 if (i->getCaseSuccessor() == DefaultDest) {
219 if (i->getCaseSuccessor() != TheOnlyDest)
273 FirstCase.getCaseSuccessor(),
lib/Transforms/Utils/LowerSwitch.cpp 404 if (Case.getCaseSuccessor() == SI->getDefaultDest())
407 Case.getCaseSuccessor()));
lib/Transforms/Utils/PredicateInfo.cpp 476 BasicBlock *TargetBlock = C.getCaseSuccessor();
lib/Transforms/Utils/SimplifyCFG.cpp 732 Case.getCaseSuccessor()));
881 i->getCaseSuccessor()->removePredecessor(TI->getParent());
3530 BasicBlock *TrueBB = SI->findCaseValue(TrueVal)->getCaseSuccessor();
3531 BasicBlock *FalseBB = SI->findCaseValue(FalseVal)->getCaseSuccessor();
4247 if (i->getCaseSuccessor() != BB) {
4350 BasicBlock *Dest = Case.getCaseSuccessor();
4505 CaseI->getCaseSuccessor()->removePredecessor(SI->getParent());
4556 BasicBlock *CaseDest = Case.getCaseSuccessor();
4778 if (!GetCaseResults(SI, CaseVal, I.getCaseSuccessor(), &CommonDest, Results,
5341 if (!GetCaseResults(SI, CaseVal, CI->getCaseSuccessor(), &CommonDest,
tools/clang/lib/CodeGen/CGCleanup.cpp 622 llvm::BranchInst::Create(si->case_begin()->getCaseSuccessor(), si);
tools/llvm-diff/DifferenceEngine.cpp 338 LCases[Case.getCaseValue()] = Case.getCaseSuccessor();
345 tryUnify(LCase, Case.getCaseSuccessor());
tools/llvm-reduce/deltas/ReduceBasicBlocks.cpp 73 if (!BBsToKeep.count(Case->getCaseSuccessor())) {
unittests/Analysis/DomTreeUpdaterTest.cpp 94 if (i->getCaseSuccessor() == BB3) {
134 if (i->getCaseSuccessor() == BB2) {
684 if (i->getCaseSuccessor() == BB2) {
unittests/IR/CFGBuilder.cpp 73 SI->setDefaultDest(FirstC->getCaseSuccessor());
79 if (CIt->getCaseSuccessor() == To) {
unittests/IR/InstructionsTest.cpp 716 EXPECT_EQ(BB1.get(), CI->getCaseSuccessor());
718 EXPECT_EQ(BB2.get(), (CI + 1)->getCaseSuccessor());
720 EXPECT_EQ(BB3.get(), (CI + 2)->getCaseSuccessor());
735 EXPECT_EQ(BB1.get(), CCI->getCaseSuccessor());
737 EXPECT_EQ(BB2.get(), (CCI + 1)->getCaseSuccessor());
739 EXPECT_EQ(BB3.get(), (CCI + 2)->getCaseSuccessor());
753 EXPECT_EQ(BB1.get(), Handle.getCaseSuccessor());