Home | History | Annotate | Download | only in Scalar

Lines Matching refs:getTerminator

174               << "' with terminator: " << *BB->getTerminator() << '\n');
182 BranchInst *BI = dyn_cast<BranchInst>(BB->getTerminator());
611 TerminatorInst *BBTerm = BB->getTerminator();
652 if (SinglePred->getTerminator()->getNumSuccessors() == 1 &&
676 Instruction *Terminator = BB->getTerminator();
709 TerminatorInst *BBTerm = BB->getTerminator();
727 << "' folding terminator: " << *BB->getTerminator() << '\n');
748 BranchInst *CondBr = dyn_cast<BranchInst>(BB->getTerminator());
814 if (PN->getParent() == BB && isa<BranchInst>(BB->getTerminator()))
820 CondInst->getParent() == BB && isa<BranchInst>(BB->getTerminator()))
929 OneUnavailablePred->getTerminator()->getNumSuccessors() == 1) {
945 if (isa<IndirectBrInst>(P->getTerminator()))
961 assert(UnavailablePred->getTerminator()->getNumSuccessors() == 1 &&
965 UnavailablePred->getTerminator());
1052 TerminatorInst *TI = BB->getTerminator();
1107 if (isa<IndirectBrInst>(Pred->getTerminator()))
1115 else if (BranchInst *BI = dyn_cast<BranchInst>(BB->getTerminator()))
1117 else if (SwitchInst *SI = dyn_cast<SwitchInst>(BB->getTerminator())) {
1120 assert(isa<IndirectBrInst>(BB->getTerminator())
1157 TerminatorInst *PredTI = Pred->getTerminator();
1166 MostPopularDest = BB->getTerminator()->
1191 if (BranchInst *PredBr = dyn_cast<BranchInst>(PredBB->getTerminator()))
1414 NewBI->setDebugLoc(BB->getTerminator()->getDebugLoc());
1463 TerminatorInst *PredTerm = PredBB->getTerminator();
1524 BranchInst *OldPredBranch = dyn_cast<BranchInst>(PredBB->getTerminator());
1528 OldPredBranch = cast<BranchInst>(PredBB->getTerminator());
1568 BranchInst *BBBranch = cast<BranchInst>(BB->getTerminator());
1637 BranchInst *CondBr = dyn_cast<BranchInst>(BB->getTerminator());
1654 BranchInst *PredTerm = dyn_cast<BranchInst>(Pred->getTerminator());