FLANG
Ragged.h
1//===-- Ragged.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#ifndef FORTRAN_OPTIMIZER_BUILDER_RUNTIME_RAGGED_H
10#define FORTRAN_OPTIMIZER_BUILDER_RUNTIME_RAGGED_H
11
12namespace mlir {
13class Location;
14class Value;
15class ValueRange;
16} // namespace mlir
17
18namespace fir {
19class FirOpBuilder;
20} // namespace fir
21
22namespace fir::runtime {
23
29void genRaggedArrayAllocate(mlir::Location loc, fir::FirOpBuilder &builder,
30 mlir::Value header, bool asHeaders,
31 mlir::Value eleSize, mlir::ValueRange extents);
32
35void genRaggedArrayDeallocate(mlir::Location loc, fir::FirOpBuilder &builder,
36 mlir::Value header);
37
38} // namespace fir::runtime
39#endif // FORTRAN_OPTIMIZER_BUILDER_RUNTIME_RAGGED_H
Definition: FIRBuilder.h:55
Definition: AbstractConverter.h:31
@ Value
Lower argument to a value. Mainly intended for scalar arguments.
Definition: AbstractConverter.h:27