llvm-project/mlir/lib/TableGen
Rahul Joshi 8069844577 [MLIR][TableGen] Automatic detection and elimination of redundant methods
- Change OpClass new method addition to find and eliminate any existing methods that
  are made redundant by the newly added method, as well as detect if the newly added
  method will be redundant and return nullptr in that case.
- To facilitate that, add the notion of resolved and unresolved parameters, where resolved
  parameters have each parameter type known, so that redundancy checks on methods
  with same name but different parameter types can be done.
- Eliminate existing code to avoid adding conflicting/redundant build methods and rely
  on this new mechanism to eliminate conflicting build methods.

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

Differential Revision: https://reviews.llvm.org/D87059
2020-09-17 16:04:37 -07:00
..
Argument.cpp [MLIR][NFC] Remove tblgen:: prefix in TableGen/*.cpp files 2020-08-12 14:41:18 -07:00
Attribute.cpp Make struct dialects have the same field name as everything else, 'dialect'. 2020-09-10 19:13:42 +00:00
CMakeLists.txt [mlir] Refactor InterfaceGen to support generating interfaces for Attributes and Types. 2020-06-30 15:52:33 -07:00
Constraint.cpp [mlir][ods] Look through OpVariable for type constraint 2020-06-18 12:51:51 -07:00
Dialect.cpp Allow Dialects to be initialized via nullptr. 2020-09-10 19:14:53 +00:00
Format.cpp [MLIR][NFC] Remove tblgen:: prefix in TableGen/*.cpp files 2020-08-12 14:41:18 -07:00
Interfaces.cpp [mlir][ODS] Add support for specifying the namespace of an interface. 2020-07-12 14:18:32 -07:00
OpClass.cpp [MLIR][TableGen] Automatic detection and elimination of redundant methods 2020-09-17 16:04:37 -07:00
OpTrait.cpp [MLIR][NFC] Remove tblgen:: prefix in TableGen/*.cpp files 2020-08-12 14:41:18 -07:00
Operator.cpp Make namespace handling uniform across dialect backends. 2020-09-14 20:33:31 +00:00
Pass.cpp Separate the Registration from Loading dialects in the Context 2020-08-19 01:19:03 +00:00
Pattern.cpp [MLIR][NFC] Remove tblgen:: prefix in TableGen/*.cpp files 2020-08-12 14:41:18 -07:00
Predicate.cpp [MLIR][NFC] Remove tblgen:: prefix in TableGen/*.cpp files 2020-08-12 14:41:18 -07:00
Region.cpp [mlir][ODS] Add support for variadic regions. 2020-04-05 01:03:38 -07:00
SideEffects.cpp [mlir][ODS] Add support for specifying the namespace of an interface. 2020-07-12 14:18:32 -07:00
Successor.cpp [llvm][ADT] Move TypeSwitch class from MLIR to LLVM 2020-04-14 15:14:41 -07:00
Type.cpp [llvm][ADT] Move TypeSwitch class from MLIR to LLVM 2020-04-14 15:14:41 -07:00