llvm-project/mlir/test/mlir-tblgen
John Demme 95956c1c9a [MLIR] ODS typedef gen fixes & improvements
- Fixes bug 48242 point 3 crash.
- Makes the improvments from points 1 & 2.

https://bugs.llvm.org/show_bug.cgi?id=48262

```
   def RTLValueType : Type<CPred<"isRTLValueType($_self)">, "Type"> {
     string cppType = "::mlir::Type";
   }
```
Works now, but merely by happenstance. Parameters expects a `TypeParameter` class def or a string representing a c++ type but doesn't enforce it.

Reviewed By: lattner

Differential Revision: https://reviews.llvm.org/D91939
2020-11-22 16:06:14 -08:00
..
dialect.td [ODS] Allow dialect to specify C++ namespaces 2019-05-20 13:49:27 -07:00
expect-symbol.td Use `not` to invert return code in expected to fail tests 2019-10-30 14:38:18 -07:00
interfaces.mlir [mlir] Allow for using interface class name in ODS interface definitions 2020-11-17 14:28:55 +01:00
llvm-intrinsics.td [MLIR] Update intrinsic test, because ptrmask changed. 2020-05-15 14:35:39 -07:00
op-attribute.td [MLIR][TableGen] Automatic detection and elimination of redundant methods 2020-09-17 16:04:37 -07:00
op-decl.td [mlir] ODS: support TableGen dag objects to specify OpBuilder parameters 2020-10-21 11:42:50 +02:00
op-derived-attribute.mlir [MLIR] Add getSizeInBits() for tensor of complex 2020-08-07 12:38:49 -07:00
op-error.td [mlir] ODS: support TableGen dag objects to specify OpBuilder parameters 2020-10-21 11:42:50 +02:00
op-format-spec.td [mlir] Add plus, star and optional less/greater parsing 2020-11-12 13:28:31 +01:00
op-format.mlir [NFC] Add unit tests for printing/parsing of variadic operands and results. 2020-11-17 09:21:46 -08:00
op-interface.td [mlir] Allow for using interface class name in ODS interface definitions 2020-11-17 14:28:55 +01:00
op-operand.td [mlir-tblgen] Use fully qualified names in generated code files 2020-06-26 15:05:33 +02:00
op-python-bindings.td [mlir] Add a _get_default_loc_context utility to Python bindings 2020-11-17 17:55:47 +01:00
op-result.td [MLIR] Change default builders generated by TableGen to use TypeRange for result types 2020-09-23 09:06:07 -07:00
op-side-effects.td [mlir] Add support for referencing a SymbolRefAttr in a SideEffectInstance 2020-11-18 18:38:43 -08:00
openmp-common.td [NFC][MLIR][OpenMP] Add comments and test for OpenMP enum declaration utility 2020-08-14 23:22:23 +01:00
pattern.mlir [mlir][Asm] Add support for using an alias for trailing operation locations 2020-11-09 21:54:47 -08:00
predicate.td [mlir-tblgen] Use fully qualified names in generated code files 2020-06-26 15:05:33 +02:00
return-types.mlir Change filecheck default to dump input on failure 2020-06-09 18:57:46 +00:00
rewriter-errors.td [mlir] RewriterGen NativeCodeCall matcher with ConstantOp matcher 2020-10-15 16:32:20 -07:00
testdialect-typedefs.mlir [MLIR] Add support for defining Types in tblgen 2020-10-14 00:32:18 +00:00
trait.mlir [MLIR] Add idempotent trait folding 2020-10-16 15:51:04 +00:00
typedefs.td [MLIR] ODS typedef gen fixes & improvements 2020-11-22 16:06:14 -08:00
types.mlir [mlir][core] Add IndexElementsAttr helpers. 2020-05-27 13:39:48 -07:00