Home
last modified time | relevance | path

Searched refs:TypeGuardStmt (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/flang/lib/Semantics/
H A Dcheck-select-type.cpp36 const auto &stmt{std::get<parser::Statement<parser::TypeGuardStmt>>(c.t)}; in AddTypeCase()
37 const parser::TypeGuardStmt &typeGuardStmt{stmt.statement}; in AddTypeCase()
38 const auto &guard{std::get<parser::TypeGuardStmt::Guard>(typeGuardStmt.t)}; in AddTypeCase()
53 const parser::TypeGuardStmt::Guard &guard) { in GetGuardType()
76 const parser::TypeGuardStmt &typeGuardStmt{stmt.statement}; in PassesChecksOnGuard()
154 explicit TypeCase(const parser::Statement<parser::TypeGuardStmt> &s, in TypeCase()
184 const parser::TypeGuardStmt::Guard &GetGuardFromStmt( in GetGuardFromStmt()
185 const parser::Statement<parser::TypeGuardStmt> &stmt) const { in GetGuardFromStmt()
186 const parser::TypeGuardStmt &typeGuardStmt{stmt.statement}; in GetGuardFromStmt()
187 return std::get<parser::TypeGuardStmt::Guard>(typeGuardStmt.t); in GetGuardFromStmt()
[all …]
H A Dresolve-names.cpp321 bool Pre(const parser::TypeGuardStmt &);
322 void Post(const parser::TypeGuardStmt &);
1167 void Post(const parser::TypeGuardStmt::Guard &);
1205 void Post(const parser::TypeGuardStmt &x) { CheckRef(x.t); } in Post()
1468 void Post(const parser::TypeGuardStmt &);
1787 bool DeclTypeSpecVisitor::Pre(const parser::TypeGuardStmt &) { in Pre() argument
1791 void DeclTypeSpecVisitor::Post(const parser::TypeGuardStmt &) { in Post() argument
6211 void ConstructVisitor::Post(const parser::TypeGuardStmt::Guard &x) { in Post()
7326 void ResolveNamesVisitor::Post(const parser::TypeGuardStmt &x) { in Post()
H A Dresolve-labels.cpp654 parser::SelectTypeConstruct::TypeCase, parser::TypeGuardStmt>( in PopConstructName()
/llvm-project-15.0.7/flang/lib/Parser/
H A Dexecutable-parsers.cpp402 unambiguousStatement(Parser<TypeGuardStmt>{}), block)),
417 construct<TypeGuardStmt>("TYPE IS"_sptok >>
418 parenthesized(construct<TypeGuardStmt::Guard>(typeSpec)) ||
419 "CLASS IS"_sptok >> parenthesized(construct<TypeGuardStmt::Guard>(
421 construct<TypeGuardStmt::Guard>("CLASS" >> defaultKeyword),
H A Dunparse.cpp1104 void Unparse(const TypeGuardStmt &x) { // R1154 in Unparse()
1105 Outdent(), Walk(std::get<TypeGuardStmt::Guard>(x.t)); in Unparse()
1108 void Unparse(const TypeGuardStmt::Guard &x) { in Unparse()
/llvm-project-15.0.7/flang/include/flang/Lower/
H A DPFTBuilder.h121 parser::SelectTypeStmt, parser::TypeGuardStmt, parser::WhereConstructStmt,
169 parser::SelectRankCaseStmt, parser::TypeGuardStmt>>};
175 parser::SelectRankCaseStmt, parser::TypeGuardStmt>>};
/llvm-project-15.0.7/flang/include/flang/Parser/
H A Ddump-parse-tree.h688 NODE(parser, TypeGuardStmt) in NODE()
689 NODE(TypeGuardStmt, Guard) in NODE()
H A Dparse-tree.h2410 struct TypeGuardStmt { struct
2415 TUPLE_CLASS_BOILERPLATE(TypeGuardStmt); argument
2425 std::tuple<Statement<TypeGuardStmt>, Block> t; argument
/llvm-project-15.0.7/flang/lib/Lower/
H A DPFTBuilder.cpp695 parser::TypeGuardStmt, parser::WhereConstructStmt>; in getConstructName()
921 [&](const parser::TypeGuardStmt &) { eval.isNewBlock = true; }, in analyzeBranches() argument
H A DBridge.cpp1950 void genFIR(const Fortran::parser::TypeGuardStmt &) { in genFIR() argument