ROSE
0.11.145.192
src
frontend
SageIII
ompAstConstruction.h
1
#ifndef _OMP_AST_CONSTRUCTION
2
#define _OMP_AST_CONSTRUCTION
3
4
#include "AstSimpleProcessing.h"
5
6
namespace
OmpSupport
7
{
8
class
SgVarRefExpVisitor
:
public
AstSimpleProcessing
{
9
private
:
10
std::vector<SgExpression*> expressions;
11
12
public
:
13
SgVarRefExpVisitor
( );
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
AstSimpleProcessing
Class for traversing the AST.
Definition
AstSimpleProcessing.h:61
OmpSupport::SgVarRefExpVisitor
Definition
ompAstConstruction.h:8
OmpSupport::SgVarRefExpVisitor::visit
void visit(SgNode *node)
this method is called at every traversed node.
SgNode
This class represents the base class for all IR nodes within Sage III.
Definition
Cxx_Grammar.h:120
SgSourceFile
Definition
Cxx_Grammar.h:34639
OmpSupport
Types and functions to support OpenMP.
Definition
ompAstConstruction.h:7
Generated on Mon Dec 16 2024 03:16:22 for ROSE by
1.9.8