llvm-project/mlir/docs
Alex Zinenko 6ec3872845 [mlir] ODS: support TableGen dag objects to specify OpBuilder parameters
Historically, custom builder specification in OpBuilder has been accepting the
formal parameter list for the builder method as a raw string containing C++.
While this worked well to connect the signature and the body, this became
problematic when ODS needs to manipulate the parameter list, e.g. to inject
OpBuilder or to trim default values when generating the definition. This has
also become inconsistent with other method declarations, in particular in
interface definitions.

Introduce the possibility to define OpBuilder formal parameters using a
TableGen dag similarly to other methods. Additionally, introduce a mechanism to
declare parameters with default values using an additional class. This
mechanism can be reused in other methods. The string-based builder signature
declaration is deprecated and will be removed after a transition period.

Reviewed By: jpienaar

Differential Revision: https://reviews.llvm.org/D89470
2020-10-21 11:42:50 +02:00
..
Bindings Add Operation to python bindings. 2020-09-23 07:57:50 -07:00
Dialects Promote transpose from linalg to standard dialect 2020-10-05 10:58:20 +02:00
Rationale [mlir] Remove obsolete "Quantization" section from the rationale. 2020-10-13 20:45:19 -07:00
Tutorials [mlir][Linalg] Add named Linalg ops on tensor to buffer support. 2020-10-12 11:20:23 +00:00
includes/img Update SVG images to be properly cropped (NFC) 2020-09-08 00:56:10 +00:00
CAPI.md [mlir] Model StringRef in C API 2020-09-16 16:04:36 +02:00
CMakeLists.txt Remove CMake configuration for Sphinx targets in MLIR 2020-03-12 01:28:38 +00:00
Canonicalization.md Merge OpFolderDialectInterface with DialectFoldInterface (NFC) 2020-08-13 00:39:22 +00:00
ConversionToLLVMDialect.md [mlir] minor tweaks in standard-to-llvm lowering 2020-06-30 21:19:19 +02:00
DeclarativeRewrites.md [drr] Add $_loc special directive for NativeCodeCall 2020-08-11 14:06:17 -07:00
Diagnostics.md [Support] Move LLD's parallel algorithm wrappers to support 2020-05-05 15:21:05 -07:00
DialectConversion.md [mlir][docs] Update/Add documentation for MLIRs Pattern Rewrite infrastructure 2020-08-13 12:05:55 -07:00
EDSC.md [mlir] Change dialect namespace loop->scf 2020-05-13 19:20:21 +02:00
Interfaces.md [mlir] Add a new SymbolUserOpInterface class 2020-10-16 12:08:48 -07:00
LangRef.md [mlir] Fix typo in LangRef 2020-10-15 12:19:20 -07:00
OpDefinitions.md [mlir] ODS: support TableGen dag objects to specify OpBuilder parameters 2020-10-21 11:42:50 +02:00
PassManagement.md Add documentation for getDependentDialects() in the PassManagement infra docs 2020-09-07 23:59:11 +00:00
Passes.md [mlir] Fix capitalization typo 2020-09-26 09:18:35 -07:00
PatternRewriter.md [mlir][docs] Update/Add documentation for MLIRs Pattern Rewrite infrastructure 2020-08-13 12:05:55 -07:00
Quantization.md [mlir][NFC] Remove usernames and google bug numbers from TODO comments. 2020-07-07 01:40:52 -07:00
README.txt [mlir] Add short readme.txt to docs directory 2020-02-18 08:35:22 -08:00
SPIRVToLLVMDialectConversion.md [MLIR][SPIRVToLLVM] Updated documentation for composite ops 2020-10-19 17:43:22 +03:00
ShapeInference.md [mlir] NFC: fix trivial typo 2020-04-29 14:47:56 +09:00
SymbolsAndSymbolTables.md [mlir] Add a new SymbolUserOpInterface class 2020-10-16 12:08:48 -07:00
Traits.md [MLIR] Add a foldTrait() mechanism to allow traits to define folding and test it with an Involution trait 2020-10-13 21:26:21 +00:00
doxygen-mainpage.dox [mlir] Bootstrap doxygen config 2020-01-25 09:31:59 -08:00
doxygen.cfg.in [mlir] NFC: fix trivial typo 2020-04-29 14:47:56 +09:00

README.txt

MLIR documentation
==================

Please note mlir.llvm.org is where MLIR's rendered documentation is displayed.
The viewing experience on GitHub or elsewhere may not match those of the
website. For any changes please verify instead that they work on the main
website first.

See https://github.com/llvm/mlir-www for the website generation information.