reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
398 auto &CGM = CGF.CGM; 399 auto *NullPtr = llvm::ConstantPointerNull::get(CGF.Int8PtrTy); 402 auto Bundles = getBundlesForCoroEnd(CGF); 403 auto *CoroEnd = CGF.Builder.CreateCall( 404 CoroEndFn, {NullPtr, CGF.Builder.getTrue()}, Bundles); 408 auto *ResumeBB = CGF.getEHResumeBlock(/*isCleanup=*/true); 409 auto *CleanupContBB = CGF.createBasicBlock("cleanup.cont"); 410 CGF.Builder.CreateCondBr(CoroEnd, ResumeBB, CleanupContBB); 411 CGF.EmitBlock(CleanupContBB);