1#ifndef __FIND_GPU_MACRO_H
2#define __FIND_GPU_MACRO_H
4#include "clang/AST/DeclCXX.h"
5#include "clang/AST/RecursiveASTVisitor.h"
6#include "llvm/Support/raw_ostream.h"
18 GPUMacro(
int,
int,
int,
int,
int,
int,
int,
int);
33 void dump(raw_ostream &);
forStmtGPUMacroMapType _forStmtGPUMacroMap
void analyze_data_struct(Stmt *stmtList)
void analyze_expr(Expr *expr)
std::set< ValueDecl * > rhs_decls
forStmtGPUMacroMapType getForStmtGPUMacroMap()
void analyze_value_decl(ValueDecl *val)
void analyze_rhs(Expr *expr)
CXXMethodDecl * _entryFunction
void analyze_lhs(Expr *expr)
std::set< ValueDecl * > lhs_decls
void analyze_array_base(Expr *base, bool isLHS)
virtual bool VisitForStmt(ForStmt *)
pair< forStmtInstanceIdPairType, GPUMacro * > forStmtGPUMacroPairType
map< forStmtInstanceIdPairType, GPUMacro * > forStmtGPUMacroMapType
map< int, ForStmt * > forStmtInstanceIdMapType
pair< int, ForStmt * > forStmtInstanceIdPairType
FindGPUMacro(CXXMethodDecl *, int, raw_ostream &)
Clang forward declarations.