llvm-project/mlir/docs
Jeremy Furtek 33185e66f2 [mlir] Add ODS support for enum attributes with grouped bit cases
This diff modifies the tablegen specification and code generation for
BitEnumAttr attributes in MLIR Operation Definition Specification (ODS) files.
Specifically:

- there is a new tablegen class for "none" values (i.e. no bits set)
- single-bit enum cases are specified via bit index (i.e. [0, 31]) instead of
  the resulting enum integer value
- there is a new tablegen class to represent a "grouped" bitwise OR of other
  enum values

This diff is intended as an initial step towards improving "fastmath"
optimization support in MLIR, to allow more precise control of whether certain
floating point optimizations are applied in MLIR passes. "Fast" math options
for floating point MLIR operations would (following subsequent RFC and
discussion) be specified by using the improved enum bit support in this diff.
For example, a "fast" enum value would act as an alias for a group of other
cases (e.g. finite-math-only, no-signed-zeros, etc.), in a way that is similar
to support in C/C++ compilers (clang, gcc).

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D117029
2022-01-26 21:01:01 +00:00
..
Bindings [mlir] Fix reference to out of date CMake function 2022-01-13 15:26:36 +01:00
Dialects [mlir][OpDSL] Separate `ReduceFn` and `ReduceFnUse`. 2022-01-07 12:51:06 +00:00
Rationale [mlir][Pass] Deprecate FunctionPass in favor of OperationPass<FuncOp> 2022-01-18 19:52:44 -08:00
Tools [mlir][docs] Fix obvious spelling mistakes in documentation 2021-10-29 09:19:11 +02:00
Tutorials [mlir][Pass] Deprecate FunctionPass in favor of OperationPass<FuncOp> 2022-01-18 19:52:44 -08:00
includes/img [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
BufferDeallocationInternals.md [mlir] Move memref.[tensor_load|buffer_cast|clone] to "bufferization" dialect. 2021-11-25 11:50:39 +01:00
Bufferization.md [mlir][Pass] Deprecate FunctionPass in favor of OperationPass<FuncOp> 2022-01-18 19:52:44 -08:00
CAPI.md [mlir] support interfaces in Python bindings 2021-10-25 12:50:42 +02:00
CMakeLists.txt Remove CMake configuration for Sphinx targets in MLIR 2020-03-12 01:28:38 +00:00
Canonicalization.md Clarify that fold() can't "erase" an operation in the MLIR Canonicalization doc (NFC) 2022-01-13 18:43:18 +00:00
DataLayout.md [mlir][NFC] Replace references to Identifier with StringAttr 2021-11-16 17:36:26 +00: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 `either` in Tablegen DRR. 2021-11-08 23:16:03 +00:00
Diagnostics.md [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
DialectConversion.md [MLIR] Fix confusing diagnostic during dialect conversion 2022-01-03 20:13:23 +05:30
Interfaces.md [mlir][Interfaces] Add a extraSharedClassDeclaration field 2022-01-12 14:12:08 -08:00
LangRef.md [mlir][LangRef] Add top-level production to the MLIR grammar 2022-01-21 17:08:53 +05:30
OpDefinitions.md [mlir] Add ODS support for enum attributes with grouped bit cases 2022-01-26 21:01:01 +00:00
PassManagement.md Adjust "end namespace" comment in MLIR to match new agree'd coding style 2021-12-08 06:05:26 +00:00
Passes.md [MLIR][arith] fix references to std.constant in comments 2021-10-14 20:38:47 +00:00
PatternRewriter.md [mlir:GreedyPatternRewriter] Add debug logging for pattern rewriter actions 2021-10-21 17:14:35 +00: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
SPIRVToLLVMDialectConversion.md [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
ShapeInference.md [mlir][docs] Fix obvious spelling mistakes in documentation 2021-10-29 09:19:11 +02:00
SymbolsAndSymbolTables.md [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
TargetLLVMIR.md [mlir][docs] Fix obvious spelling mistakes in documentation 2021-10-29 09:19:11 +02:00
Traits.md [mlir] Convert OpTrait::FunctionLike to FunctionOpInterface 2022-01-18 20:56:53 -08:00
doxygen-mainpage.dox
doxygen.cfg.in [NFC] Inclusive Language: change master to main for .chm files 2021-11-08 08:23:04 -06: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.