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
15namespace cir {
16class CIRDialect;
17} // namespace cir
18
19namespace mlir {
20// Forward declaration from Dialect.h
21template <typename ConcreteDialect>
22void registerDialect(DialectRegistry &registry);
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

source code of clang/lib/CIR/Dialect/Transforms/PassDetail.h