llvm-project/mlir/tools/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
..
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 Mass update the MLIR license header to mention "Part of the LLVM project" 2020-01-26 03:58:30 +00:00
EnumsGen.cpp [mlir-tblgen] Use fully qualified names in generated code files 2020-06-26 15:05:33 +02:00
LLVMIRConversionGen.cpp [mlir] LLVMType: make getUnderlyingType private 2020-07-29 13:43:38 +02:00
LLVMIRIntrinsicGen.cpp [mlir][TableGen] Support intrinsics with multiple returns and overloaded operands. 2020-11-19 09:59:42 +01:00
OpDefinitionsGen.cpp [mlir] Add support for referencing a SymbolRefAttr in a SideEffectInstance 2020-11-18 18:38:43 -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 [mlir] Add initial support for parsing a declarative operation assembly format 2020-01-30 11:43:40 -08:00
OpInterfacesGen.cpp [mlir] Allow for using interface class name in ODS interface definitions 2020-11-17 14:28:55 +01:00
OpPythonBindingGen.cpp [mlir] Add a _get_default_loc_context utility to Python bindings 2020-11-17 17:55:47 +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 [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 Fixed a failure when const matcher fails, added a test to catch 2020-10-16 15:02:24 -07: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 Mass update the MLIR license header to mention "Part of the LLVM project" 2020-01-26 03:58:30 +00:00