16#ifndef FORTRAN_LOWER_RUNTIME_H
17#define FORTRAN_LOWER_RUNTIME_H
33mlir::Value genAssociated(fir::FirOpBuilder &, mlir::Location,
34 mlir::Value pointer, mlir::Value target);
36void genPointerAssociate(fir::FirOpBuilder &, mlir::Location,
37 mlir::Value pointer, mlir::Value target);
38void genPointerAssociateRemapping(fir::FirOpBuilder &, mlir::Location,
39 mlir::Value pointer, mlir::Value target,
40 mlir::Value bounds,
bool isMonomorphic);
42mlir::Value genCpuTime(fir::FirOpBuilder &, mlir::Location);
43void genDateAndTime(fir::FirOpBuilder &, mlir::Location,
44 std::optional<fir::CharBoxValue> date,
45 std::optional<fir::CharBoxValue> time,
46 std::optional<fir::CharBoxValue> zone, mlir::Value values);
48mlir::Value genDsecnds(fir::FirOpBuilder &builder, mlir::Location loc,
51void genEtime(fir::FirOpBuilder &builder, mlir::Location loc,
52 mlir::Value values, mlir::Value time);
54void genFree(fir::FirOpBuilder &builder, mlir::Location loc, mlir::Value ptr);
56mlir::Value genFseek(fir::FirOpBuilder &builder, mlir::Location loc,
57 mlir::Value unit, mlir::Value offset, mlir::Value whence);
58mlir::Value genFtell(fir::FirOpBuilder &builder, mlir::Location loc,
61mlir::Value genGetUID(fir::FirOpBuilder &, mlir::Location);
62mlir::Value genGetGID(fir::FirOpBuilder &, mlir::Location);
64mlir::Value genMalloc(fir::FirOpBuilder &builder, mlir::Location loc,
67void genRandomInit(fir::FirOpBuilder &, mlir::Location, mlir::Value repeatable,
68 mlir::Value imageDistinct);
69void genRandomNumber(fir::FirOpBuilder &, mlir::Location, mlir::Value harvest);
70void genRandomSeed(fir::FirOpBuilder &, mlir::Location, mlir::Value size,
71 mlir::Value put, mlir::Value get);
74void genRename(fir::FirOpBuilder &builder, mlir::Location loc,
75 mlir::Value path1, mlir::Value path2, mlir::Value status);
77mlir::Value genSecnds(fir::FirOpBuilder &builder, mlir::Location loc,
81mlir::Value genTime(fir::FirOpBuilder &builder, mlir::Location loc);
84void genTransfer(fir::FirOpBuilder &builder, mlir::Location loc,
85 mlir::Value resultBox, mlir::Value sourceBox,
89void genTransferSize(fir::FirOpBuilder &builder, mlir::Location loc,
90 mlir::Value resultBox, mlir::Value sourceBox,
91 mlir::Value moldBox, mlir::Value size);
95void genSystemClock(fir::FirOpBuilder &, mlir::Location, mlir::Value count,
96 mlir::Value rate, mlir::Value max);
101void genSignal(fir::FirOpBuilder &builder, mlir::Location loc,
102 mlir::Value number, mlir::Value handler, mlir::Value status);
105void genSleep(fir::FirOpBuilder &builder, mlir::Location loc,
106 mlir::Value seconds);
109mlir::Value genChdir(fir::FirOpBuilder &builder, mlir::Location loc,
Definition FIRBuilder.h:55
Definition AbstractConverter.h:34
Definition AbstractConverter.h:29