FLANG
Support.h
1//===-- Support.h - generate support runtime API calls ----------*- 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#ifndef FORTRAN_OPTIMIZER_BUILDER_RUNTIME_SUPPORT_H
10#define FORTRAN_OPTIMIZER_BUILDER_RUNTIME_SUPPORT_H
11
12namespace mlir {
13class Value;
14class Location;
15} // namespace mlir
16
17namespace fir {
18class FirOpBuilder;
19}
20
21namespace fir::runtime {
22
24void genCopyAndUpdateDescriptor(fir::FirOpBuilder &builder, mlir::Location loc,
25 mlir::Value to, mlir::Value from,
26 mlir::Value newDynamicType,
27 mlir::Value newAttribute,
28 mlir::Value newLowerBounds);
29
31mlir::Value genIsAssumedSize(fir::FirOpBuilder &builder, mlir::Location loc,
32 mlir::Value box);
33
34} // namespace fir::runtime
35#endif // FORTRAN_OPTIMIZER_BUILDER_RUNTIME_SUPPORT_H
Definition: FIRBuilder.h:55
Definition: AbstractConverter.h:31
@ Value
Lower argument to a value. Mainly intended for scalar arguments.
Definition: AbstractConverter.h:27