llvm-capstone/mlir/docs
Martin Erhart 34a35a8b24 [mlir] Move FunctionInterfaces to Interfaces directory and inherit from CallableOpInterface
Functions are always callable operations and thus every operation
implementing the `FunctionOpInterface` also implements the
`CallableOpInterface`. The only exception was the FuncOp in the toy
example. To make implementation of the `FunctionOpInterface` easier,
this commit lets `FunctionOpInterface` inherit from
`CallableOpInterface` and merges some of their methods. More precisely,
the `CallableOpInterface` has methods to get the argument and result
attributes and a method to get the result types of the callable region.
These methods are always implemented the same way as their analogues in
`FunctionOpInterface` and thus this commit moves all the argument and
result attribute handling methods to the callable interface as well as
the methods to get the argument and result types. The
`FuntionOpInterface` then does not have to declare them as well, but
just inherits them from the `CallableOpInterface`.
Adding the inheritance relation also required to move the
`FunctionOpInterface` from the IR directory to the Interfaces directory
since IR should not depend on Interfaces.

Reviewed By: jpienaar, springerm

Differential Revision: https://reviews.llvm.org/D157988
2023-08-31 11:28:23 +00:00
..
Bindings [mlir][python] Remove PythonAttr mapping functionality 2023-07-18 12:21:28 -04:00
DefiningDialects Document CMake Changes Needed to Generate Attribute Code from TableGen 2023-08-15 16:29:46 -05:00
Dialects [mlir][gpu] Add documentation for the new GPU compilation mechanism 2023-08-12 00:32:41 +00:00
includes/img
Rationale [MLIR][Docs] Unwrap video link in Rationale 2023-06-02 15:22:26 +01:00
Tools Cleanup the MLIR LSP doc to remove references to the passes 2023-06-15 18:56:19 +02:00
Traits Released restriction that prevented implicit dynamic-to-static dimension type cast in TOSA ops. 2023-08-01 08:57:08 -07:00
Tutorials [mlir] Move FunctionInterfaces to Interfaces directory and inherit from CallableOpInterface 2023-08-31 11:28:23 +00:00
ActionTracing.md [MLIR][doc] Fix the [TOC] tag in two doc 2023-04-25 00:10:26 -07:00
BufferDeallocationInternals.md [mlir] add TOC to top-level documents 2022-08-02 13:22:40 +02:00
Bufferization.md [mlir][arith] Disallow zero ranked tensors for select's condition 2023-06-01 12:12:46 +05:30
BytecodeFormat.md [mlir][bytecode] Avoid recording null arglocs & realloc opnames. 2023-05-25 09:24:50 -07:00
Canonicalization.md [mlir] Add a new fold API using Generic Adaptors 2023-01-11 14:32:21 +01:00
CAPI.md [mlir] add TOC to top-level documents 2022-08-02 13:22:40 +02:00
CMakeLists.txt
DataLayout.md [mlir] add TOC to top-level documents 2022-08-02 13:22:40 +02:00
DeclarativeRewrites.md [mlir] Enable DRR variadic operand matching 2023-08-28 14:11:32 -07:00
Diagnostics.md [mlir] Add support for regex within expected-* diagnostics 2022-07-11 21:01:30 -07:00
DialectConversion.md [mlir][Affine][NFC] Wrap dialect in "affine" namespace 2023-04-20 11:19:21 +09:00
doxygen-mainpage.dox
doxygen.cfg.in [docs] Hide collaboration and include graphs in doxygen docs 2023-05-04 12:26:51 +02:00
Interfaces.md [mlir] Move FunctionInterfaces to Interfaces directory and inherit from CallableOpInterface 2023-08-31 11:28:23 +00:00
LangRef.md issue#62488: Correct some syntax errors. Leave location and custom-operation-format unchanged, because I'm not sure. 2023-06-05 16:08:41 -07:00
Passes.md [mlir][doc] Fix broken docs 2023-06-28 08:34:50 +00:00
PassManagement.md Restore mlir-opt --run-reproducer option to opt-in running a reproducer 2023-05-04 11:08:03 -07:00
PatternRewriter.md Finish renaming getOperandSegmentSizeAttr() from operand_segment_sizes to operandSegmentSizes 2023-08-09 19:37:01 -07:00
PDLL.md [mlir][ods] Make Type- and AttrInterfaces also Types and Attrs 2022-07-07 11:54:47 +02:00
Quantization.md [MLIR][Quant] Fix equations in Quantization.md 2023-06-12 13:29:10 +02:00
README.txt
ReleaseNotes.md [MLIR] Switch the default for usePropertiesForAttributes (NFC) 2023-08-28 20:25:03 -07:00
ShapeInference.md [mlir] add TOC to top-level documents 2022-08-02 13:22:40 +02:00
SPIRVToLLVMDialectConversion.md [mlir][spirv] Change dialect name from 'spv' to 'spirv' 2022-09-26 10:58:30 -04:00
SymbolsAndSymbolTables.md [mlir][NFC] Update textual references of func to func.func in examples+python scripts 2022-04-20 22:17:26 -07:00
TargetLLVMIR.md Fix typos in TargetLLVMIR.md 2023-08-22 16:50:04 -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.