12#ifndef FORTRAN_RUNTIME_INQUIRY_H_
13#define FORTRAN_RUNTIME_INQUIRY_H_
15#include "flang/Runtime/entry-names.h"
18namespace Fortran::runtime {
24std::int64_t RTDECL(LboundDim)(
const Descriptor &array,
int dim,
25 const char *sourceFile =
nullptr,
int line = 0);
27void RTDECL(Lbound)(
void *result,
const Descriptor &array,
int kind,
28 const char *sourceFile =
nullptr,
int line = 0);
30void RTDECL(Shape)(
void *result,
const Descriptor &array,
int kind,
31 const char *sourceFile =
nullptr,
int line = 0);
32std::int64_t RTDECL(Size)(
33 const Descriptor &array,
const char *sourceFile =
nullptr,
int line = 0);
35std::int64_t RTDECL(SizeDim)(
const Descriptor &array,
int dim,
36 const char *sourceFile =
nullptr,
int line = 0);
38void RTDECL(Ubound)(
void *result,
const Descriptor &array,
int kind,
39 const char *sourceFile =
nullptr,
int line = 0);