Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/include/mlir/ExecutionEngine/
H A DAsyncRuntime.h38 using AsyncValue = struct AsyncValue;
66 extern "C" AsyncValue *mlirAsyncRuntimeCreateValue(int64_t);
77 extern "C" void mlirAsyncRuntimeEmplaceValue(AsyncValue *);
83 extern "C" void mlirAsyncRuntimeSetValueError(AsyncValue *);
89 extern "C" bool mlirAsyncRuntimeIsValueError(AsyncValue *);
99 extern "C" void mlirAsyncRuntimeAwaitValue(AsyncValue *);
105 extern "C" ValueStorage mlirAsyncRuntimeGetValueStorage(AsyncValue *);
118 extern "C" void mlirAsyncRuntimeAwaitValueAndExecute(AsyncValue *, CoroHandle,
/llvm-project-15.0.7/mlir/lib/ExecutionEngine/
H A DAsyncRuntime.cpp193 struct AsyncValue : public RefCounted { struct
195 AsyncValue(AsyncRuntime *runtime, int64_t size) in AsyncValue() function
246 extern "C" AsyncValue *mlirAsyncRuntimeCreateValue(int64_t size) { in mlirAsyncRuntimeCreateValue()
247 AsyncValue *value = new AsyncValue(getDefaultAsyncRuntime(), size); in mlirAsyncRuntimeCreateValue()
325 static void setValueState(AsyncValue *value, State state) { in setValueState()
347 extern "C" void mlirAsyncRuntimeEmplaceValue(AsyncValue *value) { in mlirAsyncRuntimeEmplaceValue()
355 extern "C" void mlirAsyncRuntimeSetValueError(AsyncValue *value) { in mlirAsyncRuntimeSetValueError()
363 extern "C" bool mlirAsyncRuntimeIsValueError(AsyncValue *value) { in mlirAsyncRuntimeIsValueError()
378 extern "C" void mlirAsyncRuntimeAwaitValue(AsyncValue *value) { in mlirAsyncRuntimeAwaitValue()
392 extern "C" ValueStorage mlirAsyncRuntimeGetValueStorage(AsyncValue *value) { in mlirAsyncRuntimeGetValueStorage()
[all …]