llvm/mlir/docs
Stella Laurenzo af66cd173f [mlir][Python] Context managers for Context, InsertionPoint, Location.
* Finishes support for Context, InsertionPoint and Location to be carried by the thread using context managers.
* Introduces type casters and utilities so that DefaultPyMlirContext and DefaultPyLocation in method signatures does the right thing (allows explicit or gets from the thread context).
* Extend the rules for the thread context stack to handle nesting, appropriately inheriting and clearing depending on whether the context is the same.
* Refactors all method signatures to follow the new convention on trailing parameters for defaulting parameters (loc, ip, context). When the objects are carried in the thread context, this allows most explicit uses of these values to be elided.
* Removes the style guide section on putting accessors to construct global objects on the PyMlirContext: this style fails to make good use of the new facility since it is often the only thing remaining needing an MlirContext.
* Moves Module parse/creation from mlir.ir.Context to static methods on mlir.ir.Module.
* Moves Context.create_operation to a static Operation.create method.
* Moves Type parsing from mlir.ir.Context to static methods on mlir.ir.Type.
* Moves Attribute parsing from mlir.ir.Context to static methods on mlir.ir.Attribute.
* Move Location factory methods from mlir.ir.Context to static methods on mlir.ir.Location.
* Refactors the std dialect fake "ODS" generated code to take advantage of the new scheme.

Differential Revision: https://reviews.llvm.org/D90547
2020-11-01 19:00:39 -08:00
..
Bindings [mlir][Python] Context managers for Context, InsertionPoint, Location. 2020-11-01 19:00:39 -08:00
Dialects Promote transpose from linalg to standard dialect 2020-10-05 10:58:20 +02:00
includes/img Update SVG images to be properly cropped (NFC) 2020-09-08 00:56:10 +00:00
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 [mlir] Model StringRef in C API 2020-09-16 16:04:36 +02:00
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 [mlir] NFC: fix trivial typos 2020-10-29 04:05:22 +09:00
Passes.md [mlir] Fix capitalization typo 2020-09-26 09:18:35 -07:00
PassManagement.md Add documentation for getDependentDialects() in the PassManagement infra docs 2020-09-07 23:59:11 +00:00
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] Add a new SymbolUserOpInterface class 2020-10-16 12:08:48 -07:00
Traits.md [mlir] Document 'ParentOneOf' with the HasParent trait 2020-10-26 15:56:03 -07: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.