Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/include/mlir/ExecutionEngine/
H A DAsyncRuntime.h46 using CoroHandle = void *; // coroutine handle variable
109 extern "C" void mlirAsyncRuntimeExecute(CoroHandle, CoroResume);
113 extern "C" void mlirAsyncRuntimeAwaitTokenAndExecute(AsyncToken *, CoroHandle,
118 extern "C" void mlirAsyncRuntimeAwaitValueAndExecute(AsyncValue *, CoroHandle,
124 mlirAsyncRuntimeAwaitAllInGroupAndExecute(AsyncGroup *, CoroHandle, CoroResume);
/llvm-project-15.0.7/mlir/lib/ExecutionEngine/
H A DAsyncRuntime.cpp397 extern "C" void mlirAsyncRuntimeExecute(CoroHandle handle, CoroResume resume) { in mlirAsyncRuntimeExecute()
403 CoroHandle handle, in mlirAsyncRuntimeAwaitTokenAndExecute()
416 CoroHandle handle, in mlirAsyncRuntimeAwaitValueAndExecute()
429 CoroHandle handle, in mlirAsyncRuntimeAwaitAllInGroupAndExecute()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Async/IR/
H A DAsyncTypes.td86 def Async_CoroHandleType : Async_Type<"CoroHandle", "coro.handle"> {
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaCoroutine.cpp156 ClassTemplateDecl *CoroHandle = Result.getAsSingle<ClassTemplateDecl>(); in lookupCoroutineHandleType() local
157 if (!CoroHandle) { in lookupCoroutineHandleType()
173 S.CheckTemplateIdType(TemplateName(CoroHandle), Loc, Args); in lookupCoroutineHandleType()
423 Expr *CoroHandle = CoroHandleRes.get(); in buildCoawaitCalls() local
425 BuildSubExpr(ACT::ACT_Suspend, "await_suspend", CoroHandle)); in buildCoawaitCalls()