9#ifndef FORTRAN_OPTIMIZER_BUILDER_RUNTIME_ALLOCATABLE_H
10#define FORTRAN_OPTIMIZER_BUILDER_RUNTIME_ALLOCATABLE_H
12#include "mlir/IR/Value.h"
22namespace fir::runtime {
29mlir::Value genMoveAlloc(fir::FirOpBuilder &builder, mlir::Location loc,
30 mlir::Value to, mlir::Value from, mlir::Value hasStat,
38void genAllocatableApplyMold(fir::FirOpBuilder &builder, mlir::Location loc,
39 mlir::Value desc, mlir::Value mold,
int rank);
44void genAllocatableSetBounds(fir::FirOpBuilder &builder, mlir::Location loc,
45 mlir::Value desc, mlir::Value dimIndex,
46 mlir::Value lowerBound, mlir::Value upperBound);
50void genAllocatableAllocate(fir::FirOpBuilder &builder, mlir::Location loc,
51 mlir::Value desc, mlir::Value hasStat = {},
52 mlir::Value errMsg = {});
Definition FIRBuilder.h:55
Definition AbstractConverter.h:34
Definition AbstractConverter.h:29