llvm-project/mlir/tools/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
..
CMakeLists.txt [MLIR] LLVMMLIRTableGen -> MLIRTableGen 2020-05-19 14:49:32 -07:00
DialectGen.cpp [llvm][StringExtras] Merge StringExtras from MLIR into LLVM 2020-04-14 18:57:22 -07:00
DocGenUtilities.h Mass update the MLIR license header to mention "Part of the LLVM project" 2020-01-26 03:58:30 +00:00
EnumsGen.cpp [mlir][EnumGen] Generate utility symbolizeEnum and stringifyEnum methods during EnumGen 2020-04-12 19:08:08 -07:00
LLVMIRConversionGen.cpp [mlir][ODS] Add support for optional operands and results with a new Optional directive. 2020-04-10 14:12:06 -07:00
LLVMIRIntrinsicGen.cpp [MLIR] Rename SideEffects.td -> SideEffectInterfaces.td 2020-05-12 12:21:42 -07:00
OpDefinitionsGen.cpp [mlir] Expand operand adapter to take attributes 2020-05-24 21:06:47 -07:00
OpDocGen.cpp [mlir] Revamp operation documentation generation 2020-03-24 12:05:18 -07:00
OpFormatGen.cpp [mlir] Support optional attributes in assembly formats 2020-05-18 18:34:35 +02:00
OpFormatGen.h [mlir] Add initial support for parsing a declarative operation assembly format 2020-01-30 11:43:40 -08:00
OpInterfacesGen.cpp [mlir][OpInterfaceGen] Emit the utility Trait decl as a class and not using directive 2020-04-30 11:07:58 -07:00
PassDocGen.cpp [mlir][Pass] Update the PassGen to generate base classes instead of utilities 2020-04-07 14:08:52 -07:00
PassGen.cpp [mlir][NFC] Refactor ClassID into a TypeID class. 2020-04-10 23:52:33 -07:00
RewriterGen.cpp Revert "[mlir][drr] NFC: avoid SmallVector when collecting substitution values" 2020-04-24 15:33:03 -04:00
SPIRVUtilsGen.cpp [mlir][spirv] Add remaining cooperative matrix instructions 2020-05-21 11:55:33 -07:00
StructsGen.cpp Support OptionalAttr inside a StructAttr 2020-02-19 12:47:04 +00:00
mlir-tblgen.cpp Mass update the MLIR license header to mention "Part of the LLVM project" 2020-01-26 03:58:30 +00:00