llvm/mlir/docs
Sean Silva b4fa28b408 [mlir] Add ElementwiseMappable trait and apply it to std elementwise ops.
This patch adds an `ElementwiseMappable` trait as discussed in the RFC
here:
https://llvm.discourse.group/t/rfc-std-elementwise-ops-on-tensors/2113/23

This trait can power a number of transformations and analyses.
A subsequent patch adds a convert-elementwise-to-linalg pass exhibits
how this trait allows writing generic transformations.
See https://reviews.llvm.org/D90354 for that patch.

This trait slightly changes some verifier messages, but the diagnostics
are usually about as good. I fiddled with the ordering of the trait in
the .td file trait lists to minimize the changes here.

Differential Revision: https://reviews.llvm.org/D90731
2020-11-10 13:44:44 -08:00
..
Bindings NFC: Wrap lines in Python.md. 2020-11-01 19:24:06 -08:00
Dialects Include the generated documentation for list of ops in the TOSA dialect 2020-11-08 00:09:35 +00:00
includes/img
Rationale [mlir] Remove obsolete "Quantization" section from the rationale. 2020-10-13 20:45:19 -07:00
Tutorials [mlir][Inliner] Add a wouldBeCloned flag to each of the isLegalToInline hooks. 2020-10-28 21:49:28 -07:00
Canonicalization.md
CAPI.md
CMakeLists.txt
ConversionToLLVMDialect.md
DeclarativeRewrites.md [mlir] Simplify DDR matching patterns with equal operands for operators where it's applicable. Added documentation. 2020-10-21 21:31:39 +00:00
Diagnostics.md
DialectConversion.md
doxygen-mainpage.dox
doxygen.cfg.in
EDSC.md
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 Switch from C-style comments /* ... */ to C++ style // (NFC) 2020-11-04 18:11:13 +00:00
Passes.md
PassManagement.md
PatternRewriter.md [mlir][Pattern] Refactor the Pattern class into a "metadata only" class 2020-10-26 18:01:06 -07:00
Quantization.md
README.txt
ShapeInference.md
SPIRVToLLVMDialectConversion.md [MLIR][SPIRVToLLVM] Updated documentation for composite ops 2020-10-19 17:43:22 +03:00
SymbolsAndSymbolTables.md [MLIR] Change FuncOp assembly syntax to print visibility inline instead of in attrib dict. 2020-11-09 11:08:08 -08:00
Traits.md [mlir] Add ElementwiseMappable trait and apply it to std elementwise ops. 2020-11-10 13:44:44 -08:00

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.