Lines Matching refs:async
5 func.func @no_op(%arg0: !async.token) {
12 …// expected-error @+1 {{'async.await' op operand #0 must be async value type or async token type, …
13 async.await %arg0 : f32
18 func.func @wrong_async_await_result_type(%arg0: !async.value<f32>) {
19 // expected-error @+1 {{'async.await' op result type 'f64' does not match async value type 'f32'}}
20 %0 = "async.await"(%arg0): (!async.value<f32>) -> f64
25 // expected-error @+1 {{'async.func' op result is expected to be at least of size 1, but got 0}}
26 async.func @wrong_async_func_void_result_type(%arg0: f32) {
32 // expected-error @+1 {{'async.func' op result type must be async value type or async token type, b…
33 async.func @wrong_async_func_result_type(%arg0: f32) -> f32 {
38 // expected-error @+1 {{'async.func' op results' (optional) async token type is expected to appear…
39 async.func @wrong_async_func_token_type_placement(%arg0: f32) -> (!async.value<f32>, !async.token) {
44 async.func @wrong_async_func_return_type(%arg0: f32) -> (!async.token, !async.value<i32>) {
45 …// expected-error @+1 {{'async.return' op operand types do not match the types returned from the p…