1 //===- PassDetail.h - Loop Pass class details -------------------*- 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 DIALECT_SCF_TRANSFORMS_PASSDETAIL_H_ 10 #define DIALECT_SCF_TRANSFORMS_PASSDETAIL_H_ 11 12 #include "mlir/Dialect/Func/IR/FuncOps.h" 13 #include "mlir/Pass/Pass.h" 14 15 namespace mlir { 16 // Forward declaration from Dialect.h 17 template <typename ConcreteDialect> 18 void registerDialect(DialectRegistry ®istry); 19 20 class AffineDialect; 21 22 namespace arith { 23 class ArithmeticDialect; 24 } // namespace arith 25 26 namespace bufferization { 27 class BufferizationDialect; 28 } // namespace bufferization 29 30 namespace memref { 31 class MemRefDialect; 32 } // namespace memref 33 34 namespace tensor { 35 class TensorDialect; 36 } // namespace tensor 37 38 #define GEN_PASS_CLASSES 39 #include "mlir/Dialect/SCF/Transforms/Passes.h.inc" 40 41 } // namespace mlir 42 43 #endif // DIALECT_SCF_TRANSFORMS_PASSDETAIL_H_ 44