llvm-project/mlir/lib/TableGen
Jeff Niu 4792f2ab21 [mlir][ods] Generalize default/optional parameters
This patch consolidates the notions of an optional parameter and a
default parameter. An optional parameter is a parameter equal to its
default value, which for a "purely optional" parameter is its "null"
value.

This allows the existing `comparator` and `defaultValue` fields to be
used enabled more complex "optional" parameters, such as empty arrays.

Depends on D133812

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D133816
2022-09-20 11:07:53 -07:00
..
Argument.cpp [mlir] Add support for VariadicOfVariadic operands 2021-08-23 20:32:31 +00:00
AttrOrTypeDef.cpp [mlir][ods] Generalize default/optional parameters 2022-09-20 11:07:53 -07:00
Attribute.cpp [mlir][spirv] Migrate to use specalized enum attributes 2022-08-09 14:14:54 -04:00
Builder.cpp [mlir][tblgen] Improving error messages 2022-06-30 18:25:53 -07:00
CMakeLists.txt [mlir][NFC] Move CodeGenHelpers.cpp from mlir-tblgen to TableGen library 2022-09-05 13:05:57 +02:00
Class.cpp [mlir][ods] ODS ops get an `extraClassDefinition` 2022-01-06 01:43:26 +00:00
CodeGenHelpers.cpp [mlir] Don't include SetVector.h (NFC) 2022-09-17 13:36:16 -07:00
Constraint.cpp Use value_or instead of getValueOr (NFC) 2022-06-19 10:34:41 -07:00
Dialect.cpp [mlir] Add extensible dialects 2022-04-26 19:48:22 -07:00
Format.cpp [llvm] Cleanup header dependencies in ADT and Support 2022-01-21 13:54:49 +01:00
GenInfo.cpp [mlir][tblgen] Refact mlir-tblgen main into its own library 2022-08-06 14:07:37 +02:00
Interfaces.cpp [mlir][ods] Make Type- and AttrInterfaces also `Type`s and `Attr`s 2022-07-07 11:54:47 +02:00
Operator.cpp [mlir] Flip default value of emitAccessorPrefix to kEmitAccessorPrefix_Prefixed 2022-09-06 15:56:57 -07:00
Pass.cpp [MLIR] Split autogenerated pass declarations & C++ controllable pass options 2022-08-24 10:01:08 +02:00
Pattern.cpp [mlir] Use C++17 structured bindings instead of std::tie where applicable. NFCI 2022-08-09 13:34:17 +02:00
Predicate.cpp [mlir] Don't include SetVector.h (NFC) 2022-09-17 13:36:16 -07:00
Region.cpp
SideEffects.cpp
Successor.cpp
Trait.cpp [mlir] Support verification order (2/3) 2022-02-25 19:04:56 +00:00
Type.cpp [mlir:PDLL] Add better support for providing Constraint/Pattern/Rewrite documentation 2022-06-02 16:31:07 -07:00