Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp1543 auto *SuspendBB = S->getParent(); in createResumeEntryBlock() local
1545 SuspendBB->splitBasicBlock(S, "resume." + Twine(SuspendIndex)); in createResumeEntryBlock()
1550 cast<BranchInst>(SuspendBB->getTerminator())->setSuccessor(0, LandingBB); in createResumeEntryBlock()
1554 PN->addIncoming(Builder.getInt8(-1), SuspendBB); in createResumeEntryBlock()
1738 auto *SuspendBB = Suspend->getParent(); in splitAsyncCoroutine() local
1739 auto *NewSuspendBB = SuspendBB->splitBasicBlock(Suspend); in splitAsyncCoroutine()
1740 auto *Branch = cast<BranchInst>(SuspendBB->getTerminator()); in splitAsyncCoroutine()
1835 auto SuspendBB = Suspend->getParent(); in splitRetconCoroutine() local
1836 auto NewSuspendBB = SuspendBB->splitBasicBlock(Suspend); in splitRetconCoroutine()
1837 auto Branch = cast<BranchInst>(SuspendBB->getTerminator()); in splitRetconCoroutine()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCoroutine.cpp44 llvm::BasicBlock *SuspendBB = nullptr; member
327 auto *Switch = Builder.CreateSwitch(SuspendResult, Coro.SuspendBB, 2); in emitSuspendExpression()
791 CurCoro.Data->SuspendBB = RetBB; in EmitCoroutineBody()