systemc-clang 2.0.0
Parsing SystemC constructs
Loading...
Searching...
No Matches
systemc_clang::FindGPUMacro Class Reference

#include <FindGPUMacro.h>

Inheritance diagram for systemc_clang::FindGPUMacro:
Collaboration diagram for systemc_clang::FindGPUMacro:

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
 

Detailed Description

Definition at line 47 of file FindGPUMacro.h.

Member Typedef Documentation

◆ forStmtGPUMacroMapType

◆ forStmtGPUMacroPairType

◆ forStmtInstanceIdMapType

Definition at line 50 of file FindGPUMacro.h.

◆ forStmtInstanceIdPairType

Definition at line 49 of file FindGPUMacro.h.

Constructor & Destructor Documentation

◆ FindGPUMacro()

FindGPUMacro::FindGPUMacro ( CXXMethodDecl * ,
int ,
raw_ostream &  )

Definition at line 49 of file FindGPUMacro.cpp.

◆ ~FindGPUMacro()

FindGPUMacro::~FindGPUMacro ( )
virtual

Definition at line 55 of file FindGPUMacro.cpp.

Member Function Documentation

◆ analyze_array_base()

void FindGPUMacro::analyze_array_base ( Expr * base,
bool isLHS )

Definition at line 191 of file FindGPUMacro.cpp.

◆ analyze_data_struct()

void FindGPUMacro::analyze_data_struct ( Stmt * stmtList)

Definition at line 283 of file FindGPUMacro.cpp.

◆ analyze_expr()

void FindGPUMacro::analyze_expr ( Expr * expr)

Definition at line 269 of file FindGPUMacro.cpp.

◆ analyze_lhs()

void FindGPUMacro::analyze_lhs ( Expr * expr)

Definition at line 221 of file FindGPUMacro.cpp.

◆ analyze_rhs()

void FindGPUMacro::analyze_rhs ( Expr * expr)

Definition at line 245 of file FindGPUMacro.cpp.

◆ analyze_value_decl()

void FindGPUMacro::analyze_value_decl ( ValueDecl * val)

Definition at line 175 of file FindGPUMacro.cpp.

◆ dump()

void FindGPUMacro::dump ( )

Definition at line 163 of file FindGPUMacro.cpp.

◆ getForStmtGPUMacroMap()

FindGPUMacro::forStmtGPUMacroMapType FindGPUMacro::getForStmtGPUMacroMap ( )

Definition at line 158 of file FindGPUMacro.cpp.

◆ VisitForStmt()

bool FindGPUMacro::VisitForStmt ( ForStmt * fstmt)
virtual

Definition at line 57 of file FindGPUMacro.cpp.

Member Data Documentation

◆ _entryFunction

CXXMethodDecl* systemc_clang::FindGPUMacro::_entryFunction
private

Definition at line 81 of file FindGPUMacro.h.

◆ _forStmtGPUMacroMap

forStmtGPUMacroMapType systemc_clang::FindGPUMacro::_forStmtGPUMacroMap
private

Definition at line 80 of file FindGPUMacro.h.

◆ _instanceNum

int systemc_clang::FindGPUMacro::_instanceNum
private

Definition at line 82 of file FindGPUMacro.h.

◆ _os

raw_ostream& systemc_clang::FindGPUMacro::_os
private

Definition at line 83 of file FindGPUMacro.h.

◆ lhs_decls

std::set<ValueDecl *> systemc_clang::FindGPUMacro::lhs_decls
private

Definition at line 85 of file FindGPUMacro.h.

◆ rhs_decls

std::set<ValueDecl *> systemc_clang::FindGPUMacro::rhs_decls
private

Definition at line 86 of file FindGPUMacro.h.


The documentation for this class was generated from the following files: