bolt/deps/llvm-18.1.8/mlir/utils/tree-sitter-mlir
2025-02-14 19:21:04 +01:00
..
dialect Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
queries Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
test Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
.gitignore Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
grammar.js Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
package-lock.json Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
package.json Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
README.md Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00

tree-sitter-mlir

tree-sitter grammar for MLIR following the lang-ref. The parser is incomplete, and the bench statistics on the test files in the MLIR tree are as follows:

Math, 100% passed
Builtin, 100% passed
Func, 100% passed
ControlFlow, 100% passed
Tensor, 93.33% passed
Arith, 83.33% passed
SCF, 88% passed
Affine, 73.08% passed
Linalg, 51.11% passed