llvm-project/mlir/lib/TableGen
River Riddle 2e2cdd0a52 [mlir] Refactor InterfaceGen to support generating interfaces for Attributes and Types.
This revision adds support to ODS for generating interfaces for attributes and types, in addition to operations. These interfaces can be specified using `AttrInterface` and `TypeInterface` in place of `OpInterface`. All of the features of `OpInterface` are supported except for the `verify` method, which does not have a matching representation in the Attribute/Type world. Generating these interface can be done using `gen-(attr|type)-interface-(defs|decls|docs)`.

Differential Revision: https://reviews.llvm.org/D81884
2020-06-30 15:52:33 -07:00
..
Argument.cpp [mlir][ODS] Add support for optional operands and results with a new Optional directive. 2020-04-10 14:12:06 -07:00
Attribute.cpp [mlir] Add simple generator for return types 2020-05-27 08:45:55 -07:00
CMakeLists.txt [mlir] Refactor InterfaceGen to support generating interfaces for Attributes and Types. 2020-06-30 15:52:33 -07:00
Constraint.cpp [mlir][ods] Look through OpVariable for type constraint 2020-06-18 12:51:51 -07:00
Dialect.cpp [MLIR][NFC] Adopt variadic isa<> 2020-06-24 17:02:44 -07:00
Format.cpp Mass update the MLIR license header to mention "Part of the LLVM project" 2020-01-26 03:58:30 +00:00
Interfaces.cpp [mlir] Refactor InterfaceGen to support generating interfaces for Attributes and Types. 2020-06-30 15:52:33 -07:00
OpClass.cpp [mlir-tblgen] Use fully qualified names in generated code files 2020-06-26 15:05:33 +02:00
OpTrait.cpp [mlir] Refactor InterfaceGen to support generating interfaces for Attributes and Types. 2020-06-30 15:52:33 -07:00
Operator.cpp [ods] Update Operator to record Arg->[Attr|Operand]Index mapping 2020-06-29 16:40:52 -07:00
Pass.cpp [mlir][Pass] Update the PassGen to generate base classes instead of utilities 2020-04-07 14:08:52 -07:00
Pattern.cpp [MLIR][NFC] Adopt variadic isa<> 2020-06-24 17:02:44 -07:00
Predicate.cpp [mlir-tblgen] Stop leaking PredNodes 2020-02-06 18:03:15 +01:00
Region.cpp [mlir][ODS] Add support for variadic regions. 2020-04-05 01:03:38 -07:00
SideEffects.cpp [mlir] Updated SideEffect interface definitions to use tablegen Resource objects. 2020-05-08 09:55:08 +02:00
Successor.cpp [llvm][ADT] Move TypeSwitch class from MLIR to LLVM 2020-04-14 15:14:41 -07:00
Type.cpp [llvm][ADT] Move TypeSwitch class from MLIR to LLVM 2020-04-14 15:14:41 -07:00