FLANG
Passes.h
1//===- Passes.h - OpenACC 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 the OpenACC passes specific to Fortran and FIR.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef FORTRAN_OPTIMIZER_OPENACC_PASSES_H
14#define FORTRAN_OPTIMIZER_OPENACC_PASSES_H
15
16#include "mlir/IR/BuiltinOps.h"
17#include "mlir/Pass/Pass.h"
18#include "mlir/Pass/PassRegistry.h"
19
20#include <memory>
21
22namespace fir {
23namespace acc {
24#define GEN_PASS_DECL
25#define GEN_PASS_REGISTRATION
26#include "flang/Optimizer/OpenACC/Passes.h.inc"
27
28std::unique_ptr<mlir::Pass> createACCRecipeBufferizationPass();
29
30} // namespace acc
31} // namespace fir
32
33#endif // FORTRAN_OPTIMIZER_OPENACC_PASSES_H
Definition AbstractConverter.h:34