/external/llvm/lib/Transforms/Utils/ |
LoopSimplify.cpp | 130 if (isa<IndirectBrInst>(P->getTerminator())) return nullptr; 166 if (isa<IndirectBrInst>(P->getTerminator())) return nullptr; 271 if (isa<IndirectBrInst>(PN->getIncomingBlock(i)->getTerminator())) 372 if (isa<IndirectBrInst>(P->getTerminator())) 444 TerminatorInst *TI = BackedgeBlocks[i]->getTerminator(); 496 TerminatorInst *TI = P->getTerminator(); 498 P->getTerminator()->eraseFromParent(); 511 if (BranchInst *BI = dyn_cast<BranchInst>((*I)->getTerminator())) 631 BranchInst *BI = dyn_cast<BranchInst>(ExitingBlock->getTerminator()); 648 Preheader ? Preheader->getTerminator() [all...] |
SimplifyCFG.cpp | 287 BranchInst *BI = dyn_cast<BranchInst>(PBB->getTerminator()); 649 Value *PredVal = isValueEqualityComparison(Pred->getTerminator()); 661 BasicBlock *PredDef = GetValueEqualityComparisonCases(Pred->getTerminator(), 690 DEBUG(dbgs() << "Threading pred instr: " << *Pred->getTerminator() 703 DEBUG(dbgs() << "Threading pred instr: " << *Pred->getTerminator() 772 DEBUG(dbgs() << "Threading pred instr: " << *Pred->getTerminator() [all...] |
BreakCriticalEdges.cpp | 88 assert((SplitBB->getFirstNonPHI() == SplitBB->getTerminator() || 106 SplitBB->isLandingPad() ? &SplitBB->front() : SplitBB->getTerminator());
|
CloneFunction.cpp | 149 if (ReturnInst *RI = dyn_cast<ReturnInst>(CBB->getTerminator())) 398 const TerminatorInst *OldTI = BB->getTerminator(); 412 const TerminatorInst *TI = NewBB->getTerminator(); 467 const TerminatorInst *TI = BB->getTerminator(); 559 RemapInstruction(NewBB->getTerminator(), VMap, 680 BranchInst *BI = dyn_cast<BranchInst>(I->getTerminator()); 714 if (ReturnInst *RI = dyn_cast<ReturnInst>(I->getTerminator())) [all...] |
/external/llvm/lib/Analysis/ |
BranchProbabilityInfo.cpp | 123 TerminatorInst *TI = BB->getTerminator(); 183 TerminatorInst *TI = BB->getTerminator(); 245 TerminatorInst *TI = BB->getTerminator(); 300 BranchInst * BI = dyn_cast<BranchInst>(BB->getTerminator()); 391 BranchInst * BI = dyn_cast<BranchInst>(BB->getTerminator()); 473 BranchInst *BI = dyn_cast<BranchInst>(BB->getTerminator()); 509 InvokeInst *II = dyn_cast<InvokeInst>(BB->getTerminator());
|
LoopInfo.cpp | 114 InsertPt = Preheader->getTerminator(); 234 if (isa<IndirectBrInst>((*I)->getTerminator())) 237 if (const InvokeInst *II = dyn_cast<InvokeInst>((*I)->getTerminator())) { 262 LoopID = getLoopLatch()->getTerminator()->getMetadata(LoopMDName); 268 TerminatorInst *TI = (*I)->getTerminator(); 299 getLoopLatch()->getTerminator()->setMetadata(LoopMDName, LoopID); 305 TerminatorInst *TI = (*I)->getTerminator();
|
EHPersonalities.cpp | 93 TerminatorInst *Terminator = Visiting->getTerminator();
|
PHITransAddr.cpp | 392 PredBB->getTerminator()); 411 InVal->getName() + ".phi.trans.insert", PredBB->getTerminator()); 433 PredBB->getTerminator());
|
/external/llvm/lib/Transforms/Scalar/ |
LoopRotation.cpp | 135 BranchInst *BI = dyn_cast<BranchInst>(OrigHeader->getTerminator()); 218 TerminatorInst *LoopEntryBranch = OrigPreheader->getTerminator(); 264 TerminatorInst *TI = OrigHeader->getTerminator(); 291 BranchInst *PHBI = cast<BranchInst>(OrigPreheader->getTerminator()); 339 if (isa<IndirectBrInst>((*PI)->getTerminator())) 490 BranchInst *Jmp = dyn_cast<BranchInst>(Latch->getTerminator()); 498 BranchInst *BI = dyn_cast<BranchInst>(LastExit->getTerminator());
|
LoopInterchange.cpp | 529 dyn_cast<BranchInst>(OuterMostLoopLatch->getTerminator()); 651 dyn_cast<BranchInst>(OuterLoopHeader->getTerminator()); 740 if (BranchInst *BI = dyn_cast<BranchInst>(LatchBlock->getTerminator())) { [all...] |
PartiallyInlineLibCalls.cpp | 148 CurrBB.getTerminator()->eraseFromParent();
|
LoopDeletion.cpp | 107 if (!L->makeLoopInvariant(I, Changed, Preheader->getTerminator())) 193 TerminatorInst *TI = preheader->getTerminator();
|
Sink.cpp | 122 if (BB.getTerminator()->getNumSuccessors() <= 1) return false; 200 if (SuccToSinkTo->getTerminator()->isExceptional())
|
LoopDistribute.cpp | 105 Set.insert(B->getTerminator()); 393 assert(&*OrigPH->begin() == OrigPH->getTerminator() && 411 Pred->getTerminator()->replaceUsesOfWith(OrigPH, TopPH); 778 if (!PH->getSinglePredecessor() || &*PH->begin() != PH->getTerminator()) 779 SplitBlock(PH, PH->getTerminator(), DT, LI);
|
TailRecursionElimination.cpp | 412 if (ReturnInst *Ret = dyn_cast<ReturnInst>(BB->getTerminator())) { 505 if (SwitchInst *SI = dyn_cast<SwitchInst>(UniquePred->getTerminator())) 521 ReturnInst *RI = dyn_cast<ReturnInst>(BBI->getTerminator()); 782 if (ReturnInst *RI = dyn_cast<ReturnInst>(BBI->getTerminator())) [all...] |
LoopUnswitch.cpp | 537 TerminatorInst *TI = (*I)->getTerminator(); 788 loopPreheader->getTerminator(), TI); 789 LPM->deleteSimpleAnalysisValue(loopPreheader->getTerminator(), L); 790 loopPreheader->getTerminator()->eraseFromParent(); 810 TerminatorInst *CurrentTerm = CurrentBB->getTerminator(); [all...] |
IndVarSimplify.cpp | 231 InsertPt = InsertBB->getTerminator(); 235 InsertPt = InsertBB->getTerminator(); 250 return DTN->getBlock()->getTerminator(); [all...] |
/external/llvm/include/llvm/IR/ |
Statepoint.h | 347 assert(InvokeBB->getTerminator() && 349 assert(isStatepoint(InvokeBB->getTerminator())); 351 return InvokeBB->getTerminator();
|
/external/llvm/lib/CodeGen/ |
WinEHPrepare.cpp | 163 auto *II = dyn_cast<InvokeInst>(BB.getTerminator()); 207 const TerminatorInst *TI = BB->getTerminator(); 539 const auto *CatchRet = dyn_cast<CatchReturnInst>(BB.getTerminator()); 803 std::prev(BB->getTerminator()->getIterator()); 815 TerminatorInst *TI = BB->getTerminator(); [all...] |
SjLjEHPrepare.cpp | 228 IRBuilder<> Builder(EntryBB->getTerminator()); 378 if (InvokeInst *II = dyn_cast<InvokeInst>(BB->getTerminator())) { 390 } else if (ReturnInst *RI = dyn_cast<ReturnInst>(BB->getTerminator())) { 405 IRBuilder<> Builder(EntryBB->getTerminator()); 462 CallInst::Create(RegisterFn, FuncCtx, "", EntryBB->getTerminator());
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
UnreachableCodeChecker.cpp | 201 if (const Stmt *S = CB->getTerminator()) 250 && !CB->getTerminator(); // No terminator
|
/external/llvm/lib/Target/XCore/ |
XCoreLowerThreadLocal.cpp | 140 if (PredBB->getTerminator()->getNumSuccessors() > 1) 142 Instruction *InsertPos = PredBB->getTerminator();
|
/external/llvm/lib/Transforms/IPO/ |
PruneEH.cpp | 113 const TerminatorInst *TI = BB.getTerminator(); 187 if (InvokeInst *II = dyn_cast<InvokeInst>(BB->getTerminator()))
|
/external/clang/lib/Analysis/ |
ReachableCode.cpp | 52 if (const Stmt *Term = B->getTerminator()) { 90 if (Current->getTerminator().isTemporaryDtorsBranch()) { 97 } else if (!Current->getTerminator() && Current->succ_size() == 1) { 254 if (const Stmt *Term = B->getTerminator()) { 422 if (CFGTerminator T = Block->getTerminator()) {
|
/external/llvm/lib/Target/AMDGPU/ |
SIAnnotateControlFlow.cpp | 256 TerminatorInst *Insert = From->getTerminator(); 267 Insert = Parent->getTerminator(); 330 BranchInst *Term = dyn_cast<BranchInst>((*I)->getTerminator());
|