Revision tags: llvmorg-21-init, llvmorg-19.1.7 |
|
#
4f4e2abb |
| 11-Jan-2025 |
Kazu Hirata <kazu@google.com> |
[mlir] Migrate away from PointerUnion::{is,get} (NFC) (#122591)
Note that PointerUnion::{is,get} have been soft deprecated in
PointerUnion.h:
// FIXME: Replace the uses of is(), get() and dyn_
[mlir] Migrate away from PointerUnion::{is,get} (NFC) (#122591)
Note that PointerUnion::{is,get} have been soft deprecated in
PointerUnion.h:
// FIXME: Replace the uses of is(), get() and dyn_cast() with
// isa<T>, cast<T> and the llvm::dyn_cast<T>
I'm not touching PointerUnion::dyn_cast for now because it's a bit
complicated; we could blindly migrate it to dyn_cast_if_present, but
we should probably use dyn_cast when the operand is known to be
non-null.
show more ...
|
Revision tags: llvmorg-19.1.6, llvmorg-19.1.5, llvmorg-19.1.4, llvmorg-19.1.3, llvmorg-19.1.2 |
|
#
65e69f74 |
| 02-Oct-2024 |
Rahul Joshi <rjoshi@nvidia.com> |
[NFC][TableGen] Change `Record::getSuperClasses` to use const Record* (#110845)
Change `Record::getSuperClasses` to return a const pointer to the
superclass records.
This is a part of effort to
[NFC][TableGen] Change `Record::getSuperClasses` to use const Record* (#110845)
Change `Record::getSuperClasses` to return a const pointer to the
superclass records.
This is a part of effort to have better const correctness in TableGen
backends:
https://discourse.llvm.org/t/psa-planned-changes-to-tablegen-getallderiveddefinitions-api-potential-downstream-breakages/81089
show more ...
|
#
429819f2 |
| 02-Oct-2024 |
Rahul Joshi <rjoshi@nvidia.com> |
[NFC][MLIR][TableGen] Eliminate `llvm::` for common types in LSP Server (#110867)
|
Revision tags: llvmorg-19.1.1, llvmorg-19.1.0, llvmorg-19.1.0-rc4, llvmorg-19.1.0-rc3, llvmorg-19.1.0-rc2, llvmorg-19.1.0-rc1, llvmorg-20-init |
|
#
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, 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, 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, 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 |
|
#
0a81ace0 |
| 14-Jan-2023 |
Kazu Hirata <kazu@google.com> |
[mlir] Use std::optional instead of llvm::Optional (NFC)
This patch replaces (llvm::|)Optional< with std::optional<. I'll post a separate patch to remove #include "llvm/ADT/Optional.h".
This is pa
[mlir] Use std::optional instead of llvm::Optional (NFC)
This patch replaces (llvm::|)Optional< with std::optional<. I'll post a separate patch to remove #include "llvm/ADT/Optional.h".
This is part of an effort to migrate from llvm::Optional to std::optional:
https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
show more ...
|
#
a1fe1f5f |
| 14-Jan-2023 |
Kazu Hirata <kazu@google.com> |
[mlir] Add #include <optional> (NFC)
This patch adds #include <optional> to those files containing llvm::Optional<...> or Optional<...>.
I'll post a separate patch to actually replace llvm::Optiona
[mlir] Add #include <optional> (NFC)
This patch adds #include <optional> to those files containing llvm::Optional<...> or Optional<...>.
I'll post a separate patch to actually replace llvm::Optional with std::optional.
This is part of an effort to migrate from llvm::Optional to std::optional:
https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
show more ...
|
Revision tags: 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
|
#
1a36588e |
| 04-Dec-2022 |
Kazu Hirata <kazu@google.com> |
[mlir] Use std::nullopt instead of None (NFC)
This patch mechanically replaces None with std::nullopt where the compiler would warn if None were deprecated. The intent is to reduce the amount of ma
[mlir] Use std::nullopt instead of None (NFC)
This patch mechanically replaces None with std::nullopt where the compiler would warn if None were deprecated. The intent is to reduce the amount of manual work required in migrating from Optional to std::optional.
This is part of an effort to migrate from llvm::Optional to std::optional:
https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
show more ...
|
Revision tags: llvmorg-15.0.6, llvmorg-15.0.5, llvmorg-15.0.4 |
|
#
e00dc16d |
| 19-Oct-2022 |
River Riddle <riddleriver@gmail.com> |
[tblgen-lsp-server] Fix various ASAN issues
* Properly use virtual destructors for index symbols * Clear the index before initializing it
|
Revision tags: llvmorg-15.0.3, working, llvmorg-15.0.2 |
|
#
99e24123 |
| 20-Sep-2022 |
River Riddle <riddleriver@gmail.com> |
[TableGen:LSP] Resolve "go-to-def" on a let field to the base definition
This allows for go-to-def on the a `let` field to resolve to the definition of the base class. This is kind of like how C++ w
[TableGen:LSP] Resolve "go-to-def" on a let field to the base definition
This allows for go-to-def on the a `let` field to resolve to the definition of the base class. This is kind of like how C++ works with go-to-def from use->def->decl, with the decl in this case being the base definition of the field.
Differential Revision: https://reviews.llvm.org/D134264
show more ...
|
#
3e2ad376 |
| 20-Sep-2022 |
River Riddle <riddleriver@gmail.com> |
[TableGen:LSP] Add hover support for records and recordvals
This provides hover information for classes, defs, fields, and template arguments. Like PDLL, this pulls documentation from the source cod
[TableGen:LSP] Add hover support for records and recordvals
This provides hover information for classes, defs, fields, and template arguments. Like PDLL, this pulls documentation from the source code when hovering over fields and records.
Differential Revision: https://reviews.llvm.org/D134259
show more ...
|
Revision tags: llvmorg-15.0.1 |
|
#
50d96f59 |
| 16-Sep-2022 |
River Riddle <riddleriver@gmail.com> |
[TableGen] Track reference locations of Records/RecordVals
This is extremely useful for language tooling as it allows for providing go-to-def/find-references/etc. for many more situations than what
[TableGen] Track reference locations of Records/RecordVals
This is extremely useful for language tooling as it allows for providing go-to-def/find-references/etc. for many more situations than what is currently possible.
Differential Revision: https://reviews.llvm.org/D134087
show more ...
|
Revision tags: llvmorg-15.0.0, llvmorg-15.0.0-rc3, llvmorg-15.0.0-rc2, llvmorg-15.0.0-rc1, llvmorg-16-init, llvmorg-14.0.6, llvmorg-14.0.5, llvmorg-14.0.4 |
|
#
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 ...
|
#
8d021670 |
| 10-May-2022 |
River Riddle <riddleriver@gmail.com> |
[mlir][Tablegen-LSP] Add support for a tracking definitions and references
This essentially builds an index for the parsed records and record values (fields). This covers quite a few cases, but is l
[mlir][Tablegen-LSP] Add support for a tracking definitions and references
This essentially builds an index for the parsed records and record values (fields). This covers quite a few cases, but is limited by the currently lackluster location tracking in tablegen. A followup will work on plumbing more locations through tablegen, which should greatly improve what we can do here.
Differential Revision: https://reviews.llvm.org/D125443
show more ...
|
#
682ca00e |
| 09-May-2022 |
River Riddle <riddleriver@gmail.com> |
[mlir][Tablegen-LSP] Add support for include file link and hover
This allows for following links to include files. This support is effectively identical to the logic in the PDLL language server, and
[mlir][Tablegen-LSP] Add support for include file link and hover
This allows for following links to include files. This support is effectively identical to the logic in the PDLL language server, and code is shared as much as possible.
Differential Revision: https://reviews.llvm.org/D125442
show more ...
|
#
dc9fb65c |
| 09-May-2022 |
River Riddle <riddleriver@gmail.com> |
[mlir][Tablegen-LSP] Add support for a compilation database
This provides a format for externally specifying the include directories for a source file. The format of the tablegen database is exactly
[mlir][Tablegen-LSP] Add support for a compilation database
This provides a format for externally specifying the include directories for a source file. The format of the tablegen database is exactly the same as that for PDLL, namely it includes the absolute source file name and the set of include directories. The database format is shared to simplify the infra, and also because the format itself is general enough to share. Even if we desire to expand in the future to contain the actual compilation command, nothing there is specific enough that we would need two different formats.
As with PDLL, support for generating the database is added to our mlir_tablegen cmake command.
Differential Revision: https://reviews.llvm.org/D125441
show more ...
|
#
5de12bb7 |
| 09-May-2022 |
River Riddle <riddleriver@gmail.com> |
[mlir][Tablegen-LSP] Add support for a basic TableGen language server
This follows the same general structure of the MLIR and PDLL language servers. This commits adds the basic functionality for set
[mlir][Tablegen-LSP] Add support for a basic TableGen language server
This follows the same general structure of the MLIR and PDLL language servers. This commits adds the basic functionality for setting up the server, and initially only supports providing diagnostics. Followon commits will build out more comprehensive behavior.
Realistically this should eventually live in llvm/, but building in MLIR is an easier initial step given that: * All of the necessary LSP functionality is already here * It allows for proving out useful language features (e.g. compilation databases) without affecting wider scale tablegen users * MLIR has a vscode extension that can immediately take advantage of it
Differential Revision: https://reviews.llvm.org/D125440
show more ...
|