Lines Matching refs:cookie
138 mlir::Value cookie, const D &ioImpliedDo,
177 mlir::Location loc, mlir::Value cookie, in genEndIO() argument
187 cookie, in genEndIO()
196 mlir::ValueRange{cookie}); in genEndIO()
395 mlir::Value cookie, mlir::func::FuncOp funcOp, in genNamelistIO() argument
405 llvm::SmallVector<mlir::Value> args = {cookie, groupAddr}; in genNamelistIO()
464 Fortran::lower::AbstractConverter &converter, mlir::Value cookie, in genOutputItemList() argument
470 genIoLoop(converter, cookie, impliedDo->value(), isFormatted, checkResult, in genOutputItemList()
488 llvm::SmallVector<mlir::Value> outputFuncArgs = {cookie}; in genOutputItemList()
577 mlir::Value cookie, in createIoRuntimeCallForItem() argument
580 llvm::SmallVector<mlir::Value> inputFuncArgs = {cookie}; in createIoRuntimeCallForItem()
610 mlir::Value cookie, in genInputItemList() argument
617 genIoLoop(converter, cookie, impliedDo->value(), isFormatted, checkResult, in genInputItemList()
637 createIoRuntimeCallForItem(loc, builder, inputFunc, cookie, in genInputItemList()
646 loc, builder, inputFunc, cookie, in genInputItemList()
662 ok = createIoRuntimeCallForItem(loc, builder, inputFunc, cookie, itemExv); in genInputItemList()
669 mlir::Value cookie, const D &ioImpliedDo, in genIoLoop() argument
694 genInputItemList(converter, cookie, itemList, isFormatted, checkResult, in genIoLoop()
697 genOutputItemList(converter, cookie, itemList, isFormatted, checkResult, in genIoLoop()
876 mlir::Location loc, mlir::Value cookie, in genIntIOOption() argument
885 llvm::SmallVector<mlir::Value> ioArgs = {cookie, val}; in genIntIOOption()
893 mlir::Location loc, mlir::Value cookie, in genCharIOOption() argument
902 llvm::SmallVector<mlir::Value> ioArgs = {cookie, std::get<0>(tup), in genCharIOOption()
909 mlir::Location loc, mlir::Value cookie, const A &spec) { in genIOOption() argument
925 mlir::Value cookie, const Fortran::parser::FileNameExpr &spec) { in genIOOption() argument
934 llvm::SmallVector<mlir::Value> ioArgs{cookie, std::get<0>(tup), in genIOOption()
942 mlir::Value cookie, const Fortran::parser::ConnectSpec::CharExpr &spec) { in genIOOption() argument
996 llvm::SmallVector<mlir::Value> ioArgs = {cookie, std::get<0>(tup), in genIOOption()
1004 mlir::Value cookie, const Fortran::parser::ConnectSpec::Recl &spec) { in genIOOption() argument
1005 return genIntIOOption<mkIOKey(SetRecl)>(converter, loc, cookie, spec); in genIOOption()
1011 mlir::Value cookie, const Fortran::parser::StatusExpr &spec) { in genIOOption() argument
1012 return genCharIOOption<mkIOKey(SetStatus)>(converter, loc, cookie, spec.v); in genIOOption()
1018 mlir::Value cookie, const Fortran::parser::IoControlSpec::CharExpr &spec) { in genIOOption() argument
1050 llvm::SmallVector<mlir::Value> ioArgs = {cookie, std::get<0>(tup), in genIOOption()
1058 mlir::Value cookie, in genIOOption() argument
1060 return genCharIOOption<mkIOKey(SetAsynchronous)>(converter, loc, cookie, in genIOOption()
1067 mlir::Value cookie, const Fortran::parser::IdVariable &spec) { in genIOOption() argument
1074 mlir::Value cookie, const Fortran::parser::IoControlSpec::Pos &spec) { in genIOOption() argument
1075 return genIntIOOption<mkIOKey(SetPos)>(converter, loc, cookie, spec); in genIOOption()
1081 mlir::Value cookie, const Fortran::parser::IoControlSpec::Rec &spec) { in genIOOption() argument
1082 return genIntIOOption<mkIOKey(SetRec)>(converter, loc, cookie, spec); in genIOOption()
1089 mlir::Location loc, mlir::Value cookie, in genIOReadSize() argument
1103 builder.create<fir::CallOp>(loc, ioFunc, mlir::ValueRange{cookie}) in genIOReadSize()
1145 mlir::Location loc, mlir::Value cookie, in threadSpecs() argument
1164 return genIOOption(converter, loc, cookie, x); in threadSpecs()
1221 mlir::Location loc, mlir::Value cookie, in genConditionHandlerCall() argument
1233 llvm::SmallVector<mlir::Value> ioArgs = {cookie, in genConditionHandlerCall()
1644 mlir::Value cookie = call.getResult(0); in genBasicIOStmt() local
1645 genConditionHandlerCall(converter, loc, cookie, stmt.v, csi); in genBasicIOStmt()
1648 threadSpecs(converter, loc, cookie, stmt.v, csi.hasErrorConditionSpec(), ok); in genBasicIOStmt()
1650 return genEndIO(converter, converter.getCurrentLocation(), cookie, csi, in genBasicIOStmt()
1680 mlir::Value cookie, in genNewunitSpec() argument
1696 llvm::SmallVector<mlir::Value> ioArgs = {cookie, addr, kind}; in genNewunitSpec()
1729 auto cookie = in genOpenStatement() local
1731 genConditionHandlerCall(converter, loc, cookie, stmt.v, csi); in genOpenStatement()
1734 threadSpecs(converter, loc, cookie, stmt.v, csi.hasErrorConditionSpec(), ok); in genOpenStatement()
1736 genNewunitSpec(converter, loc, cookie, stmt.v); in genOpenStatement()
1738 return genEndIO(converter, loc, cookie, csi, stmtCtx); in genOpenStatement()
1773 auto cookie = builder.create<fir::CallOp>(loc, beginFunc, args).getResult(0); in genWaitStatement() local
1774 genConditionHandlerCall(converter, loc, cookie, stmt.v, csi); in genWaitStatement()
1775 return genEndIO(converter, converter.getCurrentLocation(), cookie, csi, in genWaitStatement()
1935 mlir::Value cookie = in genDataTransferStmt() local
1941 genConditionHandlerCall(converter, loc, cookie, stmt.controls, csi); in genDataTransferStmt()
1942 threadSpecs(converter, loc, cookie, stmt.controls, in genDataTransferStmt()
1949 genNamelistIO(converter, cookie, in genDataTransferStmt()
1954 genInputItemList(converter, cookie, stmt.items, isFormatted, in genDataTransferStmt()
1958 genNamelistIO(converter, cookie, in genDataTransferStmt()
1963 genOutputItemList(converter, cookie, stmt.items, isFormatted, in genDataTransferStmt()
1967 genOutputItemList(converter, cookie, std::get<1>(stmt.t), isFormatted, in genDataTransferStmt()
1975 genIOReadSize(converter, loc, cookie, stmt.controls, in genDataTransferStmt()
1979 return genEndIO(converter, loc, cookie, csi, stmtCtx); in genDataTransferStmt()
2023 mlir::Location loc, mlir::Value cookie, in genInquireSpec() argument
2033 mlir::Value cookie, mlir::Value idExpr, in genInquireSpec() argument
2048 builder.createConvert(loc, specFuncTy.getInput(0), cookie), in genInquireSpec()
2063 mlir::Value cookie, mlir::Value idExpr, in genInquireSpec() argument
2085 builder.createConvert(loc, specFuncTy.getInput(0), cookie), in genInquireSpec()
2100 mlir::Value cookie, mlir::Value idExpr, in genInquireSpec() argument
2119 builder.createConvert(loc, specFuncTy.getInput(0), cookie)}; in genInquireSpec()
2155 mlir::Location loc, mlir::Value cookie, in threadInquire() argument
2164 return genInquireSpec(converter, loc, cookie, idExpr, x, in threadInquire()
2221 auto cookie = in genInquireStatement() local
2225 converter, cookie, in genInquireStatement()
2232 llvm::SmallVector<mlir::Value> args = {cookie}; in genInquireStatement()
2241 return genEndIO(converter, loc, cookie, csi, stmtCtx); in genInquireStatement()
2246 auto cookie = in genInquireStatement() local
2248 genConditionHandlerCall(converter, loc, cookie, *list, csi); in genInquireStatement()
2252 threadInquire(converter, loc, cookie, *list, csi.hasErrorConditionSpec(), ok, in genInquireStatement()
2256 return genEndIO(converter, loc, cookie, csi, stmtCtx); in genInquireStatement()