Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DIndirectBrExpandPass.cpp112 if (auto *IBr = dyn_cast<IndirectBrInst>(BB.getTerminator())) { in runImpl() local
115 if (IBr->getNumSuccessors() == 0) { in runImpl()
116 (void)new UnreachableInst(F.getContext(), IBr->getIterator()); in runImpl()
117 IBr->eraseFromParent(); in runImpl()
121 IndirectBrs.push_back(IBr); in runImpl()
122 for (BasicBlock *SuccBB : IBr->successors()) in runImpl()
181 for (auto *IBr : IndirectBrs) { in runImpl() local
183 for (BasicBlock *SuccBB : IBr->successors()) in runImpl()
184 Updates.push_back({DominatorTree::Delete, IBr->getParent(), SuccBB}); in runImpl()
186 (void)new UnreachableInst(F.getContext(), IBr->getIterator()); in runImpl()
[all …]