Home
last modified time | relevance | path

Searched refs:endStmt (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/flang/lib/Semantics/
H A Dresolve-labels.cpp208 const auto &endStmt{std::get<std::tuple_size_v<decltype(x.t)> - 1>(x.t)}; in Pre() local
209 if (endStmt.label) { in Pre()
213 auto targetFlags{ConstructBranchTargetFlags(endStmt)}; in Pre()
215 endStmt.label.value(), targetFlags, currentScope_); in Pre()
665 const auto &endStmt{std::get<parser::Statement<END>>(a.t)}; in CheckEndName() local
666 const parser::CharBlock *endName{GetStmtName(endStmt)}; in CheckEndName()
677 .Say(endStmt.source, in CheckEndName()
/llvm-project-15.0.7/flang/lib/Lower/
H A DPFTBuilder.cpp255 const auto &endStmt = in endFunctionBody() local
256 pftParentStack.back().get<lower::pft::FunctionLikeUnit>().endStmt; in endFunctionBody()
257 endStmt.visit(common::visitors{ in endFunctionBody()
1572 : ProgramUnit{func, parent}, endStmt{ in FunctionLikeUnit()
1595 endStmt{getFunctionStmt<parser::EndFunctionStmt>(func)} {
1606 endStmt{getFunctionStmt<parser::EndSubroutineStmt>(func)} {
1617 endStmt{getFunctionStmt<parser::EndMpSubprogramStmt>(func)} {
1642 return stmtSourceLoc(endStmt); in getStartingSourceLoc()
1652 endStmt{getModuleStmt<parser::EndModuleStmt>(m)} {
1661 endStmt{getModuleStmt<parser::EndSubmoduleStmt>(m)} {
H A DBridge.cpp2846 setCurrentPosition(Fortran::lower::pft::stmtSourceLoc(funit.endStmt)); in endNewFunction()
/llvm-project-15.0.7/flang/include/flang/Lower/
H A DPFTBuilder.h603 return endStmt.isA<parser::Statement<parser::EndProgramStmt>>();
657 FunctionStatement endStmt;
706 ModuleStatement endStmt;