Home
last modified time | relevance | path

Searched refs:parseTree (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/flang/lib/Frontend/
H A DFrontendActions.cpp154 Fortran::parser::Program &parseTree{*ci.getParsing().parseTree()}; in beginSourceFileAction() local
252 auto &parseTree{getInstance().getParsing().parseTree()}; in executeAction() local
265 auto &parseTree{getInstance().getParsing().parseTree()}; in executeAction() local
272 Unparse(*os, *parseTree, in executeAction()
284 auto &parseTree{*getInstance().getParsing().parseTree()}; in executeAction() local
313 auto &parseTree{getInstance().getParsing().parseTree()}; in executeAction() local
337 auto &parseTree{getInstance().getParsing().parseTree()}; in executeAction() local
341 llvm::outs(), parseTree, in executeAction()
346 auto &parseTree{getInstance().getParsing().parseTree()}; in executeAction() local
378 auto &parseTree{*ci.getParsing().parseTree()}; in executeAction() local
[all …]
H A DFrontendAction.cpp165 std::optional<parser::Program> &parseTree{ci.getParsing().parseTree()}; in runSemanticChecks() local
166 assert(parseTree && "Cannot run semantic checks without a parse tree!"); in runSemanticChecks()
170 ci.getInvocation().getSemanticsContext(), *parseTree, in runSemanticChecks()
/llvm-project-15.0.7/flang/tools/bbc/
H A Dbbc.cpp174 !parsing.parseTree().has_value()) { in convertFortranSourceToMLIR()
180 auto &parseTree = *parsing.parseTree(); in convertFortranSourceToMLIR() local
181 Fortran::semantics::Semantics semantics(semanticsContext, parseTree); in convertFortranSourceToMLIR()
203 if (auto ast = Fortran::lower::createPFT(parseTree, semanticsContext)) { in convertFortranSourceToMLIR()
223 burnside.lower(parseTree, semanticsContext); in convertFortranSourceToMLIR()
/llvm-project-15.0.7/flang/tools/f18-parse-demo/
H A Df18-parse-demo.cpp210 !parsing.parseTree()) { in CompileFortran()
215 auto &parseTree{*parsing.parseTree()}; in CompileFortran() local
217 Fortran::parser::DumpTree(llvm::outs(), parseTree); in CompileFortran()
221 Unparse(llvm::outs(), parseTree, driver.encoding, true /*capitalize*/, in CompileFortran()
242 Unparse(tmpSource, parseTree, driver.encoding, true /*capitalize*/, in CompileFortran()
/llvm-project-15.0.7/flang/examples/PrintFlangFunctionNames/
H A DPrintFlangFunctionNames.cpp70 Fortran::parser::Walk(getParsing().parseTree(), visitor); in executeAction()
/llvm-project-15.0.7/flang/examples/FlangOmpReport/
H A DFlangOmpReport.cpp59 Walk(parsing.parseTree(), visitor); in executeAction()
/llvm-project-15.0.7/flang/include/flang/Parser/
H A Dparsing.h54 std::optional<Program> &parseTree() { return parseTree_; } in parseTree() function
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dmod-file.cpp1000 std::optional<parser::Program> &parsedProgram{parsing.parseTree()}; in Read()
1007 parser::Program &parseTree{context_.SaveParseTree(std::move(*parsedProgram))}; in Read() local
1022 } else if (std::optional<SourceName> parent{GetSubmoduleParent(parseTree)}) { in Read()
1036 ResolveNames(context_, parseTree, topScope); in Read()