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 "mlir/Dialect/Func/IR/FuncOps.h"
17
#include "mlir/IR/BuiltinOps.h"
18
#include "mlir/Pass/Pass.h"
19
#include "mlir/Pass/PassRegistry.h"
20
21
#include <memory>
22
23
namespace
flangomp {
24
#define GEN_PASS_DECL
25
#define GEN_PASS_REGISTRATION
26
#include "flang/Optimizer/OpenMP/Passes.h.inc"
27
31
bool
shouldUseWorkshareLowering(mlir::Operation *op);
32
33
}
// namespace flangomp
34
35
#endif
// FORTRAN_OPTIMIZER_OPENMP_PASSES_H
Generated on Sun Apr 27 2025 15:14:13 for FLANG by
1.9.6