Lines Matching refs:BranchInst
182 BranchInst *BI = dyn_cast<BranchInst>(BB->getTerminator());
677 if (BranchInst *BI = dyn_cast<BranchInst>(Terminator)) {
717 BranchInst::Create(BBTerm->getSuccessor(BestSucc), BBTerm);
748 BranchInst *CondBr = dyn_cast<BranchInst>(BB->getTerminator());
775 BranchInst::Create(CondBr->getSuccessor(ToKeep), CondBr);
814 if (PN->getParent() == BB && isa<BranchInst>(BB->getTerminator()))
820 CondInst->getParent() == BB && isa<BranchInst>(BB->getTerminator()))
1115 else if (BranchInst *BI = dyn_cast<BranchInst>(BB->getTerminator()))
1191 if (BranchInst *PredBr = dyn_cast<BranchInst>(PredBB->getTerminator()))
1413 BranchInst *NewBI =BranchInst::Create(SuccBB, NewBB);
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());
1685 BranchInst::Create(NewBB, BB, SI->getCondition(), Pred);