ROSE  0.11.96.11
ompAstConstruction.h
1 #ifndef _OMP_AST_CONSTRUCTION
2 #define _OMP_AST_CONSTRUCTION
3 
4 #include "AstSimpleProcessing.h"
5 
6 namespace OmpSupport
7 {
9  private:
10  std::vector<SgExpression*> expressions;
11 
12  public:
14  std::vector<SgExpression*> get_expressions();
15  void visit( SgNode* node );
16  };
17 
18  void processOpenMP(SgSourceFile* sageFilePtr);
19 
20  // Special handling to wrap statements in between "target begin" and "target end" OmpAttribute into a block.
21  // "target end" attribute will later be skipped when creating dedicate OMP statement.
22  void postParsingProcessing (SgSourceFile* sageFilePtr);
23 } // end of the namespace
24 #endif
OmpSupport::SgVarRefExpVisitor
Definition: ompAstConstruction.h:8
OmpSupport::SgVarRefExpVisitor::visit
void visit(SgNode *node)
this method is called at every traversed node.
AstSimpleProcessing
Class for traversing the AST.
Definition: AstSimpleProcessing.h:59
SgNode
This class represents the base class for all IR nodes within Sage III.
Definition: Cxx_Grammar.h:6739
OmpSupport
Types and functions to support OpenMP.
Definition: ompAstConstruction.h:6
SgSourceFile
Definition: Cxx_Grammar.h:22972