Searched refs:OldPredBranch (Results 1 – 2 of 2) sorted by relevance
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()
2346 BranchInst *OldPredBranch = dyn_cast<BranchInst>(PredBB->getTerminator()); in DuplicateCondBranchOnPHIIntoPred() local2348 if (!OldPredBranch || !OldPredBranch->isUnconditional()) { in DuplicateCondBranchOnPHIIntoPred()2354 OldPredBranch = cast<BranchInst>(PredBB->getTerminator()); in DuplicateCondBranchOnPHIIntoPred()2394 PredBB->getInstList().insert(OldPredBranch->getIterator(), New); in DuplicateCondBranchOnPHIIntoPred()2417 OldPredBranch->eraseFromParent(); in DuplicateCondBranchOnPHIIntoPred()