1 //===-- MyExtension.h - Transform dialect tutorial --------------*- c++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // This file defines Transform dialect extension operations used in the
10 // Chapter 3 of the Transform dialect tutorial.
12 //===----------------------------------------------------------------------===//
14 #include "mlir/Bytecode/BytecodeOpInterface.h"
15 #include "mlir/Dialect/Transform/IR/TransformDialect.h"
16 #include "mlir/Dialect/Transform/IR/TransformInterfaces.h"
19 class CallOpInterface
;
25 #define GET_TYPEDEF_CLASSES
26 #include "MyExtensionTypes.h.inc"
28 #define GET_OP_CLASSES
29 #include "MyExtension.h.inc"
31 // Registers our Transform dialect extension.
32 void registerMyExtension(::mlir::DialectRegistry
®istry
);