- Jun 07, 2021
-
-
River Riddle authored
We were accidentally only using the first found reference, instead of all of them. This revision fixes this by properly tracking all references to a symbol. Differential Revision: https://reviews.llvm.org/D103730
-
- Jun 04, 2021
-
-
River Riddle authored
This revision adds assembly state tracking for uses of symbols, allowing for go-to-definition and references support for SymbolRefAttrs. Differential Revision: https://reviews.llvm.org/D103585
-
- Jun 02, 2021
-
-
Jacques Pienaar authored
Currently the diagnostics reports the file:line:col, but some LSP frontends require a non-empty range. Report either the range of an identifier that starts at location, or a range of 1. Expose the id location to range helper and reuse here. Differential Revision: https://reviews.llvm.org/D103482
-
- May 12, 2021
-
-
River Riddle authored
This allows for diagnostics emitted during parsing/verification to be surfaced to the user by the language client, as opposed to just being emitted to the logs like they are now. Differential Revision: https://reviews.llvm.org/D102293
-
- May 08, 2021
-
-
River Riddle authored
This provides information when the user hovers over a part of the source .mlir file. This revision adds the following hover behavior: * Operation: - Shows the generic form. * Operation Result: - Shows the parent operation name, result number(s), and type(s). * Block: - Shows the parent operation name, block number, predecessors, and successors. * Block Argument: - Shows the parent operation name, parent block, argument number, and type. Differential Revision: https://reviews.llvm.org/D101113
-
- Apr 21, 2021
-
-
River Riddle authored
This information isn't useful for general compilation, but is useful for building tools that process .mlir files. This class will be used in a followup to start building an LSP language server for MLIR. Differential Revision: https://reviews.llvm.org/D100438
-