diff --git a/languages.toml b/languages.toml index 4e63b2d46..d572bee90 100644 --- a/languages.toml +++ b/languages.toml @@ -1559,7 +1559,7 @@ injection-regex = "llvm" [[grammar]] name = "llvm" -source = { git = "https://github.com/benwilliamgraham/tree-sitter-llvm", rev = "e9948edc41e9e5869af99dddb2b5ff5cc5581af6" } +source = { git = "https://github.com/benwilliamgraham/tree-sitter-llvm", rev = "c14cb839003348692158b845db9edda201374548" } [[language]] name = "llvm-mir" @@ -1571,7 +1571,7 @@ injection-regex = "mir" [[grammar]] name = "llvm-mir" -source = { git = "https://github.com/Flakebi/tree-sitter-llvm-mir", rev = "06fabca19454b2dc00c1b211a7cb7ad0bc2585f1" } +source = { git = "https://github.com/Flakebi/tree-sitter-llvm-mir", rev = "d166ff8c5950f80b0a476956e7a0ad2f27c12505" } [[language]] name = "llvm-mir-yaml" @@ -1594,7 +1594,7 @@ injection-regex = "tablegen" [[grammar]] name = "tablegen" -source = { git = "https://github.com/Flakebi/tree-sitter-tablegen", rev = "568dd8a937347175fd58db83d4c4cdaeb6069bd2" } +source = { git = "https://github.com/Flakebi/tree-sitter-tablegen", rev = "3e9c4822ab5cdcccf4f8aa9dcd42117f736d51d9" } [[language]] name = "markdown" diff --git a/runtime/queries/llvm-mir/highlights.scm b/runtime/queries/llvm-mir/highlights.scm index 792346122..743b9690b 100644 --- a/runtime/queries/llvm-mir/highlights.scm +++ b/runtime/queries/llvm-mir/highlights.scm @@ -75,11 +75,16 @@ "pre-instr-symbol" "post-instr-symbol" "heap-alloc-marker" + "pcsections" + "mmra" + "cfi-type" "debug-instr-number" "debug-location" + "dbg-instr-ref" "mcsymbol" "tied-def" "target-flags" + "vscale" "CustomRegMask" "same_value" "def_cfa_register" @@ -118,11 +123,16 @@ "got" "jump-table" "syncscope" - "address-taken" + "machine-block-address-taken" + "ir-block-address-taken" "landing-pad" "inlineasm-br-indirect-target" "ehfunclet-entry" + "bb_id" + "call-frame-size" "bbsections" + "Exception" + "Cold" (intpred) (floatpred) diff --git a/runtime/queries/llvm/highlights.scm b/runtime/queries/llvm/highlights.scm index cb705197e..4de2a1655 100644 --- a/runtime/queries/llvm/highlights.scm +++ b/runtime/queries/llvm/highlights.scm @@ -17,9 +17,11 @@ [ "to" + "nneg" "nuw" "nsw" "exact" + "disjoint" "unwind" "from" "cleanup" diff --git a/runtime/queries/tablegen/highlights.scm b/runtime/queries/tablegen/highlights.scm index 8ade5ba9a..188fa2ef0 100644 --- a/runtime/queries/tablegen/highlights.scm +++ b/runtime/queries/tablegen/highlights.scm @@ -68,7 +68,9 @@ "def" "defset" "defvar" + "deftype" "assert" + "dump" ] @keyword [