1 | //===----------------------------------------------------------------------===// |
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 CIR_DIALECT_TRANSFORMS_PASSDETAIL_H |
10 | #define CIR_DIALECT_TRANSFORMS_PASSDETAIL_H |
11 | |
12 | #include "mlir/IR/Dialect.h" |
13 | #include "mlir/Pass/Pass.h" |
14 | |
15 | namespace cir { |
16 | class CIRDialect; |
17 | } // namespace cir |
18 | |
19 | namespace mlir { |
20 | // Forward declaration from Dialect.h |
21 | template <typename ConcreteDialect> |
22 | void registerDialect(DialectRegistry ®istry); |
23 | |
24 | #define GEN_PASS_CLASSES |
25 | #include "clang/CIR/Dialect/Passes.h.inc" |
26 | |
27 | } // namespace mlir |
28 | |
29 | #endif // CIR_DIALECT_TRANSFORMS_PASSDETAIL_H |
30 | |