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/Dialect/PDL/IR/PDLTypes.h" 13 #include "mlir/Dialect/Transform/IR/TransformInterfaces.h" 14 #include "mlir/IR/OpImplementation.h" 15 16 namespace mlir { 17 namespace func { 18 class FuncOp; 19 } // namespace func 20 namespace scf { 21 class ForOp; 22 } // namespace scf 23 } // namespace mlir 24 25 #define GET_OP_CLASSES 26 #include "mlir/Dialect/SCF/TransformOps/SCFTransformOps.h.inc" 27 28 namespace mlir { 29 class DialectRegistry; 30 31 namespace scf { 32 void registerTransformDialectExtension(DialectRegistry ®istry); 33 } // namespace scf 34 } // namespace mlir 35 36 #endif // MLIR_DIALECT_SCF_TRANSFORMOPS_SCFTRANSFORMOPS_H 37