llvm-project/mlir/docs
Matteo Franciolini 0e0b6070fd Implements MLIR Bytecode versioning capability
A dialect can opt-in to handle versioning through the
`BytecodeDialectInterface`. Few hooks are exposed to the dialect to allow
managing a version encoded into the bytecode file. The version is loaded
lazily and allows to retrieve the version information while parsing the input
IR, and gives an opportunity to each dialect for which a version is present
to perform IR upgrades post-parsing through the `upgradeFromVersion` method.
Custom Attribute and Type encodings can also be upgraded according to the
dialect version using readAttribute and readType methods.

There is no restriction on what kind of information a dialect is allowed to
encode to model its versioning. Currently, versioning is supported only for
bytecode formats.

Reviewed By: rriddle, mehdi_amini

Differential Revision: https://reviews.llvm.org/D143647
2023-03-10 23:28:56 +01:00
..
Bindings Revert "Revert "[mlir][py] Enable building ops with raw inputs"" 2022-12-21 16:22:39 -08:00
DefiningDialects [mlir][doc] Remove section about now removed useFoldAPI option 2023-02-24 00:36:14 +01:00
Dialects [mlir] add support for transform dialect value handles 2023-02-09 12:11:24 +00:00
includes/img
Rationale [mlir] Add operations to BlockAndValueMapping and rename it to IRMapping 2023-01-12 13:16:05 -08:00
Tools
Tutorials [docs] Make consistent between MLIR tutorial doc and example code 2023-02-12 06:17:01 +00:00
BufferDeallocationInternals.md
Bufferization.md [mlir][bufferization][NFC] Rename BufferRelation::None to BufferRelation::Unknown 2023-01-30 11:09:28 +01:00
BytecodeFormat.md Implements MLIR Bytecode versioning capability 2023-03-10 23:28:56 +01:00
Canonicalization.md [mlir] Add a new fold API using Generic Adaptors 2023-01-11 14:32:21 +01:00
CAPI.md
CMakeLists.txt
DataLayout.md
DebugActions.md
DeclarativeRewrites.md
Diagnostics.md
DialectConversion.md
doxygen-mainpage.dox
doxygen.cfg.in
Interfaces.md [mlir] Add support for interface inheritance 2023-01-18 19:16:30 -08:00
LangRef.md Implements MLIR Bytecode versioning capability 2023-03-10 23:28:56 +01:00
Passes.md [mlir][NFC] Cleanup Passes documentation 2023-02-27 16:35:47 +01:00
PassManagement.md [mlir][Pass] Make PassManager default to op-agnostic 2023-01-25 15:38:19 -05:00
PatternRewriter.md [mlir][NFC] GreedyPatternRewriteDriver: Merge region-based and multi-op-based drivers 2023-01-27 17:32:00 +01:00
PDLL.md
Quantization.md
README.txt
ShapeInference.md
SPIRVToLLVMDialectConversion.md
SymbolsAndSymbolTables.md
TargetLLVMIR.md [mlir][Conversion] Rename the MemRefToLLVM pass 2023-01-27 09:10:10 +00:00
Traits.md

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.