Searched refs:SuspendBB (Results 1 – 3 of 3) sorted by relevance
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/ |
D | CoroSplit.cpp | 341 auto *SuspendBB = S->getParent(); in createResumeEntryBlock() local 343 SuspendBB->splitBasicBlock(S, "resume." + Twine(SuspendIndex)); in createResumeEntryBlock() 348 cast<BranchInst>(SuspendBB->getTerminator())->setSuccessor(0, LandingBB); in createResumeEntryBlock() 351 PN->addIncoming(Builder.getInt8(-1), SuspendBB); in createResumeEntryBlock() 1265 auto SuspendBB = Suspend->getParent(); in splitRetconCoroutine() local 1266 auto NewSuspendBB = SuspendBB->splitBasicBlock(Suspend); in splitRetconCoroutine() 1267 auto Branch = cast<BranchInst>(SuspendBB->getTerminator()); in splitRetconCoroutine() 1316 ReturnPHIs[0]->addIncoming(Continuation, SuspendBB); in splitRetconCoroutine() 1319 ReturnPHIs[NextPHIIndex++]->addIncoming(&*VUse, SuspendBB); in splitRetconCoroutine()
|
/external/llvm-project/llvm/lib/Transforms/Coroutines/ |
D | CoroSplit.cpp | 352 auto *SuspendBB = S->getParent(); in createResumeEntryBlock() local 354 SuspendBB->splitBasicBlock(S, "resume." + Twine(SuspendIndex)); in createResumeEntryBlock() 359 cast<BranchInst>(SuspendBB->getTerminator())->setSuccessor(0, LandingBB); in createResumeEntryBlock() 362 PN->addIncoming(Builder.getInt8(-1), SuspendBB); in createResumeEntryBlock() 1433 auto *SuspendBB = Suspend->getParent(); in splitAsyncCoroutine() local 1434 auto *NewSuspendBB = SuspendBB->splitBasicBlock(Suspend); in splitAsyncCoroutine() 1435 auto *Branch = cast<BranchInst>(SuspendBB->getTerminator()); in splitAsyncCoroutine() 1541 auto SuspendBB = Suspend->getParent(); in splitRetconCoroutine() local 1542 auto NewSuspendBB = SuspendBB->splitBasicBlock(Suspend); in splitRetconCoroutine() 1543 auto Branch = cast<BranchInst>(SuspendBB->getTerminator()); in splitRetconCoroutine() [all …]
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGCoroutine.cpp | 44 llvm::BasicBlock *SuspendBB = nullptr; member 218 auto *Switch = Builder.CreateSwitch(SuspendResult, Coro.SuspendBB, 2); in emitSuspendExpression() 558 CurCoro.Data->SuspendBB = RetBB; in EmitCoroutineBody()
|