llvm-project/mlir/docs
Alex Zinenko bd30a796fc [mlir] use built-in vector types instead of LLVM dialect types when possible
Continue the convergence between LLVM dialect and built-in types by using the
built-in vector type whenever possible, that is for fixed vectors of built-in
integers and built-in floats. LLVM dialect vector type is still in use for
pointers, less frequent floating point types that do not have a built-in
equivalent, and scalable vectors. However, the top-level `LLVMVectorType` class
has been removed in favor of free functions capable of inspecting both built-in
and LLVM dialect vector types: `LLVM::getVectorElementType`,
`LLVM::getNumVectorElements` and `LLVM::getFixedVectorType`. Additional work is
necessary to design an implemented the extensions to built-in types so as to
remove the `LLVMFixedVectorType` entirely.

Note that the default output format for the built-in vectors does not have
whitespace around the `x` separator, e.g., `vector<4xf32>` as opposed to the
LLVM dialect vector type format that does, e.g., `!llvm.vec<4 x fp128>`. This
required changing the FileCheck patterns in several tests.

Reviewed By: mehdi_amini, silvas

Differential Revision: https://reviews.llvm.org/D94405
2021-01-12 10:04:28 +01:00
..
Bindings [mlir][Python] Support finding pybind11 from the python environment. 2020-11-22 12:52:01 -08:00
Dialects [mlir] use built-in vector types instead of LLVM dialect types when possible 2021-01-12 10:04:28 +01:00
Rationale [mlir] Add section page for Rationale docs. 2020-12-14 14:49:30 -08:00
Tutorials [mlir] replace LLVM dialect float types with built-ins 2021-01-08 17:38:12 +01:00
includes/img [MLIR] Added documentation and manual to use bufferization features. 2020-11-12 10:43:05 +01:00
Bufferization.md [MLIR] Added documentation and manual to use bufferization features. 2020-11-12 10:43:05 +01: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
Canonicalization.md Merge OpFolderDialectInterface with DialectFoldInterface (NFC) 2020-08-13 00:39:22 +00:00
ConversionToLLVMDialect.md [mlir] use built-in vector types instead of LLVM dialect types when possible 2021-01-12 10:04:28 +01:00
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 [Support] Move LLD's parallel algorithm wrappers to support 2020-05-05 15:21:05 -07:00
DialectConversion.md [mlir][doc] Correct method names in DialectConversion.md to match the code. 2020-12-02 00:04:07 -08:00
EDSC.md [mlir] Change dialect namespace loop->scf 2020-05-13 19:20:21 +02:00
Interfaces.md [mlir][Interfaces] Tidy up the documentation for interfaces 2020-12-09 15:34:07 -08:00
LLVMDialectMemRefConvention.md [mlir] replace LLVM dialect float types with built-ins 2021-01-08 17:38:12 +01:00
LangRef.md Update syntax for tensor and memref types to match parser. 2021-01-11 22:57:14 +00:00
OpDefinitions.md [mlir][TypeDefGen] Add support for adding builders when generating a TypeDef 2021-01-11 12:06:22 -08:00
PassManagement.md [mlir] Add a hook for initializing passes before execution and use it in the Canonicalizer 2021-01-08 13:36:12 -08:00
Passes.md [mlir] Add tensor passes to passes.md 2020-12-23 16:13:03 -08:00
PatternRewriter.md [MLIR][Docs] Fix a small typo in documentation. 2020-12-21 22:30:22 +01:00
Quantization.md [mlir][NFC] Remove usernames and google bug numbers from TODO comments. 2020-07-07 01:40:52 -07:00
README.txt [mlir] Add short readme.txt to docs directory 2020-02-18 08:35:22 -08:00
SPIRVToLLVMDialectConversion.md [mlir] use built-in vector types instead of LLVM dialect types when possible 2021-01-12 10:04:28 +01:00
ShapeInference.md [mlir][Types][NFC] Move all of the builtin Type classes to BuiltinTypes.h 2020-12-03 18:02:10 -08:00
SymbolsAndSymbolTables.md [MLIR] Extend Symbol verification to reject public symbol declarations. 2020-11-16 16:05:32 -08:00
Traits.md [mlir] Add ElementwiseMappable trait and apply it to std elementwise ops. 2020-11-10 13:44:44 -08: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.