llvm-project/mlir/tools/mlir-tblgen
Rahul Joshi 6b043ecdb7 [MLIR] Fix genTypeInterfaceMethods() to work correctly with InferTypeOpInterface
- Change InferTypeOpInterface::inferResultTypes to use fully qualified types matching
  the ones generated by genTypeInterfaceMethods, so the redundancy can be detected.
- Move genTypeInterfaceMethods() before genOpInterfaceMethods() so that the
  inferResultTypes method generated by genTypeInterfaceMethods() takes precedence
  over the declaration that might be generated by genOpInterfaceMethods()
- Modified an op in the test dialect to exercise this (the modified op would fail to
  generate valid C++ code due to duplicate inferResultTypes methods).

Differential Revision: https://reviews.llvm.org/D92414
2020-12-01 13:36:25 -08:00
..
CMakeLists.txt [mlir] ODS-backed python binding generator for custom op classes 2020-11-10 10:58:29 +01:00
DialectGen.cpp Common code preparation for tblgen-types patch 2020-09-26 02:47:48 +00:00
DocGenUtilities.h
EnumsGen.cpp
LLVMIRConversionGen.cpp
LLVMIRIntrinsicGen.cpp [mlir][TableGen] Support intrinsics with multiple returns and overloaded operands. 2020-11-19 09:59:42 +01:00
OpDefinitionsGen.cpp [MLIR] Fix genTypeInterfaceMethods() to work correctly with InferTypeOpInterface 2020-12-01 13:36:25 -08:00
OpDocGen.cpp [MLIR] Add support for defining Types in tblgen 2020-10-14 00:32:18 +00:00
OpFormatGen.cpp [mlir] Add plus, star and optional less/greater parsing 2020-11-12 13:28:31 +01:00
OpFormatGen.h
OpInterfacesGen.cpp [MLIR] Fix TableGen generator for attribute interfaces. 2020-11-24 14:06:35 +01:00
OpPythonBindingGen.cpp [mlir] Make attributes mutable in Python bindings 2020-11-24 09:16:25 +01:00
OpenMPCommonGen.cpp [NFC][MLIR][OpenMP] Add comments and test for OpenMP enum declaration utility 2020-08-14 23:22:23 +01:00
PassCAPIGen.cpp Add basic Python bindings for the PassManager and bind libTransforms 2020-11-10 19:55:21 +00:00
PassDocGen.cpp
PassGen.cpp Separate the Registration from Loading dialects in the Context 2020-08-19 01:19:03 +00:00
RewriterGen.cpp Don't count attributes when addressing operands. 2020-12-01 01:21:36 +00:00
SPIRVUtilsGen.cpp [mlir][spirv] Fix extended insts deserialization generation 2020-10-06 13:34:58 -04:00
StructsGen.cpp [mlir] Support default valued attribute in StructsGen 2020-09-03 09:46:44 -04:00
TypeDefGen.cpp [MLIR] ODS typedef gen fixes & improvements 2020-11-22 16:06:14 -08:00
mlir-tblgen.cpp