mlir/utils/tree-sitter-mlir/test/highlight/type.mlir
raw| 1 | !baz = i64 |
| 2 | // <- type |
| 3 | // ^ type.builtin |
| 4 | !qux = !llvm.struct<(!baz)> |
| 5 | // <- type |
| 6 | // ^ type |
| 7 | !rec = !llvm.struct<"a", (ptr<struct<"a">>)> |
| 8 | // <- type |
| 9 | // ^ type |
| 10 | llvm.func @aliases() { |
| 11 | // <- function.builtin |
| 12 | // ^ function |
| 13 | "some.op"() : () -> !llvm.struct<(i32, f32, !qux)> |
| 14 | // ^ type |
| 15 | "some.op"() : () -> !rec |
| 16 | // ^ type |
| 17 | llvm.return |
| 18 | // ^ function.builtin |
| 19 | } |