llvm-project/mlir/docs
Alex Zinenko cba733edf5 [mlir] LLVM dialect: use addressof instead of constant to create function pointers
`llvm.mlir.constant` was originally introduced as an LLVM dialect counterpart
to `std.constant`. As such, it was supporting "function pointer" constants
derived from the symbol name. This is different from `std.constant` that allows
for creation of a "function" constant since MLIR, unlike LLVM IR, supports
this. Later, `llvm.mlir.addressof` was introduced as an Op that obtains a
constant pointer to a global in the LLVM dialect. It naturally extends to
functions (in LLVM IR, functions are globals) and should be used for defining
"function pointer" values instead.

Fixes PR46344.

Differential Revision: https://reviews.llvm.org/D82667
2020-06-29 12:21:33 +02:00
..
Dialects [mlir] LLVM dialect: use addressof instead of constant to create function pointers 2020-06-29 12:21:33 +02:00
Rationale [MLIR][docs] Update tutorial language around Op and Operation* and 'opaque' 2020-05-01 11:26:38 -07:00
Tutorials [mlir][DialectConversion] Refactor how block argument types get converted 2020-06-18 15:59:22 -07:00
includes/img Adjust some MLIR paths and docs 2019-12-24 02:23:01 +00:00
CMakeLists.txt Remove CMake configuration for Sphinx targets in MLIR 2020-03-12 01:28:38 +00:00
Canonicalization.md Fix broken doc links to QuickstartRewrites.md after move under Tutorials 2020-04-19 04:51:03 +00:00
ConversionToLLVMDialect.md [mlir] support returning unranked memrefs 2020-06-26 15:37:37 +02:00
DeclarativeRewrites.md [mlir] NFC: fix trivial typo 2020-04-29 14:47:56 +09:00
Diagnostics.md [Support] Move LLD's parallel algorithm wrappers to support 2020-05-05 15:21:05 -07:00
DialectConversion.md [mlir][DialectConversion] Refactor how block argument types get converted 2020-06-18 15:59:22 -07:00
EDSC.md [mlir] Change dialect namespace loop->scf 2020-05-13 19:20:21 +02:00
GenericDAGRewriter.md [mlir][docs] Remove the MLIR prefix from several titles. 2020-04-11 14:49:03 -07:00
Interfaces.md [mlir] Refactor OpInterface internals to be faster and factor out common bits. 2020-06-24 17:23:58 -07:00
LangRef.md [mlir][DenseStringElementsAttr] Add support for the Attribute based get* methods. 2020-05-01 16:34:35 -07:00
OpDefinitions.md [mlir] Remove OperandAdaptor 2020-06-15 06:01:31 -07:00
PassManagement.md [mlir] Add a new context flag for disabling/enabling multi-threading 2020-05-02 12:32:25 -07:00
Passes.md Revert "Revert "[MLIR] Lower shape.num_elements -> shape.reduce."" 2020-06-08 12:19:54 +02:00
Quantization.md [mlir] NFC: fix trivial typo 2020-04-29 14:47:56 +09:00
README.txt [mlir] Add short readme.txt to docs directory 2020-02-18 08:35:22 -08: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] NFC: Fix link in traits documentation 2020-06-18 11:58:07 +02: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

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.