Lines Matching refs:AsyncValue
193 struct AsyncValue : public RefCounted { struct
195 AsyncValue(AsyncRuntime *runtime, int64_t size) in AsyncValue() argument
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()
415 extern "C" void mlirAsyncRuntimeAwaitValueAndExecute(AsyncValue *value, in mlirAsyncRuntimeAwaitValueAndExecute()