Home
last modified time | relevance | path

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

/external/llvm-project/flang/lib/Semantics/
Dprogram-tree.cpp17 static ProgramTree BuildSubprogramTree(const parser::Name &name, const T &x) { in BuildSubprogramTree()
22 ProgramTree node{name, spec, &exec}; in BuildSubprogramTree()
27 [&](const auto &y) { node.AddChild(ProgramTree::Build(y.value())); }, in BuildSubprogramTree()
34 static ProgramTree BuildSubprogramTree( in BuildSubprogramTree()
37 return ProgramTree{name, spec, nullptr}; in BuildSubprogramTree()
41 static ProgramTree BuildModuleTree(const parser::Name &name, const T &x) { in BuildModuleTree()
44 ProgramTree node{name, spec}; in BuildModuleTree()
49 [&](const auto &y) { node.AddChild(ProgramTree::Build(y.value())); }, in BuildModuleTree()
56 ProgramTree ProgramTree::Build(const parser::ProgramUnit &x) { in Build()
60 ProgramTree ProgramTree::Build(const parser::MainProgram &x) { in Build()
[all …]
Dprogram-tree.h30 class ProgramTree {
33 static ProgramTree Build(const parser::ProgramUnit &);
34 static ProgramTree Build(const parser::MainProgram &);
35 static ProgramTree Build(const parser::FunctionSubprogram &);
36 static ProgramTree Build(const parser::SubroutineSubprogram &);
37 static ProgramTree Build(const parser::SeparateModuleSubprogram &);
38 static ProgramTree Build(const parser::Module &);
39 static ProgramTree Build(const parser::Submodule &);
40 static ProgramTree Build(const parser::BlockData &);
41 static ProgramTree Build(const parser::CompilerDirective &);
[all …]
Dresolve-names.cpp1364 void ResolveSpecificationParts(ProgramTree &);
1365 void AddSubpNames(ProgramTree &);
1366 bool BeginScopeForNode(const ProgramTree &);
1367 void FinishSpecificationParts(const ProgramTree &);
1369 void ResolveExecutionParts(const ProgramTree &);
6303 auto root{ProgramTree::Build(x)}; in Pre()
6343 void ResolveNamesVisitor::ResolveSpecificationParts(ProgramTree &node) { in ResolveSpecificationParts()
6392 void ResolveNamesVisitor::AddSubpNames(ProgramTree &node) { in AddSubpNames()
6402 bool ResolveNamesVisitor::BeginScopeForNode(const ProgramTree &node) { in BeginScopeForNode()
6405 case ProgramTree::Kind::Program: in BeginScopeForNode()
[all …]
/external/llvm-project/flang/include/flang/Semantics/
Dsymbol.h35 class ProgramTree; variable
107 SubprogramNameDetails(SubprogramKind kind, ProgramTree &node) in ENUM_CLASS()
111 ProgramTree &node() const { return *node_; } in ENUM_CLASS()
115 common::Reference<ProgramTree> node_; in ENUM_CLASS()