FLANG
Passes.h
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 "flang/Optimizer/Support/AllocationPolicy.h"
18#include "mlir/Dialect/Func/IR/FuncOps.h"
19#include "mlir/Pass/Pass.h"
20#include "mlir/Pass/PassRegistry.h"
21#include <memory>
22
23namespace hlfir {
24#define GEN_PASS_DECL
25#define GEN_PASS_REGISTRATION
26#include "flang/Optimizer/HLFIR/Passes.h.inc"
27} // namespace hlfir
28
29#endif // FORTRAN_OPTIMIZER_HLFIR_PASSES_H