Lines Matching refs:AsyncToken
173 struct AsyncToken : public RefCounted { struct
179 AsyncToken(AsyncRuntime *runtime) in AsyncToken() argument
240 extern "C" AsyncToken *mlirAsyncRuntimeCreateToken() { in mlirAsyncRuntimeCreateToken()
241 AsyncToken *token = new AsyncToken(getDefaultAsyncRuntime()); in mlirAsyncRuntimeCreateToken()
257 extern "C" int64_t mlirAsyncRuntimeAddTokenToGroup(AsyncToken *token, in mlirAsyncRuntimeAddTokenToGroup()
307 static void setTokenState(AsyncToken *token, State state) { in setTokenState()
343 extern "C" void mlirAsyncRuntimeEmplaceToken(AsyncToken *token) { in mlirAsyncRuntimeEmplaceToken()
351 extern "C" void mlirAsyncRuntimeSetTokenError(AsyncToken *token) { in mlirAsyncRuntimeSetTokenError()
359 extern "C" bool mlirAsyncRuntimeIsTokenError(AsyncToken *token) { in mlirAsyncRuntimeIsTokenError()
371 extern "C" void mlirAsyncRuntimeAwaitToken(AsyncToken *token) { in mlirAsyncRuntimeAwaitToken()
402 extern "C" void mlirAsyncRuntimeAwaitTokenAndExecute(AsyncToken *token, in mlirAsyncRuntimeAwaitTokenAndExecute()