llvm-project/mlir/docs
River Riddle 8d67d187ba [mlir][DialectConversion] Refactor how block argument types get converted
This revision removes the TypeConverter parameter passed to the apply* methods, and instead moves the responsibility of region type conversion to patterns. The types of a region can be converted using the 'convertRegionTypes' method, which acts similarly to the existing 'applySignatureConversion'. This method ensures that all blocks within, and including those moved into, a region will have the block argument types converted using the provided converter.

This has the benefit of making more of the legalization logic controlled by patterns, instead of being handled explicitly by the driver. It also opens up the possibility to support multiple type conversions at some point in the future.

This revision also adds a new utility class `FailureOr<T>` that provides a LogicalResult friendly facility for returning a failure or a valid result value.

Differential Revision: https://reviews.llvm.org/D81681
2020-06-18 15:59:22 -07:00
..
Dialects [mlir] Affine symbols: do not expect AffineScope to always exist 2020-06-15 17:55:49 +02:00
Rationale [MLIR][docs] Update tutorial language around Op and Operation* and 'opaque' 2020-05-01 11:26:38 -07:00
Tutorials [mlir][DialectConversion] Refactor how block argument types get converted 2020-06-18 15:59:22 -07:00
includes/img Adjust some MLIR paths and docs 2019-12-24 02:23:01 +00:00
CMakeLists.txt Remove CMake configuration for Sphinx targets in MLIR 2020-03-12 01:28:38 +00:00
Canonicalization.md Fix broken doc links to QuickstartRewrites.md after move under Tutorials 2020-04-19 04:51:03 +00:00
ConversionToLLVMDialect.md [mlir][LLVM] Finer-grained control for C interface emission 2020-04-02 13:07:10 -04:00
DeclarativeRewrites.md [mlir] NFC: fix trivial typo 2020-04-29 14:47:56 +09:00
Diagnostics.md [Support] Move LLD's parallel algorithm wrappers to support 2020-05-05 15:21:05 -07:00
DialectConversion.md [mlir][DialectConversion] Refactor how block argument types get converted 2020-06-18 15:59:22 -07:00
EDSC.md [mlir] Change dialect namespace loop->scf 2020-05-13 19:20:21 +02:00
GenericDAGRewriter.md [mlir][docs] Remove the MLIR prefix from several titles. 2020-04-11 14:49:03 -07:00
Interfaces.md [MLIR][docs] Update tutorial language around Op and Operation* and 'opaque' 2020-05-01 11:26:38 -07:00
LangRef.md [mlir][DenseStringElementsAttr] Add support for the Attribute based get* methods. 2020-05-01 16:34:35 -07:00
OpDefinitions.md [mlir] Remove OperandAdaptor 2020-06-15 06:01:31 -07:00
PassManagement.md [mlir] Add a new context flag for disabling/enabling multi-threading 2020-05-02 12:32:25 -07:00
Passes.md Revert "Revert "[MLIR] Lower shape.num_elements -> shape.reduce."" 2020-06-08 12:19:54 +02:00
Quantization.md [mlir] NFC: fix trivial typo 2020-04-29 14:47:56 +09:00
README.txt [mlir] Add short readme.txt to docs directory 2020-02-18 08:35:22 -08:00
ShapeInference.md [mlir] NFC: fix trivial typo 2020-04-29 14:47:56 +09:00
SymbolsAndSymbolTables.md Fix broken docs links (WritingAPass.md was renamed PassManagement.md) 2020-04-19 04:38:56 +00:00
Traits.md [mlir] NFC: Fix link in traits documentation 2020-06-18 11:58:07 +02: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.