FLANG
include
flang
Optimizer
OpenMP
Passes.h
1
//===- Passes.h - OpenMP 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 flang OpenMP passes.
10
//
11
//===----------------------------------------------------------------------===//
12
13
#ifndef FORTRAN_OPTIMIZER_OPENMP_PASSES_H
14
#define FORTRAN_OPTIMIZER_OPENMP_PASSES_H
15
16
#include "flang/Optimizer/OpenMP/Utils.h"
17
#include "mlir/Dialect/Func/IR/FuncOps.h"
18
#include "mlir/IR/BuiltinOps.h"
19
#include "mlir/Pass/Pass.h"
20
#include "mlir/Pass/PassRegistry.h"
21
22
#include <memory>
23
24
namespace
flangomp {
25
#define GEN_PASS_DECL
26
#define GEN_PASS_REGISTRATION
27
#include "flang/Optimizer/OpenMP/Passes.h.inc"
28
32
bool
shouldUseWorkshareLowering(mlir::Operation *op);
33
34
std::unique_ptr<mlir::Pass> createDoConcurrentConversionPass(
bool
mapToDevice);
35
}
// namespace flangomp
36
37
#endif
// FORTRAN_OPTIMIZER_OPENMP_PASSES_H
Generated on
for FLANG by
1.14.0