00001 #ifndef VARIABLE_HELPER_H_INCLUDED_
00002 #define VARIABLE_HELPER_H_INCLUDED_
00003
00004 #include "rose.h"
00005
00006 namespace risc {
00007
00008 namespace tools {
00009
00015 bool
00016 is_reference_variable(SgVariableSymbol *var_symbol);
00017
00023 bool
00024 is_global_variable(SgVariableSymbol *var_symbol);
00025
00031 bool
00032 is_local_variable(SgVariableSymbol *var_symbol);
00033
00039 bool
00040 is_member_variable(SgVariableSymbol *var_symbol);
00041
00047 bool
00048 is_static_variable(SgVariableSymbol *var_symbol);
00049
00055 bool is_namespace_variable(SgVariableSymbol *var_symbol);
00056
00062 bool is_function_parameter_variable(SgVariableSymbol *var_symbol);
00063
00070 bool is_member_of(SgVariableSymbol *is, SgSymbol *of);
00071
00072 };
00073
00074 };
00075
00076 #endif
00077
00078