llvm-project/mlir/test/mlir-tblgen
Jacques Pienaar 4b8632e174 [mlir] Expand operand adapter to take attributes
* Enables using with more variadic sized operands;
* Generate convenience accessors for attributes;
  - The accessor are named the same as their name in ODS and returns attribute
    type (not convenience type) and no derived attributes.

This is first step to changing adapter to support verifying argument
constraints before the op is even created. This does not change the name of
adaptor nor does it require it except for ops with variadic operands to keep this change smaller.

Considered creating separate adapter but decided against that given operands also require attributes in general (and definitely for verification of operands and attributes).

Differential Revision: https://reviews.llvm.org/D80420
2020-05-24 21:06:47 -07:00
..
dialect.td [ODS] Allow dialect to specify C++ namespaces 2019-05-20 13:49:27 -07:00
expect-symbol.td Use `not` to invert return code in expected to fail tests 2019-10-30 14:38:18 -07:00
llvm-intrinsics.td [MLIR] Update intrinsic test, because ptrmask changed. 2020-05-15 14:35:39 -07:00
op-attribute.td [mlir][flang] use OpBuilder& instead of Builder* in <Op>::build methods 2020-04-28 10:42:08 +02:00
op-decl.td [mlir] Expand operand adapter to take attributes 2020-05-24 21:06:47 -07:00
op-derived-attribute.mlir [mlir][ods] Add materialize derived attribute method 2020-04-20 13:13:04 -07:00
op-format-spec.td [mlir][ODS] Add support for optional operands and results with a new Optional directive. 2020-04-10 14:12:06 -07:00
op-format.mlir [mlir] Support optional attributes in assembly formats 2020-05-18 18:34:35 +02:00
op-interface.td [mlir][DeclareOpInterfaceMethods] Allow specifying a set of methods to force declaration generation for. 2020-04-29 16:48:15 -07:00
op-operand.td [mlir] Expand operand adapter to take attributes 2020-05-24 21:06:47 -07:00
op-result.td [mlir][flang] use OpBuilder& instead of Builder* in <Op>::build methods 2020-04-28 10:42:08 +02:00
op-side-effects.td [MLIR] Rename SideEffects.td -> SideEffectInterfaces.td 2020-05-12 12:21:42 -07:00
pattern.mlir [mlir][drr] Allow specifying string in location 2020-04-10 12:43:22 -07:00
predicate.td [mlir][NFC] Replace mlir/Support/Functional.h with llvm equivalents. 2020-04-13 14:22:12 -07:00
return-types.mlir [mlir] Add reifyReturnShape to shaped type OpInterface 2020-02-28 08:41:18 -08:00
types.mlir [mlir][ods] Fix AnyInteger predicate 2020-03-09 20:12:15 +00:00