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