llvm-project/mlir/test/mlir-tblgen
Kazu Hirata 5521097190 [mlir] Use std::nullopt instead of None (NFC)
I've verified that every change in this patch affects generated files
and would reduce the number of warnings if None were deprecated.

This is part of an effort to migrate from llvm::Optional to
std::optional:

https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
2022-12-04 13:52:46 -08:00
..
attr-or-type-builder-invalid.td [mlir][tblgen] Improving error messages 2022-06-30 18:25:53 -07:00
attr-or-type-format-invalid.td [mlir][ods] Allow custom directives in optional groups 2022-10-12 17:55:51 -07:00
attr-or-type-format-roundtrip.mlir [MLIR] Add FieldParser implementation for Optional<> integer types. 2022-11-18 21:22:27 -06:00
attr-or-type-format.mlir [MLIR] Add FieldParser implementation for Optional<> integer types. 2022-11-18 21:22:27 -06:00
attr-or-type-format.td [mlir][ods] Allow references to the self type 2022-09-30 16:34:01 -07:00
attrdefs.td [mlir] Use std::nullopt instead of None (NFC) 2022-12-04 13:52:46 -08:00
constant-str-attr-invalid.mlir [MLIR][ODS] default-valued strings should be in quotes 2021-10-15 03:00:41 +00:00
constraint-unique.td [mlir][ods] ODS-level Attribute Optimizations 2022-04-11 18:34:07 +00:00
default-type-attr-print-parser.td [mlir, flang] Use has_value instead of hasValue (NFC) 2022-08-06 11:12:47 -07:00
deprecation.td [mlir][ods] Add Deprecate helper 2022-03-22 11:08:36 -07:00
dialect.td
directive-common.td [mlir][OpenMP] Generating enums in accordance with the guidelines 2022-03-09 20:10:45 +05:30
enums-gen-empty.td [mlir][tblgen] Fix crash in `-gen-enum-(decls|defs)` when `EnumAttrInfo` is not defined 2022-10-07 09:59:29 +02:00
enums-gen.td [mlir] Better handling for bit groups in enum parser/printer 2022-10-23 23:59:55 -07:00
expect-symbol.td [mlir] Split out AttrDef/TypeDef and pattern constructs from OpBase.td 2022-03-15 00:18:03 -07:00
gen-dialect-doc.td Introduce a ConditionallySpeculatable op interface 2022-10-12 10:56:12 -07:00
interfaces-as-constraints.td [mlir] Update tests to use kEmitAccessorPrefix_Prefixed 2022-09-20 23:46:27 -07:00
interfaces.mlir
llvm-intrinsics.td Introduce a ConditionallySpeculatable op interface 2022-10-12 10:56:12 -07:00
op-attribute.td [mlir] Use std::nullopt instead of None (NFC) 2022-12-04 13:52:46 -08:00
op-decl-and-defs.td [mlir] Remove support for non-prefixed accessors 2022-12-02 13:32:36 -08:00
op-derived-attribute.mlir [mlir][NFC] Update textual references of `func` to `func.func` in tool/runner tests 2022-04-20 22:17:30 -07:00
op-error.td [mlir] Support verification order (1/3) 2022-02-02 18:25:44 +00:00
op-format-invalid.td [mlir][ods] Support default-valued attributes in optional groups 2022-10-16 18:01:39 -04:00
op-format-spec.td [mlir][ods] OpFormat: fix type inference issues 2022-08-29 09:28:40 -07:00
op-format-verify.td [mlir][ods] Fix verification of attribute + colon type ambiguity 2022-05-16 21:15:27 +00:00
op-format.mlir [mlir][ods] Support default-valued attributes in optional groups 2022-10-16 18:01:39 -04:00
op-format.td [mlir][ods] Support default-valued attributes in optional groups 2022-10-16 18:01:39 -04:00
op-interface.td [mlir] ODS: emit interface model method at the end of the header 2022-10-27 22:54:19 +00:00
op-operand.td [mlir] Update tests to use kEmitAccessorPrefix_Prefixed 2022-09-20 23:46:27 -07:00
op-python-bindings.td [mlir] Populate default attributes on op creation 2022-08-22 16:49:46 -07:00
op-result.td Let MLIR ODS also support generating build() functions without result type parameters when the op contains regions. 2022-10-21 10:09:52 -07:00
op-side-effects.td [mlir] Update tests to use kEmitAccessorPrefix_Prefixed 2022-09-20 23:46:27 -07:00
pattern.mlir [mlir][NFC] Update remaining textual references of un-namespaced `func` operations 2022-04-20 22:17:31 -07:00
predicate.td [ADT] Deprecate is_splat and replace all uses with all_equal 2022-08-23 11:36:27 -04:00
return-types.mlir [mlir] Add refineReturnTypes to InferTypeOpInterface 2022-07-18 22:18:52 -07:00
rewriter-errors.td [mlir] Split out AttrDef/TypeDef and pattern constructs from OpBase.td 2022-03-15 00:18:03 -07:00
rewriter-indexing.td [mlir] Split out AttrDef/TypeDef and pattern constructs from OpBase.td 2022-03-15 00:18:03 -07:00
rewriter-static-matcher.td [mlir] Split out AttrDef/TypeDef and pattern constructs from OpBase.td 2022-03-15 00:18:03 -07:00
testdialect-attrdefs.mlir [mlir][ods] Allow specifying return types of builders 2022-07-15 18:00:35 -07:00
testdialect-typedefs.mlir [mlir][NFC] Update textual references of `func` to `func.func` in tool/runner tests 2022-04-20 22:17:30 -07:00
trait.mlir [mlir][NFC] Update textual references of `func` to `func.func` in tool/runner tests 2022-04-20 22:17:30 -07:00
typedefs.td [mlir] Use std::nullopt instead of None (NFC) 2022-12-04 13:52:46 -08:00
types.mlir [mlir][NFC] Update textual references of `func` to `func.func` in tool/runner tests 2022-04-20 22:17:30 -07:00