Home
last modified time | relevance | path

Searched refs:RemovedSucc (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/examples/IRTransforms/
H A DSimplifyCFG.cpp156 BasicBlock *RemovedSucc = BI->getSuccessor(CI->isOne()); in eliminateCondBranches_v1() local
158 RemovedSucc->removePredecessor(&BB); in eliminateCondBranches_v1()
192 BasicBlock *RemovedSucc = BI->getSuccessor(CI->isOne()); in eliminateCondBranches_v2() local
194 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() local
233 m_BasicBlock(RemovedSucc)))) in eliminateCondBranches_v3()
238 std::swap(TakenSucc, RemovedSucc); in eliminateCondBranches_v3()
241 RemovedSucc->removePredecessor(&BB); in eliminateCondBranches_v3()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp990 for (auto *RemovedSucc : RemovedSuccs) in SimplifyEqualityComparisonWithOnlyPredecessor() local
991 Updates.push_back({DominatorTree::Delete, TIBB, RemovedSucc}); in SimplifyEqualityComparisonWithOnlyPredecessor()
6317 for (auto *RemovedSucc : RemovedSuccs) in simplifyIndirectBr() local
6318 Updates.push_back({DominatorTree::Delete, BB, RemovedSucc}); in simplifyIndirectBr()