xref: /llvm-project/mlir/include/mlir/Dialect/SCF/TransformOps/SCFTransformOps.h (revision 5a9bdd85ee4d8527e2cedf44f3ce26ff414f9b6a)
1 //===- SCFTransformOps.h - SCF transformation ops ---------------*- C++ -*-===//
2 //
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
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef MLIR_DIALECT_SCF_TRANSFORMOPS_SCFTRANSFORMOPS_H
10 #define MLIR_DIALECT_SCF_TRANSFORMOPS_SCFTRANSFORMOPS_H
11 
12 #include "mlir/Bytecode/BytecodeOpInterface.h"
13 #include "mlir/Dialect/Transform/IR/TransformTypes.h"
14 #include "mlir/Dialect/Transform/Interfaces/TransformInterfaces.h"
15 #include "mlir/IR/OpImplementation.h"
16 #include "mlir/Interfaces/LoopLikeInterface.h"
17 
18 namespace mlir {
19 namespace func {
20 class FuncOp;
21 } // namespace func
22 namespace scf {
23 class ForallOp;
24 class ForOp;
25 class IfOp;
26 } // namespace scf
27 } // namespace mlir
28 
29 #define GET_OP_CLASSES
30 #include "mlir/Dialect/SCF/TransformOps/SCFTransformOps.h.inc"
31 
32 namespace mlir {
33 class DialectRegistry;
34 
35 namespace scf {
36 void registerTransformDialectExtension(DialectRegistry &registry);
37 } // namespace scf
38 } // namespace mlir
39 
40 #endif // MLIR_DIALECT_SCF_TRANSFORMOPS_SCFTRANSFORMOPS_H
41