Lines Matching refs:getTerminator
40 TerminatorInst *BBTerm = BB->getTerminator();
121 if (PredBB->getTerminator()->isExceptional())
243 TerminatorInst *LatchTerm = BB->getTerminator();
260 assert(BB->getTerminator()->getNumSuccessors() == 1 &&
262 return SplitBlock(BB, BB->getTerminator(), DT, LI);
270 TerminatorInst *TI = I->getTerminator();
506 assert(!isa<IndirectBrInst>(Preds[i]->getTerminator()) &&
508 Preds[i]->getTerminator()->replaceUsesOfWith(BB, NewBB);
569 assert(!isa<IndirectBrInst>(Preds[i]->getTerminator()) &&
571 Preds[i]->getTerminator()->replaceUsesOfWith(OrigBB, NewBB1);
587 assert(!isa<IndirectBrInst>(Pred->getTerminator()) &&
608 (*i)->getTerminator()->replaceUsesOfWith(OrigBB, NewBB2);
650 Instruction *UncondBranch = Pred->getTerminator();
713 TerminatorInst *HeadOldTerm = Head->getTerminator();
763 TerminatorInst *HeadOldTerm = Head->getTerminator();
812 BranchInst *Pred1Br = dyn_cast<BranchInst>(Pred1->getTerminator());
813 BranchInst *Pred2Br = dyn_cast<BranchInst>(Pred2->getTerminator());
865 BranchInst *BI = dyn_cast<BranchInst>(CommonPred->getTerminator());