llvm-project/mlir/test/Dialect
Lei Zhang e5c85a5a4f [mlir][spirv] Support querying type extension/capability requirements
Previously we only consider the version/capability/extension requirements
on ops themselves. Some types in SPIR-V also require special extensions
or capabilities to be used. For example, non-32-bit integers/floats
will require different capabilities and/or extensions depending on
where they are used because it may mean special hardware abilities.

This commit adds query methods to SPIR-V type class hierarchy to support
querying extensions and capabilities. We don't go through ODS for
auto-generating such information given that we don't have them in
SPIR-V machine readable grammar and there are just a few types.

Differential Revision: https://reviews.llvm.org/D75875
2020-03-12 19:37:45 -04:00
..
AffineOps [mlir][NFC] Move the definition of AffineApplyOp to ODS 2020-03-12 14:26:15 -07:00
FxpMathOps Convert the Canonicalize and CSE passes to generic Operation Passes. 2019-10-24 15:01:09 -07:00
GPU [MLIR] Add `and`, `or`, `xor`, `min`, `max` too gpu.all_reduce and the nvvm lowering 2020-03-11 14:07:04 +01:00
LLVMIR [mlir][ods] Improve integer signedness modelling 2020-03-04 15:05:42 -05:00
Linalg [mlir] Add a new `ConstantLike` trait to better identify operations that represent a "constant". 2020-03-12 14:26:15 -07:00
Loops [MLIR] Change custom printer/parser for loop.parallel and loop.reduce. 2020-03-09 15:11:48 +01:00
OpenMP [MLIR] Add OpenMP dialect with barrier operation 2020-01-29 11:34:58 +00:00
QuantOps Refactor QuantOps TypeParser to use the DialectAsmParser methods directly. 2019-11-01 15:47:03 -07:00
SPIRV [mlir][spirv] Support querying type extension/capability requirements 2020-03-12 19:37:45 -04:00
VectorOps [mlir] [VectorOps] Progressively lower vector.outerproduct to LLVM 2020-03-12 13:45:42 -07:00
traits.mlir [mlir] Generalize broadcastable trait operands 2020-01-20 13:02:14 -08:00