xref: /llvm-project/mlir/utils/tree-sitter-mlir/test/highlight/type.mlir (revision 10f8be19e7562624c0e63872e28cc963e03e56a5)
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
10llvm.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}
20