llvm-project/mlir/tools/mlir-tblgen
Alex Zinenko 9c8fe394cf [mlir] check interfaces are attached to the expected object
Add static assertions into the various `attachInterface` methods, which are
used for adding external interface implementations to attributes, operations
and types, that ensure `ExternalModel` interface classes are instantiated for
the same concrete operation for the concrete base (potentially self) attribute
or type as they are attached to. `FallbackModel`s remain usable for generic
interface models that should support more than one kind of entities.

Reviewed By: springerm

Differential Revision: https://reviews.llvm.org/D127850
2022-06-15 15:07:57 +02:00
..
AttrOrTypeDefGen.cpp [mlir][ods] Make Attr/Type def accessors match the dialect 2022-06-14 05:13:24 +00:00
AttrOrTypeFormatGen.cpp [mlir][ods] Make Attr/Type def accessors match the dialect 2022-06-14 05:13:24 +00:00
AttrOrTypeFormatGen.h [mlir][ods] Make Attr/Type def accessors match the dialect 2022-06-14 05:13:24 +00:00
CMakeLists.txt [mlir][ods] AttrOrTypeGen uses Class 2021-12-01 16:53:23 +00:00
CodeGenHelpers.cpp [mlir:ODS] Support using attributes in AllTypesMatch to automatically add InferTypeOpInterface 2022-04-28 12:57:59 -07:00
DialectGen.cpp [mlir][ods] Simplify useDefaultType/AttributePrinterParser 2022-05-18 17:22:11 +00:00
DialectGenUtilities.h [mlir] Restrict dialect doc gen to a single dialect 2022-05-16 15:35:07 -07:00
DirectiveCommonGen.cpp [mlir][ods] Remove StrEnumAttr 2022-04-13 17:49:02 +00:00
DocGenUtilities.h
EnumsGen.cpp [mlir] Update LLVMIR Fastmath flags use of MLIR BitEnum functionality 2022-05-17 18:19:14 +00:00
FormatGen.cpp [mlir] Added oilist primitive 2022-02-17 11:10:24 +05:30
FormatGen.h [mlir][ods] Add support for custom directive in attr/type formats 2022-03-15 07:15:15 +00:00
LLVMIRConversionGen.cpp [mlir] Support import llvm intrinsics. 2022-05-31 11:08:23 +00:00
LLVMIRIntrinsicGen.cpp Apply clang-tidy fixes for performance-for-range-copy to MLIR (NFC) 2022-01-02 01:13:42 +00:00
OpClass.cpp [mlir][ods] ODS ops get an `extraClassDefinition` 2022-01-06 01:43:26 +00:00
OpClass.h [mlir][ods] ODS ops get an `extraClassDefinition` 2022-01-06 01:43:26 +00:00
OpDefinitionsGen.cpp [mlir] Rename mlir::SmallVector -> llvm::SmallVector 2022-05-24 15:03:19 +00:00
OpDocGen.cpp [mlir] Restrict dialect doc gen to a single dialect 2022-05-16 15:35:07 -07:00
OpFormatGen.cpp [mlir] Rename mlir::SmallVector -> llvm::SmallVector 2022-05-24 15:03:19 +00:00
OpFormatGen.h Adjust "end namespace" comment in MLIR to match new agree'd coding style 2021-12-08 06:05:26 +00:00
OpGenHelpers.cpp [mlir] Hoist out getRequestedOpDefinitions helper 2021-04-06 12:53:28 -07:00
OpGenHelpers.h Adjust "end namespace" comment in MLIR to match new agree'd coding style 2021-12-08 06:05:26 +00:00
OpInterfacesGen.cpp [mlir] check interfaces are attached to the expected object 2022-06-15 15:07:57 +02:00
OpPythonBindingGen.cpp Apply clang-tidy fixes for llvm-else-after-return in OpPythonBindingGen.cpp (NFC) 2022-05-31 11:54:19 +00: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 [mlir] Rework the implementation of TypeID 2022-04-04 13:52:26 -07:00
RewriterGen.cpp [mlir] Rename mlir::SmallVector -> llvm::SmallVector 2022-05-24 15:03:19 +00:00
SPIRVUtilsGen.cpp [NFCI] Fix set-but-unused warning in SPIRVUtilsGen.cpp 2022-03-24 08:53:42 +01:00
StructsGen.cpp [mlir][NFC] Replace references to Identifier with StringAttr 2021-11-16 17:36:26 +00:00
mlir-tblgen.cpp [mlir][ods] Add Deprecate helper 2022-03-22 11:08:36 -07:00