FLANG
misc-intrinsic.h
1//===-- include/flang/Runtime/misc-intrinsic.h ------------------*- 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// Miscellaneous intrinsic procedures
10
11#ifndef FORTRAN_RUNTIME_MISC_INTRINSIC_H_
12#define FORTRAN_RUNTIME_MISC_INTRINSIC_H_
13
14#include "flang/Runtime/entry-names.h"
15#include <cstdint>
16
17namespace Fortran::runtime {
18
19class Descriptor;
20
21extern "C" {
22void RTDECL(Rename)(const Descriptor &path1, const Descriptor &path2,
23 const Descriptor *status, const char *sourceFile, int line);
24void RTDECL(Transfer)(Descriptor &result, const Descriptor &source,
25 const Descriptor &mold, const char *sourceFile, int line);
26void RTDECL(TransferSize)(Descriptor &result, const Descriptor &source,
27 const Descriptor &mold, const char *sourceFile, int line,
28 std::int64_t size);
29} // extern "C"
30} // namespace Fortran::runtime
31#endif // FORTRAN_RUNTIME_MISC_INTRINSIC_H_