Searched refs:RemovedSucc (Results 1 – 2 of 2) sorted by relevance
156 BasicBlock *RemovedSucc = BI->getSuccessor(CI->isOne()); in eliminateCondBranches_v1() local158 RemovedSucc->removePredecessor(&BB); in eliminateCondBranches_v1()192 BasicBlock *RemovedSucc = BI->getSuccessor(CI->isOne()); in eliminateCondBranches_v2() local194 RemovedSucc->removePredecessor(&BB); in eliminateCondBranches_v2()206 if (NewBranch->getSuccessor(0) != RemovedSucc) in eliminateCondBranches_v2()207 DTUpdates.push_back({DominatorTree::Delete, &BB, RemovedSucc}); in eliminateCondBranches_v2()227 BasicBlock *TakenSucc, *RemovedSucc; in eliminateCondBranches_v3() local233 m_BasicBlock(RemovedSucc)))) in eliminateCondBranches_v3()238 std::swap(TakenSucc, RemovedSucc); in eliminateCondBranches_v3()241 RemovedSucc->removePredecessor(&BB); in eliminateCondBranches_v3()[all …]
990 for (auto *RemovedSucc : RemovedSuccs) in SimplifyEqualityComparisonWithOnlyPredecessor() local991 Updates.push_back({DominatorTree::Delete, TIBB, RemovedSucc}); in SimplifyEqualityComparisonWithOnlyPredecessor()6317 for (auto *RemovedSucc : RemovedSuccs) in simplifyIndirectBr() local6318 Updates.push_back({DominatorTree::Delete, BB, RemovedSucc}); in simplifyIndirectBr()