Lines Matching refs:csi
135 const ConditionSpecifierInfo &csi) { in genEndIO() argument
137 if (csi.ioMsgExpr) { in genEndIO()
141 converter.genExprAddr(csi.ioMsgExpr, loc)); in genEndIO()
153 if (csi.ioStatExpr) { in genEndIO()
154 auto ioStatVar = converter.genExprAddr(csi.ioStatExpr, loc); in genEndIO()
156 loc, converter.genType(*csi.ioStatExpr), call.getResult(0)); in genEndIO()
159 return csi.hasTransferConditionSpecifier() ? call.getResult(0) in genEndIO()
759 const A &specList, ConditionSpecifierInfo &csi) { in genConditionHandlerCall() argument
764 csi.ioStatExpr = Fortran::semantics::GetExpr(msgVar); in genConditionHandlerCall()
767 csi.ioMsgExpr = Fortran::semantics::GetExpr(msgVar); in genConditionHandlerCall()
769 [&](const Fortran::parser::EndLabel &) { csi.hasEnd = true; }, in genConditionHandlerCall()
770 [&](const Fortran::parser::EorLabel &) { csi.hasEor = true; }, in genConditionHandlerCall()
771 [&](const Fortran::parser::ErrLabel &) { csi.hasErr = true; }, in genConditionHandlerCall()
775 if (!csi.hasAnyConditionSpecifier()) in genConditionHandlerCall()
787 boolValue(csi.ioStatExpr != nullptr), in genConditionHandlerCall()
788 boolValue(csi.hasErr), in genConditionHandlerCall()
789 boolValue(csi.hasEnd), in genConditionHandlerCall()
790 boolValue(csi.hasEor), in genConditionHandlerCall()
791 boolValue(csi.ioMsgExpr != nullptr)}; in genConditionHandlerCall()
1034 ConditionSpecifierInfo csi{}; in genBasicIOStmt() local
1035 genConditionHandlerCall(converter, loc, cookie, stmt.v, csi); in genBasicIOStmt()
1038 csi.hasErrorConditionSpecifier(), ok); in genBasicIOStmt()
1041 return genEndIO(converter, converter.getCurrentLocation(), cookie, csi); in genBasicIOStmt()
1097 ConditionSpecifierInfo csi{}; in genOpenStatement() local
1098 genConditionHandlerCall(converter, loc, cookie, stmt.v, csi); in genOpenStatement()
1101 csi.hasErrorConditionSpecifier(), ok); in genOpenStatement()
1104 return genEndIO(converter, loc, cookie, csi); in genOpenStatement()
1133 ConditionSpecifierInfo csi{}; in genWaitStatement() local
1134 genConditionHandlerCall(converter, loc, cookie, stmt.v, csi); in genWaitStatement()
1135 return genEndIO(converter, converter.getCurrentLocation(), cookie, csi); in genWaitStatement()
1350 ConditionSpecifierInfo csi; in genDataTransferStmt() local
1354 genConditionHandlerCall(converter, loc, cookie, stmt.controls, csi); in genDataTransferStmt()
1356 csi.hasErrorConditionSpecifier(), ok); in genDataTransferStmt()
1362 csi.hasTransferConditionSpecifier(), ok, false); in genDataTransferStmt()
1365 csi.hasTransferConditionSpecifier(), ok, false); in genDataTransferStmt()
1368 csi.hasTransferConditionSpecifier(), ok, false); in genDataTransferStmt()
1373 return genEndIO(converter, loc, cookie, csi); in genDataTransferStmt()
1428 ConditionSpecifierInfo csi{}; in genInquireStatement() local
1452 genConditionHandlerCall(converter, loc, cookie, *list, csi); in genInquireStatement()
1476 genConditionHandlerCall(converter, loc, cookie, *list, csi); in genInquireStatement()
1492 std::get<std::list<Fortran::parser::OutputItem>>(ioLength->t), csi); in genInquireStatement()
1495 return genEndIO(converter, loc, cookie, csi); in genInquireStatement()