xref: /llvm-project/flang/include/flang/Optimizer/HLFIR/Passes.h (revision de327865c0e255bc799458ce34bc913f598b4261)
1 //===- Passes.h - HLFIR pass entry points ----------------------*- 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 // This header declares HLFIR pass entry points.
10 //
11 //===----------------------------------------------------------------------===//
12 
13 #ifndef FORTRAN_OPTIMIZER_HLFIR_PASSES_H
14 #define FORTRAN_OPTIMIZER_HLFIR_PASSES_H
15 
16 #include "mlir/Dialect/Func/IR/FuncOps.h"
17 #include "mlir/Pass/Pass.h"
18 #include "mlir/Pass/PassRegistry.h"
19 #include <memory>
20 
21 namespace hlfir {
22 #define GEN_PASS_DECL
23 #define GEN_PASS_REGISTRATION
24 #include "flang/Optimizer/HLFIR/Passes.h.inc"
25 } // namespace hlfir
26 
27 #endif // FORTRAN_OPTIMIZER_HLFIR_PASSES_H
28