1 //===- PassDetail.h - Transforms 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 TRANSFORMS_PASSDETAIL_H_
10 #define TRANSFORMS_PASSDETAIL_H_
11 
12 #include "mlir/Pass/Pass.h"
13 
14 namespace mlir {
15 // Forward declaration from Dialect.h
16 template <typename ConcreteDialect>
17 void registerDialect(DialectRegistry &registry);
18 
19 namespace linalg {
20 class LinalgDialect;
21 } // end namespace linalg
22 
23 namespace memref {
24 class MemRefDialect;
25 } // end namespace memref
26 
27 #define GEN_PASS_CLASSES
28 #include "mlir/Transforms/Passes.h.inc"
29 
30 } // end namespace mlir
31 
32 #endif // TRANSFORMS_PASSDETAIL_H_
33