LLVM MIRSyntax highlighting for LLVM MIR (LLVM Machine Intermediate Representation). The grammar covers the YAML container used by MIR files, embedded LLVM IR, machine basic blocks, target and generic machine instructions, physical and virtual registers, register flags, memory operands, debug attachments, and MIR function properties. Keyword scopes follow the VS Code TextMate conventions used by the LLVM IR grammar. Control-flow instructions, arithmetic instructions, predicates, atomic orderings, attributes, calling conventions, constants, types, and MIR machine constructs are classified separately so themes can color them independently. This project is copied and adapted from vscode-llvm and LLVM TextMate Bundle. |