llvm-project/mlir/lib/TableGen
River Riddle bf352e0b2e [mlir:PDLL] Add better support for providing Constraint/Pattern/Rewrite documentation
This commit enables providing long-form documentation more seamlessly to the LSP
by revamping decl documentation. For ODS imported constructs, we now also import
descriptions and attach them to decls when possible. For PDLL constructs, the LSP will
now try to provide documentation by parsing the comments directly above the decls
location within the source file. This commit also adds a new parser flag
`enableDocumentation` that gates the import and attachment of ODS documentation,
which is unnecessary in the normal build process (i.e. it should only be used/consumed
by tools).

Differential Revision: https://reviews.llvm.org/D124881
2022-06-02 16:31:07 -07:00
..
Argument.cpp [mlir] Add support for VariadicOfVariadic operands 2021-08-23 20:32:31 +00:00
AttrOrTypeDef.cpp [mlir] Refactor how parser/printers are specified for AttrDef/TypeDef 2022-03-15 00:42:31 -07:00
Attribute.cpp [mlir:PDLL] Add better support for providing Constraint/Pattern/Rewrite documentation 2022-06-02 16:31:07 -07:00
Builder.cpp [mlir][NFC] Add a using for llvm::SMLoc/llvm::SMRange to LLVM.h 2022-01-26 21:37:23 -08:00
CMakeLists.txt [mlir][ods] Cleanup of Class Codegen helper 2021-11-12 21:22:01 +00:00
Class.cpp [mlir][ods] ODS ops get an `extraClassDefinition` 2022-01-06 01:43:26 +00:00
Constraint.cpp [mlir:PDLL] Add better support for providing Constraint/Pattern/Rewrite documentation 2022-06-02 16:31:07 -07:00
Dialect.cpp [mlir] Add extensible dialects 2022-04-26 19:48:22 -07:00
Format.cpp [llvm] Cleanup header dependencies in ADT and Support 2022-01-21 13:54:49 +01:00
Interfaces.cpp [mlir] Support verification order (2/3) 2022-02-25 19:04:56 +00:00
Operator.cpp [mlir] Attach InferTypeOpInterface on SameOperandsAndResultType operations when possible 2022-04-28 12:57:59 -07:00
Pass.cpp Fix more clang-tidy cleanups in mlir/ (NFC) 2021-12-22 20:53:11 +00:00
Pattern.cpp [mlir][Rewrite] Add support for using an operation with no results as location 2022-02-03 15:08:09 +01:00
Predicate.cpp [mlir][NFC] Add a using for llvm::SMLoc/llvm::SMRange to LLVM.h 2022-01-26 21:37:23 -08:00
Region.cpp
SideEffects.cpp [mlir] Add support for adding attribute+type traits/interfaces to tablegen defs 2021-04-15 11:41:51 -07:00
Successor.cpp
Trait.cpp [mlir] Support verification order (2/3) 2022-02-25 19:04:56 +00:00
Type.cpp [mlir:PDLL] Add better support for providing Constraint/Pattern/Rewrite documentation 2022-06-02 16:31:07 -07:00