llvm/mlir/docs
Markus Böck 9f186bb125 [mlir][ods] Make Type- and AttrInterfaces also Types and Attrs
By making TypeInterfaces and AttrInterfaces, Types and Attrs respectively it'd then be possible to use them anywhere where a Type or Attr may go. That is within the arguments and results of an Op definition, in a RewritePattern etc.

Prior to this change users had to separately define a Type or Attr, with a predicate to check whether a type or attribute implements a given interface. Such code will be redundant now.
Removing such occurrences in upstream dialects will be part of a separate patch.

As part of implementing this patch, slight refactoring had to be done. In particular, Interfaces cppClassName field was renamed to cppInterfaceName as it "clashed" with TypeConstraints cppClassName. In particular Interfaces cppClassName expected just the class name, without any namespaces, while TypeConstraints cppClassName expected a fully qualified class name.

Differential Revision: https://reviews.llvm.org/D129209
2022-07-07 11:54:47 +02:00
..
Bindings
Dialects [MLIR][Affine] Allow <= in IntegerSet constraints 2022-07-05 12:17:31 +01:00
includes/img
Rationale
Tools [mlir:PDLL] Add support for inlay hints 2022-06-06 20:20:19 -07:00
Tutorials
AttributesAndTypes.md [mlir][tblgen] Consistently use $_ctxt instead of $_ctx 2022-07-05 20:06:52 +02:00
BufferDeallocationInternals.md
Bufferization.md [mlir][bufferize][NFC] Remove BufferizationState 2022-06-17 14:04:11 +02:00
Canonicalization.md
CAPI.md
CMakeLists.txt
DataLayout.md [mlir][NFC] Fix the tags for various doc code blocks 2022-05-16 16:46:13 -07:00
DebugActions.md
DeclarativeRewrites.md
DefiningDialects.md [mlir][doc] Move documentation of extensible dialects 2022-05-09 16:01:12 -07:00
Diagnostics.md Rename parallelForEachN to just parallelFor 2022-06-19 17:49:00 -04:00
DialectConversion.md
doxygen-mainpage.dox
doxygen.cfg.in [mlir] use dynamic sections in MLIR Doxygen 2022-05-13 11:43:52 +02:00
Interfaces.md [mlir][NFC] Fix the tags for various doc code blocks 2022-05-16 16:46:13 -07:00
LangRef.md [mlir:Parser] Don't use strings for the "ugly" form of Attribute/Type syntax 2022-07-05 16:20:30 -07:00
OpDefinitions.md [mlir][NFC] Fix the tags for various doc code blocks 2022-05-16 16:46:13 -07:00
Passes.md [mlir][doc] Move pass to passes list and remove redundant doc 2022-06-13 21:01:31 -07:00
PassManagement.md [mlir] Fix usages of run-reproducer. 2022-07-01 18:36:07 +00:00
PatternRewriter.md
PDLL.md [mlir][ods] Make Type- and AttrInterfaces also Types and Attrs 2022-07-07 11:54:47 +02:00
Quantization.md
README.txt
ShapeInference.md
SPIRVToLLVMDialectConversion.md
SymbolsAndSymbolTables.md
TargetLLVMIR.md [mlir][LLVMIR] Add support for va_start/copy/end intrinsics 2022-06-27 09:46:40 -07: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.