//===- IRDLExtension.cpp - IRDL extension for the Transform dialect -------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include "mlir/Dialect/Transform/IRDLExtension/IRDLExtension.h" #include "mlir/Dialect/IRDL/IR/IRDL.h" #include "mlir/Dialect/Transform/IR/TransformDialect.h" #include "mlir/Dialect/Transform/IRDLExtension/IRDLExtensionOps.h" #include "mlir/IR/DialectRegistry.h" usingnamespacemlir; namespace { class IRDLExtension : public transform::TransformDialectExtension<IRDLExtension> { … }; } // namespace void mlir::transform::registerIRDLExtension(DialectRegistry &dialectRegistry) { … }