Searched refs:CleanupPadBB (Results 1 – 1 of 1) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroFrame.cpp | 1835 static void rewritePHIsForCleanupPad(BasicBlock *CleanupPadBB, in rewritePHIsForCleanupPad() argument 1866 CleanupPadBB->getContext(), "unreachable", CleanupPadBB->getParent()); in rewritePHIsForCleanupPad() 1872 BasicBlock::Create(CleanupPadBB->getContext(), in rewritePHIsForCleanupPad() 1874 CleanupPadBB->getParent(), CleanupPadBB); in rewritePHIsForCleanupPad() 1878 Builder.CreatePHI(SwitchType, pred_size(CleanupPadBB)); in rewritePHIsForCleanupPad() 1885 SmallVector<BasicBlock *, 8> Preds(predecessors(CleanupPadBB)); in rewritePHIsForCleanupPad() 1889 CleanupPadBB->getName() + in rewritePHIsForCleanupPad() 1891 CleanupPadBB->getParent(), CleanupPadBB); in rewritePHIsForCleanupPad() 1892 updatePhiNodes(CleanupPadBB, Pred, CaseBB); in rewritePHIsForCleanupPad() 1893 CaseBB->setName(CleanupPadBB->getName() + Twine(".from.") + in rewritePHIsForCleanupPad() [all …]
|