Searched refs:OldPredBranch (Results 1 – 3 of 3) sorted by relevance
1494 BranchInst *OldPredBranch = dyn_cast<BranchInst>(PredBB->getTerminator()); in DuplicateCondBranchOnPHIIntoPred() local1496 if (OldPredBranch == 0 || !OldPredBranch->isUnconditional()) { in DuplicateCondBranchOnPHIIntoPred()1498 OldPredBranch = cast<BranchInst>(PredBB->getTerminator()); in DuplicateCondBranchOnPHIIntoPred()1531 PredBB->getInstList().insert(OldPredBranch, New); in DuplicateCondBranchOnPHIIntoPred()1588 OldPredBranch->eraseFromParent(); in DuplicateCondBranchOnPHIIntoPred()
1719 BranchInst *OldPredBranch = dyn_cast<BranchInst>(PredBB->getTerminator()); in DuplicateCondBranchOnPHIIntoPred() local1721 if (!OldPredBranch || !OldPredBranch->isUnconditional()) { in DuplicateCondBranchOnPHIIntoPred()1723 OldPredBranch = cast<BranchInst>(PredBB->getTerminator()); in DuplicateCondBranchOnPHIIntoPred()1762 PredBB->getInstList().insert(OldPredBranch->getIterator(), New); in DuplicateCondBranchOnPHIIntoPred()1817 OldPredBranch->eraseFromParent(); in DuplicateCondBranchOnPHIIntoPred()
2273 BranchInst *OldPredBranch = dyn_cast<BranchInst>(PredBB->getTerminator()); in DuplicateCondBranchOnPHIIntoPred() local2275 if (!OldPredBranch || !OldPredBranch->isUnconditional()) { in DuplicateCondBranchOnPHIIntoPred()2281 OldPredBranch = cast<BranchInst>(PredBB->getTerminator()); in DuplicateCondBranchOnPHIIntoPred()2321 PredBB->getInstList().insert(OldPredBranch->getIterator(), New); in DuplicateCondBranchOnPHIIntoPred()2380 OldPredBranch->eraseFromParent(); in DuplicateCondBranchOnPHIIntoPred()