Lines Matching refs:getTerminator
233 << "' with terminator: " << *BB->getTerminator() << '\n');
241 BranchInst *BI = dyn_cast<BranchInst>(BB->getTerminator());
678 TerminatorInst *BBTerm = BB->getTerminator();
719 const TerminatorInst *TI = SinglePred->getTerminator();
739 Instruction *Terminator = BB->getTerminator();
773 TerminatorInst *BBTerm = BB->getTerminator();
791 << "' folding terminator: " << *BB->getTerminator() << '\n');
813 BranchInst *CondBr = dyn_cast<BranchInst>(BB->getTerminator());
871 if (PN->getParent() == BB && isa<BranchInst>(BB->getTerminator()))
877 CondInst->getParent() == BB && isa<BranchInst>(BB->getTerminator()))
889 auto *BI = dyn_cast<BranchInst>(BB->getTerminator());
901 auto *PBI = dyn_cast<BranchInst>(CurrentPred->getTerminator());
1027 OneUnavailablePred->getTerminator()->getNumSuccessors() == 1) {
1043 if (isa<IndirectBrInst>(P->getTerminator()))
1058 assert(UnavailablePred->getTerminator()->getNumSuccessors() == 1 &&
1062 UnavailablePred->getTerminator());
1099 P->getTerminator());
1158 TerminatorInst *TI = BB->getTerminator();
1214 if (isa<IndirectBrInst>(Pred->getTerminator()))
1222 else if (BranchInst *BI = dyn_cast<BranchInst>(BB->getTerminator()))
1224 else if (SwitchInst *SI = dyn_cast<SwitchInst>(BB->getTerminator())) {
1227 assert(isa<IndirectBrInst>(BB->getTerminator())
1264 TerminatorInst *PredTI = Pred->getTerminator();
1273 MostPopularDest = BB->getTerminator()->
1298 if (BranchInst *PredBr = dyn_cast<BranchInst>(PredBB->getTerminator()))
1528 NewBI->setDebugLoc(BB->getTerminator()->getDebugLoc());
1576 TerminatorInst *PredTerm = PredBB->getTerminator();
1660 auto TI = BB->getTerminator();
1711 BranchInst *OldPredBranch = dyn_cast<BranchInst>(PredBB->getTerminator());
1715 OldPredBranch = cast<BranchInst>(PredBB->getTerminator());
1755 BranchInst *BBBranch = cast<BranchInst>(BB->getTerminator());
1823 BranchInst *CondBr = dyn_cast<BranchInst>(BB->getTerminator());
1840 BranchInst *PredTerm = dyn_cast<BranchInst>(Pred->getTerminator());