systemc-clang 2.0.0
Parsing SystemC constructs
|
#include <FindGPUMacro.h>
Public Types | |
typedef pair< int, ForStmt * > | forStmtInstanceIdPairType |
typedef map< int, ForStmt * > | forStmtInstanceIdMapType |
typedef pair< forStmtInstanceIdPairType, GPUMacro * > | forStmtGPUMacroPairType |
typedef map< forStmtInstanceIdPairType, GPUMacro * > | forStmtGPUMacroMapType |
Public Member Functions | |
FindGPUMacro (CXXMethodDecl *, int, raw_ostream &) | |
virtual | ~FindGPUMacro () |
virtual bool | VisitForStmt (ForStmt *) |
forStmtGPUMacroMapType | getForStmtGPUMacroMap () |
void | dump () |
void | analyze_data_struct (Stmt *stmtList) |
void | analyze_expr (Expr *expr) |
void | analyze_lhs (Expr *expr) |
void | analyze_rhs (Expr *expr) |
void | analyze_array_base (Expr *base, bool isLHS) |
void | analyze_value_decl (ValueDecl *val) |
Private Attributes | |
forStmtGPUMacroMapType | _forStmtGPUMacroMap |
CXXMethodDecl * | _entryFunction |
int | _instanceNum |
raw_ostream & | _os |
std::set< ValueDecl * > | lhs_decls |
std::set< ValueDecl * > | rhs_decls |
Definition at line 47 of file FindGPUMacro.h.
Definition at line 53 of file FindGPUMacro.h.
Definition at line 52 of file FindGPUMacro.h.
map<int, ForStmt *> systemc_clang::FindGPUMacro::forStmtInstanceIdMapType |
Definition at line 50 of file FindGPUMacro.h.
pair<int, ForStmt *> systemc_clang::FindGPUMacro::forStmtInstanceIdPairType |
Definition at line 49 of file FindGPUMacro.h.
FindGPUMacro::FindGPUMacro | ( | CXXMethodDecl * | , |
int | , | ||
raw_ostream & | ) |
Definition at line 49 of file FindGPUMacro.cpp.
|
virtual |
Definition at line 55 of file FindGPUMacro.cpp.
void FindGPUMacro::analyze_array_base | ( | Expr * | base, |
bool | isLHS ) |
Definition at line 191 of file FindGPUMacro.cpp.
void FindGPUMacro::analyze_data_struct | ( | Stmt * | stmtList | ) |
Definition at line 283 of file FindGPUMacro.cpp.
void FindGPUMacro::analyze_expr | ( | Expr * | expr | ) |
Definition at line 269 of file FindGPUMacro.cpp.
void FindGPUMacro::analyze_lhs | ( | Expr * | expr | ) |
Definition at line 221 of file FindGPUMacro.cpp.
void FindGPUMacro::analyze_rhs | ( | Expr * | expr | ) |
Definition at line 245 of file FindGPUMacro.cpp.
void FindGPUMacro::analyze_value_decl | ( | ValueDecl * | val | ) |
Definition at line 175 of file FindGPUMacro.cpp.
void FindGPUMacro::dump | ( | ) |
Definition at line 163 of file FindGPUMacro.cpp.
FindGPUMacro::forStmtGPUMacroMapType FindGPUMacro::getForStmtGPUMacroMap | ( | ) |
Definition at line 158 of file FindGPUMacro.cpp.
|
virtual |
Definition at line 57 of file FindGPUMacro.cpp.
|
private |
Definition at line 81 of file FindGPUMacro.h.
|
private |
Definition at line 80 of file FindGPUMacro.h.
|
private |
Definition at line 82 of file FindGPUMacro.h.
|
private |
Definition at line 83 of file FindGPUMacro.h.
|
private |
Definition at line 85 of file FindGPUMacro.h.
|
private |
Definition at line 86 of file FindGPUMacro.h.