llvm-capstone/mlir/docs
Stella Laurenzo 310c9496d8 Re-engineer MLIR python build support.
* Implements all of the discussed features:
  - Links against common CAPI libraries that are self contained.
  - Stops using the 'python/' directory at the root for everything, opening the namespace up for multiple projects to embed the MLIR python API.
  - Separates declaration of sources (py and C++) needed to build the extension from building, allowing external projects to build custom assemblies from core parts of the API.
  - Makes the core python API relocatable (i.e. it could be embedded as something like 'npcomp.ir', 'npcomp.dialects', etc). Still a bit more to do to make it truly isolated but the main structural reset is done.
  - When building statically, installed python packages are completely self contained, suitable for direct setup and upload to PyPi, et al.
  - Lets external projects assemble their own CAPI common runtime library that all extensions use. No more possibilities for TypeID issues.
  - Begins modularizing the API so that external projects that just include a piece pay only for what they use.
* I also rolled in a re-organization of the native libraries that matches how I was packaging these out of tree and is a better layering (i.e. all libraries go into a nested _mlir_libs package). There is some further cleanup that I resisted since it would have required source changes that I'd rather do in a followup once everything stabilizes.
* Note that I made a somewhat odd choice in choosing to recompile all extensions for each project they are included into (as opposed to compiling once and just linking). While not leveraged yet, this will let us set definitions controlling the namespacing of the extensions so that they can be made to not conflict across projects (with preprocessor definitions).
* This will be a relatively substantial breaking change for downstreams. I will handle the npcomp migration and will coordinate with the circt folks before landing. We should stage this and make sure it isn't causing problems before landing.
* Fixed a couple of absolute imports that were causing issues.

Differential Revision: https://reviews.llvm.org/D106520
2021-07-27 15:54:58 +00:00
..
Bindings Re-engineer MLIR python build support. 2021-07-27 15:54:58 +00:00
Dialects [mlir][linalg][python] Update integration of OpDSL doc (NFC). 2021-07-01 07:41:32 +00:00
includes/img [mlir][mlir-lsp-server] Add some initial documentation on the MLIR LSP server 2021-04-21 14:44:37 -07:00
Rationale [mlir][linalg][python] Update integration of OpDSL doc (NFC). 2021-07-01 07:41:32 +00:00
Tools [mlir-reduce] Fix the grammer in the doc 2021-07-09 08:01:35 +08:00
Tutorials [MLIR] Fix documentation of the ExecutionEngine in the toy tutorial example 2021-07-13 13:23:43 +02:00
BufferDeallocationInternals.md Revert "Revert "[mlir] Introduce CloneOp and adapt test cases in BufferDeallocation."" 2021-03-31 09:49:09 +02:00
Bufferization.md [mlir][doc] Fix links and references in top level docs directory 2021-05-24 18:43:00 +02:00
Canonicalization.md [mlir][doc] Fix links and references in top level docs directory 2021-05-24 18:43:00 +02:00
CAPI.md [mlir] NFC: fix trivial typos 2021-01-07 02:36:02 +09:00
CMakeLists.txt Remove CMake configuration for Sphinx targets in MLIR 2020-03-12 01:28:38 +00:00
ConversionToLLVMDialect.md [mlir][doc] Fix links and references in top level docs directory 2021-05-24 18:43:00 +02:00
DataLayout.md [mlir][doc] Fix links and references in top level docs directory 2021-05-24 18:43:00 +02:00
DebugActions.md [mlir][doc] Fix links and references in top level docs directory 2021-05-24 18:43:00 +02:00
DeclarativeRewrites.md [mlir-tblgen] Support binding multi-results of NativeCodeCall 2021-07-21 11:23:22 +08:00
Diagnostics.md [mlir] Add support to SourceMgrDiagnosticHandler for filtering FileLineColLocs 2021-06-18 21:12:28 +00:00
DialectConversion.md [MLIR] Document that Dialect Conversion traverses in preorder 2021-06-10 15:08:56 -07: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
Interfaces.md [mlir] Add notes about using external interface application. 2021-06-18 07:42:47 -07:00
LangRef.md [mlir][doc] Fix links and references in top level docs directory 2021-05-24 18:43:00 +02:00
LLVMDialectMemRefConvention.md [mlir][doc] Fix links and references in top level docs directory 2021-05-24 18:43:00 +02:00
OpDefinitions.md [mlir][doc] Fix links and references in top level docs directory 2021-05-24 18:43:00 +02:00
Passes.md [mlir][docs] Add memref and sparse_tensor to Passes.md 2021-05-21 15:23:39 -07:00
PassManagement.md Decouple registring passes from specifying argument/description 2021-06-16 23:41:50 +00:00
PatternRewriter.md [mlir] Add support for filtering patterns based on debug names and labels 2021-06-02 12:05:25 -07:00
Quantization.md Fix invalid math formulas in quantization doc 2021-06-01 03:50:59 +00:00
README.txt [mlir] Add short readme.txt to docs directory 2020-02-18 08:35:22 -08:00
ShapeInference.md [Branch-Rename] Fix some links 2021-02-01 16:43:21 +05:30
SPIRVToLLVMDialectConversion.md [mlir][spirv] Use SingleBlock + NoTerminator for spv.module 2021-06-09 14:00:06 -04:00
SymbolsAndSymbolTables.md [mlir][doc] Fix links and references in top level docs directory 2021-05-24 18:43:00 +02:00
Traits.md [mlir][doc] Fix links and references in top level docs directory 2021-05-24 18:43:00 +02: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.