Home
last modified time | relevance | path

Searched refs:IoControlSpec (Results 1 – 12 of 12) sorted by relevance

/external/llvm-project/flang/lib/Parser/
Dio-parsers.cpp166 construct<std::list<IoControlSpec>>(), many("," >> inputItem)))
185 TYPE_PARSER(first(construct<IoControlSpec>("UNIT =" >> ioUnit),
186 construct<IoControlSpec>("FMT =" >> format),
187 construct<IoControlSpec>("NML =" >> name),
188 construct<IoControlSpec>(
189 "ADVANCE =" >> construct<IoControlSpec::CharExpr>(
190 pure(IoControlSpec::CharExpr::Kind::Advance),
192 construct<IoControlSpec>(construct<IoControlSpec::Asynchronous>(
194 construct<IoControlSpec>("BLANK =" >>
195 construct<IoControlSpec::CharExpr>(
[all …]
Dtype-parsers.h107 constexpr Parser<IoControlSpec> ioControlSpec; // R1213, R1214
Dunparse.cpp1277 bool Pre(const IoControlSpec &x) { // R1213 in Pre()
1291 [&](const IoControlSpec::CharExpr &y) { in Pre()
1295 [&](const IoControlSpec::Asynchronous &) { in Pre()
1323 [&](const IoControlSpec::Pos &) { in Pre()
1327 [&](const IoControlSpec::Rec &) { in Pre()
1331 [&](const IoControlSpec::Size &) { in Pre()
2527 WALK_NESTED_ENUM(IoControlSpec::CharExpr, Kind) in WALK_NESTED_ENUM()
/external/llvm-project/flang/lib/Semantics/
Dcheck-io.h57 void Enter(const parser::IoControlSpec &);
58 void Enter(const parser::IoControlSpec::Asynchronous &);
59 void Enter(const parser::IoControlSpec::CharExpr &);
60 void Enter(const parser::IoControlSpec::Pos &);
61 void Enter(const parser::IoControlSpec::Rec &);
62 void Enter(const parser::IoControlSpec::Size &);
Dcheck-do-forall.h27 struct IoControlSpec;
56 void Leave(const parser::IoControlSpec &); in ENUM_CLASS()
Dcheck-io.cpp446 void IoChecker::Enter(const parser::IoControlSpec &spec) { in Enter()
455 void IoChecker::Enter(const parser::IoControlSpec::Asynchronous &spec) { in Enter()
466 void IoChecker::Enter(const parser::IoControlSpec::CharExpr &spec) { in Enter()
468 using ParseKind = parser::IoControlSpec::CharExpr::Kind; in Enter()
503 void IoChecker::Enter(const parser::IoControlSpec::Pos &) { in Enter()
507 void IoChecker::Enter(const parser::IoControlSpec::Rec &) { in Enter()
511 void IoChecker::Enter(const parser::IoControlSpec::Size &var) { in Enter()
684 const std::list<parser::IoControlSpec> &controls{readStmt.controls}; in CheckForDoVariableInNamelistSpec()
Dcheck-do-forall.cpp305 void Post(const parser::IoControlSpec &ioControlSpec) { in Post()
307 std::get_if<parser::IoControlSpec::CharExpr>(&ioControlSpec.u)}) { in Post()
308 if (std::get<parser::IoControlSpec::CharExpr::Kind>(charExpr->t) == in Post()
309 parser::IoControlSpec::CharExpr::Kind::Advance) { in Post()
1045 void DoForallChecker::Leave(const parser::IoControlSpec &ioControlSpec) { in Leave()
1046 const auto *size{std::get_if<parser::IoControlSpec::Size>(&ioControlSpec.u)}; in Leave()
Drewrite-parse-tree.cpp146 x.controls.emplace_front(parser::IoControlSpec{std::move(*name)}); in FixMisparsedUntaggedNamelistName()
Dresolve-names.cpp814 bool Pre(const parser::IoControlSpec &);
4308 bool DeclarationVisitor::Pre(const parser::IoControlSpec &x) { in Pre()
/external/llvm-project/flang/lib/Lower/
DIO.cpp643 mlir::Value genIOOption<Fortran::parser::IoControlSpec::CharExpr>( in genIOOption()
645 mlir::Value cookie, const Fortran::parser::IoControlSpec::CharExpr &spec) { in genIOOption()
648 switch (std::get<Fortran::parser::IoControlSpec::CharExpr::Kind>(spec.t)) { in genIOOption()
649 case Fortran::parser::IoControlSpec::CharExpr::Kind::Advance: in genIOOption()
652 case Fortran::parser::IoControlSpec::CharExpr::Kind::Blank: in genIOOption()
655 case Fortran::parser::IoControlSpec::CharExpr::Kind::Decimal: in genIOOption()
658 case Fortran::parser::IoControlSpec::CharExpr::Kind::Delim: in genIOOption()
661 case Fortran::parser::IoControlSpec::CharExpr::Kind::Pad: in genIOOption()
664 case Fortran::parser::IoControlSpec::CharExpr::Kind::Round: in genIOOption()
667 case Fortran::parser::IoControlSpec::CharExpr::Kind::Sign: in genIOOption()
[all …]
/external/llvm-project/flang/include/flang/Parser/
Ddump-parse-tree.h391 NODE(parser, IoControlSpec) in NODE()
392 NODE(IoControlSpec, Asynchronous) in NODE()
393 NODE(IoControlSpec, CharExpr) in NODE()
394 NODE_ENUM(IoControlSpec::CharExpr, Kind) in NODE()
395 NODE(IoControlSpec, Pos) in NODE()
396 NODE(IoControlSpec, Rec) in NODE()
397 NODE(IoControlSpec, Size) in NODE()
Dparse-tree.h2615 struct IoControlSpec { struct
2616 UNION_CLASS_BOILERPLATE(IoControlSpec);
2643 std::list<IoControlSpec> &&cs, std::list<InputItem> &&its) in ReadStmt() argument
2651 std::list<IoControlSpec> controls;
2665 std::list<IoControlSpec> &&cs, std::list<OutputItem> &&its) in WriteStmt()
2672 std::list<IoControlSpec> controls;