reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/Analysis/SparsePropagation.h
  463   if (I.isTerminator())
include/llvm/IR/CFG.h
   53         if (Inst->isTerminator())
lib/Analysis/CFG.cpp
   96   assert(TI->isTerminator() && "Must be a terminator to have successors!");
lib/Analysis/CFLGraph.h
  603     bool IsNonInvokeRetTerminator = Inst->isTerminator() &&
lib/Analysis/DemandedBits.cpp
   81   return I->isTerminator() || isa<DbgInfoIntrinsic>(I) || I->isEHPad() ||
lib/Analysis/DivergenceAnalysis.cpp
  382     if (I.isTerminator()) {
lib/Analysis/InstructionSimplify.cpp
 5436     if (I->getParent() && !I->isEHPad() && !I->isTerminator() &&
 5468     if (I->getParent() && !I->isEHPad() && !I->isTerminator() &&
lib/Analysis/LegacyDivergenceAnalysis.cpp
  273       if (I->isTerminator() && I->getNumSuccessors() > 1)
lib/Analysis/MemoryDependenceAnalysis.cpp
 1585   if (!RemInst->isTerminator())
 1591     assert(!ReverseDepIt->second.empty() && !RemInst->isTerminator() &&
lib/Analysis/MustExecute.cpp
  454   if (!ExploreInterBlock && PP->isTerminator()) {
  470   if (!PP->isTerminator()) {
  477   assert(PP->isTerminator() && "Expected a terminator!");
lib/AsmParser/LLParser.cpp
 5678   } while (!Inst->isTerminator());
lib/Bitcode/Reader/BitcodeReader.cpp
 5136     if (I->isTerminator()) {
lib/CodeGen/CodeGenPrepare.cpp
 7134       if (VI && VI != PrevNonDbgInst && !VI->isTerminator()) {
lib/CodeGen/SelectionDAG/FastISel.cpp
 1594   if (I->isTerminator()) {
 1658   if (I->isTerminator()) {
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 1080   if (I.isTerminator()) {
 1108   if (!I.isTerminator() && !HasTailCall &&
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
 1285          !I->isTerminator() &&     // Terminators aren't folded.
 1545         if (Inst->isTerminator()) {
lib/CodeGen/WinEHPrepare.cpp
 1076   if (!EHPad->isTerminator()) {
 1151   if (PredBlock->isEHPad() && PredBlock->getFirstNonPHI()->isTerminator()) {
lib/FuzzMutate/IRMutator.cpp
  157     if (Inst.isTerminator() || Inst.isEHPad() ||
  173   assert(!Inst.isTerminator() && "Deleting terminators invalidates CFG");
lib/FuzzMutate/RandomIRBuilder.cpp
  139     if (Inst->isTerminator())
lib/IR/BasicBlock.cpp
  145   if (InstList.empty() || !InstList.back().isTerminator())
lib/IR/Core.cpp
 2767   return (I && I->isTerminator()) ? wrap(I) : nullptr;
lib/IR/Instruction.cpp
  604          !this->isTerminator();
lib/IR/SafepointIRVerifier.cpp
  105     assert(cast<Instruction>(U->getUser())->isTerminator() &&
lib/IR/Verifier.cpp
  337       if (!BB.empty() && BB.back().isTerminator())
lib/Target/AArch64/AArch64StackTagging.cpp
  341   for (; Count < ClScanLimit && !BI->isTerminator(); ++BI) {
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
 1076     if (!In.isTerminator() && !isPromotableTo(&In, DestTy))
 1084     if (!In->isTerminator())
lib/Transforms/Coroutines/CoroFrame.cpp
  702           assert(!I->isTerminator() && "unexpected terminator");
lib/Transforms/Coroutines/CoroSplit.cpp
  911   while (I->isTerminator()) {
lib/Transforms/IPO/MergeFunctions.cpp
  622     } else if (BI->isTerminator() && &*BI == GEntryBlock->getTerminator()) {
lib/Transforms/IPO/PruneEH.cpp
  258     if (!TokenInst->isTerminator())
lib/Transforms/InstCombine/InstCombineCalls.cpp
 4346     if (Call.isTerminator()) {
lib/Transforms/InstCombine/InstCombinePHI.cpp
  225         return Inst && Inst->isTerminator();
lib/Transforms/InstCombine/InstructionCombining.cpp
 3124       I->isTerminator())
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
  946         bool IsTerminator = Inst->isTerminator();
lib/Transforms/Scalar/ADCE.cpp
  334   if (!I.isTerminator())
lib/Transforms/Scalar/GVN.cpp
 2044   if (isa<AllocaInst>(I) || I->isTerminator() || isa<PHINode>(I)) {
 2244   if (isa<AllocaInst>(CurInst) || CurInst->isTerminator() ||
lib/Transforms/Scalar/GVNHoist.cpp
 1100         if (I1.isTerminator())
lib/Transforms/Scalar/GVNSink.cpp
  540          I != E && !I->isTerminator(); ++I) {
lib/Transforms/Scalar/JumpThreading.cpp
  423           BB.getFirstNonPHIOrDbg()->isTerminator() &&
 2009   for (; !BI->isTerminator(); ++BI) {
lib/Transforms/Scalar/MemCpyOptimizer.cpp
  316   for (++BI; !BI->isTerminator(); ++BI) {
lib/Transforms/Scalar/NewGVN.cpp
 2905       if (I.isTerminator() && I.getType()->isVoidTy())
 3080   if (!I->isTerminator()) {
lib/Transforms/Scalar/PlaceSafepoints.cpp
  281     if (BBI->isTerminator()) {
  396     if (!I->isTerminator())
  407     if (I->isTerminator())
  430   assert((HasNextInstruction(Cursor) || Cursor->isTerminator()) &&
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
 1853         assert(!Inst->isTerminator() &&
lib/Transforms/Scalar/SCCP.cpp
 1844       if (Inst->getType()->isVoidTy() || Inst->isTerminator())
lib/Transforms/Scalar/Sink.cpp
   74   if (Inst->isTerminator() || isa<PHINode>(Inst) || Inst->isEHPad() ||
lib/Transforms/Utils/CodeExtractor.cpp
  968       if (I->isTerminator() && I->getFunction() == oldFunction &&
lib/Transforms/Utils/DemoteRegToStack.cpp
   94   if (!I.isTerminator()) {
lib/Transforms/Utils/Evaluator.cpp
  607     } else if (CurInst->isTerminator()) {
lib/Transforms/Utils/Local.cpp
  368   if (I->isTerminator())
  621     assert(!BI->isTerminator());
lib/Transforms/Utils/LoopRotationUtils.cpp
  334         !Inst->mayWriteToMemory() && !Inst->isTerminator() &&
lib/Transforms/Utils/PromoteMemoryToRegister.cpp
  932   for (BasicBlock::iterator II = BB->begin(); !II->isTerminator();) {
lib/Transforms/Utils/SimplifyCFG.cpp
 1272     if (I1->isTerminator())
 2382     for (BasicBlock::iterator I = IfBlock1->begin(); !I->isTerminator(); ++I)
 2395     for (BasicBlock::iterator I = IfBlock2->begin(); !I->isTerminator(); ++I)
 2456   if (!TrueSucc->getFirstNonPHIOrDbg()->isTerminator())
 2458   if (!FalseSucc->getFirstNonPHIOrDbg()->isTerminator())
 3003       if (I.isTerminator())
 4110   if (!BB->getFirstNonPHIOrDbg()->isTerminator())
 4690     if (I.isTerminator()) {
 5816   if (I->isTerminator() && BB != &BB->getParent()->getEntryBlock() &&
 5826       if (I->isTerminator() &&
 5836     if (I->isTerminator() && TryToMergeLandingPad(LPad, BI, BB))
lib/Transforms/Vectorize/SLPVectorizer.cpp
 2324           if (Term && Term->isTerminator()) {
tools/bugpoint/CrashDebugger.cpp
  765     assert(!Insts[i]->isTerminator());
  779         if (!Instructions.count(Inst) && !Inst->isTerminator() &&
 1012           if (!I.isTerminator())
tools/clang/lib/CodeGen/CGLoopInfo.cpp
  787   if (I->isTerminator()) {
tools/polly/lib/Analysis/ScopBuilder.cpp
 1925   return !Inst->isTerminator() && !isIgnoredIntrinsic(Inst) &&
 3560       if (Inst.isTerminator() && Stmt->isBlockStmt())
tools/polly/lib/Analysis/ScopDetection.cpp
 1205           if (!UI || !UI->isTerminator())
tools/polly/lib/CodeGen/BlockGenerators.cpp
  361   if (Inst->isTerminator())
 1296   if (Inst->isTerminator())
tools/polly/lib/Support/VirtualInstruction.cpp
  179   if (Inst->isTerminator())
unittests/Transforms/Utils/LocalTest.cpp
  555         ASSERT_TRUE(I.isTerminator());