Lines Matching defs:RemovedSucc
154 BasicBlock *RemovedSucc = BI->getSuccessor(CI->isOne());
155 // Tell RemovedSucc we will remove BB from its predecessors.
156 RemovedSucc->removePredecessor(&BB);
190 BasicBlock *RemovedSucc = BI->getSuccessor(CI->isOne());
191 // Tell RemovedSucc we will remove BB from its predecessors.
192 RemovedSucc->removePredecessor(&BB);
201 // Delete the edge between BB and RemovedSucc in the DominatorTree, iff
202 // the conditional branch did not use RemovedSucc as both the true and false
204 if (NewBranch->getSuccessor(0) != RemovedSucc)
205 DTUpdates.push_back({DominatorTree::Delete, &BB, RemovedSucc});
225 BasicBlock *TakenSucc, *RemovedSucc;
228 // RemovedSucc.
231 m_BasicBlock(RemovedSucc))))
234 // If the condition is false, swap TakenSucc and RemovedSucc.
236 std::swap(TakenSucc, RemovedSucc);
238 // Tell RemovedSucc we will remove BB from its predecessors.
239 RemovedSucc->removePredecessor(&BB);
249 // Delete the edge between BB and RemovedSucc in the DominatorTree, iff
250 // the conditional branch did not use RemovedSucc as both the true and false
252 if (NewBranch->getSuccessor(0) != RemovedSucc)
253 DTUpdates.push_back({DominatorTree::Delete, &BB, RemovedSucc});