#
db791b27 |
| 02-Jul-2024 |
Ramkumar Ramachandra <ramkumar.ramachandra@codasip.com> |
mlir/LogicalResult: move into llvm (#97309)
This patch is part of a project to move the Presburger library into
LLVM.
|
Revision tags: llvmorg-18.1.8, llvmorg-18.1.7, llvmorg-18.1.6 |
|
#
878c141a |
| 08-May-2024 |
Lily Brown <lily@lily.fyi> |
[mlir-lsp] Add DiagnosticTag from LSP spec (#91396)
Adds the [DiagnosticTag][diagtag] LSP construct to the LSP support
headers. I also added a unit test file to validate that the `tags` array
is o
[mlir-lsp] Add DiagnosticTag from LSP spec (#91396)
Adds the [DiagnosticTag][diagtag] LSP construct to the LSP support
headers. I also added a unit test file to validate that the `tags` array
is omitted entirely if it's empty.
The LSP spec requires that `Diagnostic::tags` be an array; in order to
conform to that I used `std::vector`, as `SmallVector` doesn't have JSON
decoding support (you can encode it to JSON, but not decode it from
JSON).
[diagtag]:
https://microsoft.github.io/language-server-protocol/specifications/lsp/3.18/specification/#diagnosticTag
show more ...
|
Revision tags: llvmorg-18.1.5, llvmorg-18.1.4, llvmorg-18.1.3, llvmorg-18.1.2, llvmorg-18.1.1, llvmorg-18.1.0, llvmorg-18.1.0-rc4, llvmorg-18.1.0-rc3, llvmorg-18.1.0-rc2, llvmorg-18.1.0-rc1, llvmorg-19-init |
|
#
88d319a2 |
| 14-Dec-2023 |
Kazu Hirata <kazu@google.com> |
[mlir] Use StringRef::{starts,ends}_with (NFC)
This patch replaces uses of StringRef::{starts,ends}with with StringRef::{starts,ends}_with for consistency with std::{string,string_view}::{starts,end
[mlir] Use StringRef::{starts,ends}_with (NFC)
This patch replaces uses of StringRef::{starts,ends}with with StringRef::{starts,ends}_with for consistency with std::{string,string_view}::{starts,ends}_with in C++20.
I'm planning to deprecate and eventually remove StringRef::{starts,ends}with.
show more ...
|
Revision tags: llvmorg-17.0.6, llvmorg-17.0.5, llvmorg-17.0.4, llvmorg-17.0.3, llvmorg-17.0.2, llvmorg-17.0.1, llvmorg-17.0.0, llvmorg-17.0.0-rc4, llvmorg-17.0.0-rc3, llvmorg-17.0.0-rc2, llvmorg-17.0.0-rc1, llvmorg-18-init |
|
#
857b0a1f |
| 18-Jul-2023 |
River Riddle <riddleriver@gmail.com> |
[mlir-lsp] Add client information to the InitializationParams
This is specified in the spec, but we just never really needed it. This allows for users of the LSP libraries to inspect information abo
[mlir-lsp] Add client information to the InitializationParams
This is specified in the spec, but we just never really needed it. This allows for users of the LSP libraries to inspect information about the client that is connected to the server.
Differential Revision: https://reviews.llvm.org/D155566
show more ...
|
#
b0abd489 |
| 17-Jun-2023 |
Elliot Goodrich <elliotgoodrich@gmail.com> |
[llvm] Add missing StringExtras.h includes
In preparation for removing the `#include "llvm/ADT/StringExtras.h"` from the header to source file of `llvm/Support/Error.h`, first add in all the missing
[llvm] Add missing StringExtras.h includes
In preparation for removing the `#include "llvm/ADT/StringExtras.h"` from the header to source file of `llvm/Support/Error.h`, first add in all the missing includes that were previously included transitively through this header.
show more ...
|
Revision tags: llvmorg-16.0.6, llvmorg-16.0.5, llvmorg-16.0.4, llvmorg-16.0.3, llvmorg-16.0.2, llvmorg-16.0.1, llvmorg-16.0.0, llvmorg-16.0.0-rc4, llvmorg-16.0.0-rc3, llvmorg-16.0.0-rc2, llvmorg-16.0.0-rc1 |
|
#
305d7185 |
| 28-Jan-2023 |
River Riddle <riddleriver@gmail.com> |
[mlir][NFC] Move the headers for lsp-server-support to include/
This makes it a bit easier to share the functionality for building language servers, and makes the API public. No real functional chan
[mlir][NFC] Move the headers for lsp-server-support to include/
This makes it a bit easier to share the functionality for building language servers, and makes the API public. No real functional change, as the API was already intended for this anyways.
Differential Revision: https://reviews.llvm.org/D142790
show more ...
|
Revision tags: llvmorg-17-init, llvmorg-15.0.7 |
|
#
1da3a795 |
| 16-Dec-2022 |
Fangrui Song <i@maskray.me> |
JSON: llvm::Optional => std::optional
Many files are from language servers.
https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
|
Revision tags: llvmorg-15.0.6, llvmorg-15.0.5, llvmorg-15.0.4, llvmorg-15.0.3, working, llvmorg-15.0.2, llvmorg-15.0.1 |
|
#
0820c6ef |
| 19-Sep-2022 |
Kazu Hirata <kazu@google.com> |
[mlir] Don't include StringSwitch.h (NFC)
These files don't seem to use StringSwitch.
|
Revision tags: llvmorg-15.0.0 |
|
#
f7b8a70e |
| 02-Sep-2022 |
River Riddle <riddleriver@gmail.com> |
[mlir:vscode] Add support for viewing and editing a bytecode file as .mlir
This commit adds support for interacting with a (valid) bytecode file in the same way as .mlir. This allows editing, using
[mlir:vscode] Add support for viewing and editing a bytecode file as .mlir
This commit adds support for interacting with a (valid) bytecode file in the same way as .mlir. This allows editing, using all of the traditional LSP features, etc. but still using bytecode as the on-disk serialization format. Loading a bytecode file this way will fail if the bytecode is invalid, and saving will fail if the edited .mlir is invalid.
Differential Revision: https://reviews.llvm.org/D132970
show more ...
|
Revision tags: llvmorg-15.0.0-rc3 |
|
#
6d9cd919 |
| 14-Aug-2022 |
Kazu Hirata <kazu@google.com> |
Use llvm::all_of (NFC)
|
Revision tags: llvmorg-15.0.0-rc2, llvmorg-15.0.0-rc1, llvmorg-16-init |
|
#
ed344c88 |
| 20-Jul-2022 |
River Riddle <riddleriver@gmail.com> |
[mlir:LSP] Add a quickfix code action for inserting expected-* diagnostic checks
This allows for automatically inserting expected checks for parser and verifier diagnostics, which simplifies the wor
[mlir:LSP] Add a quickfix code action for inserting expected-* diagnostic checks
This allows for automatically inserting expected checks for parser and verifier diagnostics, which simplifies the workflow when building new dialect constructs or extending existing ones.
Differential Revision: https://reviews.llvm.org/D130152
show more ...
|
Revision tags: llvmorg-14.0.6 |
|
#
5413bf1b |
| 20-Jun-2022 |
Kazu Hirata <kazu@google.com> |
Don't use Optional::hasValue (NFC)
|
#
037f0995 |
| 20-Jun-2022 |
Kazu Hirata <kazu@google.com> |
[mlir] Don't use Optional::hasValue (NFC)
|
Revision tags: llvmorg-14.0.5, llvmorg-14.0.4 |
|
#
5919eab5 |
| 18-May-2022 |
River Riddle <riddleriver@gmail.com> |
[mlir:PDLL] Add support for inlay hints
These allow for displaying additional inline information, such as the types of variables, names operands/results, constraint/rewrite arguments, etc. This requ
[mlir:PDLL] Add support for inlay hints
These allow for displaying additional inline information, such as the types of variables, names operands/results, constraint/rewrite arguments, etc. This requires a bump in the vscode extension to a newer version, as inlay hints are a new LSP feature.
Differential Revision: https://reviews.llvm.org/D126033
show more ...
|
#
6187178e |
| 17-May-2022 |
River Riddle <riddleriver@gmail.com> |
[mlir:LSP] Switch document sync mode to Incremental
This is much more efficient over the full mode, as it only requires sending smalls chunks of files. It also works around a weird command ordering
[mlir:LSP] Switch document sync mode to Incremental
This is much more efficient over the full mode, as it only requires sending smalls chunks of files. It also works around a weird command ordering issue (full document updates are being sent after other commands like code completion) in newer versions of vscode.
Differential Revision: https://reviews.llvm.org/D126032
show more ...
|
Revision tags: llvmorg-14.0.3, llvmorg-14.0.2 |
|
#
09af7fef |
| 20-Apr-2022 |
River Riddle <riddleriver@gmail.com> |
[mlir][PDLL] Add document link and hover support to mlir-pdll-lsp-server
This allows for navigating to included files on click, and also provides hover information about the include file (similarly
[mlir][PDLL] Add document link and hover support to mlir-pdll-lsp-server
This allows for navigating to included files on click, and also provides hover information about the include file (similarly to clangd).
Differential Revision: https://reviews.llvm.org/D124077
show more ...
|
Revision tags: llvmorg-14.0.1, llvmorg-14.0.0, llvmorg-14.0.0-rc4 |
|
#
469c5894 |
| 11-Mar-2022 |
River Riddle <riddleriver@gmail.com> |
[mlir][PDLL] Add signature help to the PDLL language server
This commit adds signature support to the language server, and initially supports providing help for: operation operands and results, and
[mlir][PDLL] Add signature help to the PDLL language server
This commit adds signature support to the language server, and initially supports providing help for: operation operands and results, and constraint/rewrite calls.
Differential Revision: https://reviews.llvm.org/D121545
show more ...
|
#
008de486 |
| 11-Mar-2022 |
River Riddle <riddleriver@gmail.com> |
[mlir][PDLL] Add code completion to the PDLL language server
This commit adds code completion support to the language server, and initially supports providing completions for: Member access, attribu
[mlir][PDLL] Add code completion to the PDLL language server
This commit adds code completion support to the language server, and initially supports providing completions for: Member access, attributes/constraint/dialect/operation names, and pattern metadata.
Differential Revision: https://reviews.llvm.org/D121544
show more ...
|
#
7bc52733 |
| 11-Mar-2022 |
River Riddle <riddleriver@gmail.com> |
[mlir][NFC] Move the LSP agnostic files to a new lsp-server directory
This allows for sharing the implementation of key components across multiple MLIR language servers. These will be used in a foll
[mlir][NFC] Move the LSP agnostic files to a new lsp-server directory
This allows for sharing the implementation of key components across multiple MLIR language servers. These will be used in a followup to help implement a PDLL language server.
Differential Revision: https://reviews.llvm.org/D121540
show more ...
|