llvm-project/mlir/tools/mlir-tblgen
Stella Laurenzo fd226c9b02 [mlir][Python] Roll up of python API fixes.
* As discussed, fixes the ordering or (operands, results) -> (results, operands) in various `create` like methods.
* Fixes a syntax error in an ODS accessor method.
* Removes the linalg example in favor of a test case that exercises the same.
* Fixes FuncOp visibility to properly use None instead of the empty string and defaults it to None.
* Implements what was documented for requiring that trailing __init__ args `loc` and `ip` are keyword only.
* Adds a check to `InsertionPoint.insert` so that if attempting to insert past the terminator, an exception is raised telling you what to do instead. Previously, this would crash downstream (i.e. when trying to print the resultant module).
* Renames `_ods_build_default` -> `build_generic` and documents it.
* Removes `result` from the list of prohibited words and for single-result ops, defaults to naming the result `result`, thereby matching expectations and what is already implemented on the base class.
* This was intended to be a relatively small set of changes to be inlined with the broader support for ODS generating the most specific builder, but it spidered out once actually testing various combinations, so rolling up separately.

Differential Revision: https://reviews.llvm.org/D95320
2021-01-24 19:02:59 -08:00
..
CMakeLists.txt [mlir][openacc] Use TableGen information for default enum 2021-01-12 09:42:42 -05:00
DialectGen.cpp Common code preparation for tblgen-types patch 2020-09-26 02:47:48 +00:00
DirectiveCommonGen.cpp [mlir][openacc] Use TableGen information for default enum 2021-01-12 09:42:42 -05:00
DocGenUtilities.h Mass update the MLIR license header to mention "Part of the LLVM project" 2020-01-26 03:58:30 +00:00
EnumsGen.cpp [mlir][ODS] Rename several uses of 'description' to 'summary' 2021-01-06 14:18:58 -08:00
LLVMIRConversionGen.cpp [mlir] Remove LLVMType, LLVM dialect types now derive Type directly 2021-01-05 17:36:54 +01:00
LLVMIRIntrinsicGen.cpp [mlir][TableGen] Support intrinsics with multiple returns and overloaded operands. 2020-11-19 09:59:42 +01:00
OpDefinitionsGen.cpp [mlir][ODS] Add a C++ abstraction for OpBuilders 2021-01-11 12:06:22 -08:00
OpDocGen.cpp [mlir][ODS] Rename several uses of 'description' to 'summary' 2021-01-06 14:18:58 -08:00
OpFormatGen.cpp [mlir][OpFormatGen] Add support for anchoring optional groups with types 2021-01-22 12:07:27 -08:00
OpFormatGen.h [mlir] Add initial support for parsing a declarative operation assembly format 2020-01-30 11:43:40 -08:00
OpInterfacesGen.cpp [MLIR] Fix TableGen generator for attribute interfaces. 2020-11-24 14:06:35 +01:00
OpPythonBindingGen.cpp [mlir][Python] Roll up of python API fixes. 2021-01-24 19:02:59 -08:00
PassCAPIGen.cpp Add basic Python bindings for the PassManager and bind libTransforms 2020-11-10 19:55:21 +00:00
PassDocGen.cpp [mlir][Pass] Update the PassGen to generate base classes instead of utilities 2020-04-07 14:08:52 -07:00
PassGen.cpp Separate the Registration from Loading dialects in the Context 2020-08-19 01:19:03 +00:00
RewriterGen.cpp Fix MLIR DRR matching when attributes are interleaved with operands 2021-01-08 03:18:26 +00:00
SPIRVUtilsGen.cpp [mlir][spirv] NFC: split deserialization into multiple source files 2021-01-12 11:21:03 -05:00
StructsGen.cpp [mlir][ODS] Rename several uses of 'description' to 'summary' 2021-01-06 14:18:58 -08:00
TypeDefGen.cpp [mlir][TypeDefGen] Add support for adding builders when generating a TypeDef 2021-01-11 12:06:22 -08:00
mlir-tblgen.cpp Mass update the MLIR license header to mention "Part of the LLVM project" 2020-01-26 03:58:30 +00:00