llvm-project/mlir/docs
Alexandre E. Eichenberger a14a2805b0 [MLIR] MemRef Normalization for Dialects
When dealing with dialects that will results in function calls to
external libraries, it is important to be able to handle maps as some
dialects may require mapped data.  Before this patch, the detection of
whether normalization can apply or not, operations are compared to an
explicit list of operations (`alloc`, `dealloc`, `return`) or to the
presence of specific operation interfaces (`AffineReadOpInterface`,
`AffineWriteOpInterface`, `AffineDMAStartOp`, or `AffineDMAWaitOp`).

This patch add a trait, `MemRefsNormalizable` to determine if an
operation can have its `memrefs` normalized.

This trait can be used in turn by dialects to assert that such
operations are compatible with normalization of `memrefs` with
nontrivial memory layout specification. An example is given in the
literal tests.

Differential Revision: https://reviews.llvm.org/D86236
2020-08-27 20:26:59 +05:30
..
Bindings Add Python bindings guide. 2020-07-09 20:49:39 -07:00
Dialects [mlir] NFC: fix trivial typos in documents 2020-08-27 03:50:34 +09:00
Rationale [mlir] NFC: fix trivial typos in documents 2020-08-27 03:50:34 +09:00
Tutorials [mlir] Update the documentation for defining types 2020-08-18 18:02:20 -07:00
includes/img Adjust some MLIR paths and docs 2019-12-24 02:23:01 +00:00
CAPI.md [mlir] NFC: fix trivial typos in documents 2020-08-27 03:50:34 +09: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 RegionKindInterface 2020-07-15 14:27:05 -07:00
LangRef.md [MLIR] Missing line breaks in MLIR Language Reference 2020-07-24 05:06:32 +00:00
OpDefinitions.md [mlir] NFC: fix trivial typos in documents 2020-08-27 03:50:34 +09:00
PassManagement.md [mlir][PassIncGen] Refactor how pass registration is generated 2020-07-31 13:20:37 -07:00
Passes.md Revert "Revert "[MLIR] Lower shape.num_elements -> shape.reduce."" 2020-06-08 12:19:54 +02: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 the documentation for type conversion 2020-08-27 07:47:55 +03: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] MemRef Normalization for Dialects 2020-08-27 20:26:59 +05:30
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.