llvm-project/mlir/test/mlir-tblgen
Martin Waitz 72df59d590 [mlir] resolve types from attributes in assemblyFormat
An operation can specify that an operation or result type matches the
type of another operation, result, or attribute via the `AllTypesMatch`
or `TypesMatchWith` constraints.

Use these constraints to also automatically resolve types in the
automatically generated assembly parser.
This way, only the attribute needs to be listed in `assemblyFormat`,
e.g. for constant operations.

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D78434
2020-07-07 04:40:01 +00:00
..
dialect.td
expect-symbol.td
interfaces.mlir [mlir] Refactor InterfaceGen to support generating interfaces for Attributes and Types. 2020-06-30 15:52:33 -07:00
llvm-intrinsics.td [MLIR] Update intrinsic test, because ptrmask changed. 2020-05-15 14:35:39 -07:00
op-attribute.td [mlir-tblgen] Use fully qualified names in generated code files 2020-06-26 15:05:33 +02:00
op-decl.td [mlir] Change ODS to have include and exclude regex 2020-07-06 09:55:10 -07:00
op-derived-attribute.mlir Change filecheck default to dump input on failure 2020-06-09 18:57:46 +00:00
op-format-spec.td Change filecheck default to dump input on failure 2020-06-09 18:57:46 +00:00
op-format.mlir [mlir] resolve types from attributes in assemblyFormat 2020-07-07 04:40:01 +00:00
op-interface.td [mlir-tblgen] Use fully qualified names in generated code files 2020-06-26 15:05:33 +02:00
op-operand.td [mlir-tblgen] Use fully qualified names in generated code files 2020-06-26 15:05:33 +02:00
op-result.td [ods] Update Operator to record Arg->[Attr|Operand]Index mapping 2020-06-29 16:40:52 -07:00
op-side-effects.td [mlir-tblgen] Use fully qualified names in generated code files 2020-06-26 15:05:33 +02:00
pattern.mlir [MLIR] Remove TableGen redundant calls to native calls when creating new operations in DRR TableGen files 2020-06-22 08:12:04 -07:00
predicate.td [mlir-tblgen] Use fully qualified names in generated code files 2020-06-26 15:05:33 +02:00
return-types.mlir Change filecheck default to dump input on failure 2020-06-09 18:57:46 +00:00
types.mlir [mlir][core] Add IndexElementsAttr helpers. 2020-05-27 13:39:48 -07:00