22struct PDLOperationTypeTransformHandleTypeInterfaceImpl
23 :
public transform::TransformHandleTypeInterface::ExternalModel<
24 PDLOperationTypeTransformHandleTypeInterfaceImpl,
28 DiagnosedSilenceableFailure
29 checkPayload(Type type, Location loc, ArrayRef<Operation *> payload)
const {
46#include "mlir/Dialect/Transform/PDLExtension/PDLExtensionOps.cpp.inc"
49 addDialectDataInitializer<transform::PDLMatchHooks>(
50 [](transform::PDLMatchHooks &) {});
54 declareDependentDialect<pdl::PDLDialect>();
58 declareGeneratedDialect<pdl_interp::PDLInterpDialect>();
61 addCustomInitializationStep([](MLIRContext *context) {
62 pdl::OperationType::attachInterface<
63 PDLOperationTypeTransformHandleTypeInterfaceImpl>(*context);
#define MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(CLASS_NAME)
static DiagnosedSilenceableFailure success()
Constructs a DiagnosedSilenceableFailure in the success state.
The DialectRegistry maps a dialect namespace to a constructor for the matching dialect.
void addExtensions()
Add the given extensions to the registry.
Base class for extensions of the Transform dialect that supports injecting operations into the Transf...
Include the generated interface declarations.