llvm-project/mlir/test/mlir-tblgen
Alex Zinenko f343544b81 [mlir] Generator converting LLVM intrinsics defs to MLIR ODS
Introduce a new generator for MLIR tablegen driver that consumes LLVM IR
intrinsic definitions and produces MLIR ODS definitions. This is useful to
bulk-generate MLIR operations equivalent to existing LLVM IR intrinsics, such
as additional arithmetic instructions or NVVM.

A test exercising the generation is also added. It reads the main LLVM
intrinsics file and produces ODS to make sure the TableGen model remains in
sync with what is used in LLVM.

Differential Revision: https://reviews.llvm.org/D72926
2020-01-17 18:20:24 +01: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
llvm-intrinsics.td [mlir] Generator converting LLVM intrinsics defs to MLIR ODS 2020-01-17 18:20:24 +01:00
op-attribute.td [mlir] Add shaped container component type interface 2020-01-15 13:28:39 -08:00
op-decl.td [mlir] Add shaped container component type interface 2020-01-15 13:28:39 -08:00
op-interface.td Skip generating C++ for "DeclareOpInterfaceMethods" in op interface gen. 2019-12-13 17:08:33 -08:00
op-operand.td [mlir] Add shaped container component type interface 2020-01-15 13:28:39 -08:00
op-result.td [mlir] Add shaped container component type interface 2020-01-15 13:28:39 -08:00
pattern.mlir [DRR] Introduce `$_` to ignore op argument match 2019-12-02 07:54:50 -08:00
predicate.td [mlir] NFC: Remove Value::operator* and Value::operator-> now that Value is properly value-typed. 2020-01-11 08:54:39 -08:00
return-types.mlir [mlir] Add shaped container component type interface 2020-01-15 13:28:39 -08:00
types.mlir Define AnyRankedTensor Type in TableGen 2019-10-25 10:31:56 -07:00