FLANG
MIFCommon.h
1//===-- MIFCommon.h -------------------------------------------------------===//
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#ifndef FORTRAN_OPTIMIZER_TRANSFORMS_MIFCOMMON_H_
10#define FORTRAN_OPTIMIZER_TRANSFORMS_MIFCOMMON_H_
11
12#include "flang/Lower/AbstractConverter.h"
13#include "flang/Optimizer/Dialect/FIROps.h"
14#include "flang/Optimizer/Dialect/MIF/MIFOps.h"
15#include "mlir/IR/BuiltinOps.h"
16
17static constexpr llvm::StringRef coarrayHandleSuffix = "_coarray_handle";
18
19namespace mif {
20
21std::string getFullUniqName(mlir::Value addr);
22
23} // namespace mif
24
25#endif // FORTRAN_OPTIMIZER_TRANSFORMS_MIFCOMMON_H_