llvm-project/mlir/lib/TableGen
River Riddle 948be58258 [mlir][TypeDefGen] Add support for adding builders when generating a TypeDef
This allows for specifying additional get/getChecked methods that should be generated on the type, and acts similarly to how OpBuilders work. TypeBuilders have two additional components though:
* InferredContextParam
  - Bit indicating that the context parameter of a get method is inferred from one of the builder parameters
* checkedBody
  - A code block representing the body of the equivalent getChecked method.

Differential Revision: https://reviews.llvm.org/D94274
2021-01-11 12:06:22 -08:00
..
Argument.cpp [MLIR][NFC] Remove tblgen:: prefix in TableGen/*.cpp files 2020-08-12 14:41:18 -07:00
Attribute.cpp [TableGen] Eliminate the 'code' type 2020-12-03 10:19:11 -05:00
Builder.cpp [mlir][ODS] Add a C++ abstraction for OpBuilders 2021-01-11 12:06:22 -08:00
CMakeLists.txt [mlir][ODS] Add a C++ abstraction for OpBuilders 2021-01-11 12:06:22 -08:00
Constraint.cpp [mlir][ODS] Rename several uses of 'description' to 'summary' 2021-01-06 14:18:58 -08:00
Dialect.cpp [TableGen] Eliminate the 'code' type 2020-12-03 10:19:11 -05:00
Format.cpp Import llvm::StringSwitch into mlir namespace. 2020-10-08 11:39:24 +02:00
Interfaces.cpp [mlir][ODS] Add support for specifying the namespace of an interface. 2020-07-12 14:18:32 -07:00
OpClass.cpp [mlir][IR] Use tablegen for the BuiltinDialect and operations 2020-11-17 00:53:40 -08:00
OpTrait.cpp [mlir][ODS] Rename several uses of 'description' to 'summary' 2021-01-06 14:18:58 -08:00
Operator.cpp [mlir][ODS] Add a C++ abstraction for OpBuilders 2021-01-11 12:06:22 -08:00
Pass.cpp Separate the Registration from Loading dialects in the Context 2020-08-19 01:19:03 +00:00
Pattern.cpp [TableGen] Eliminate the 'code' type 2020-12-03 10:19:11 -05:00
Predicate.cpp Import llvm::StringSwitch into mlir namespace. 2020-10-08 11:39:24 +02:00
Region.cpp [mlir][ODS] Add support for variadic regions. 2020-04-05 01:03:38 -07:00
SideEffects.cpp [mlir][ODS] Add support for specifying the namespace of an interface. 2020-07-12 14:18:32 -07:00
Successor.cpp [llvm][ADT] Move TypeSwitch class from MLIR to LLVM 2020-04-14 15:14:41 -07:00
Type.cpp [mlir][ODS] Fix the use of cppClassName in Type constraints for TypeDefs 2021-01-06 14:18:58 -08:00
TypeDef.cpp [mlir][TypeDefGen] Add support for adding builders when generating a TypeDef 2021-01-11 12:06:22 -08:00