All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Functions
variable_helper.h File Reference
#include "rose.h"
#include "../segment_graph/port_call_path.h"
Include dependency graph for variable_helper.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 risc
 
 risc::tools
 

Functions

bool risc::tools::is_reference_variable (SgVariableSymbol *var_symbol)
 This function return true if the given variable symbol is a reference. More...
 
bool risc::tools::is_pointer_variable (SgVariableSymbol *var_symbol)
 This function return true if the given variable symbol is a pointer. More...
 
bool risc::tools::is_global_variable (SgVariableSymbol *var_symbol)
 This function return true if the given variable symbol is a global variable. More...
 
bool risc::tools::is_local_variable (SgVariableSymbol *var_symbol)
 This function return true if the given variable symbol is a local variable. More...
 
bool risc::tools::is_member_variable (SgVariableSymbol *var_symbol)
 This function return true if the given variable symbol is a member variable. More...
 
bool risc::tools::is_static_variable (SgVariableSymbol *var_symbol)
 This function return true if the given variable symbol is a static variable. More...
 
bool risc::tools::is_namespace_variable (SgVariableSymbol *var_symbol)
 This function return true if the given variable symbol is a namespace variable. More...
 
bool risc::tools::is_function_parameter_variable (SgVariableSymbol *var_symbol)
 This function return true if the given variable symbol is a function variable. More...
 
bool risc::tools::is_member_of (SgVariableSymbol *is, SgSymbol *of)
 This function returns true if a given variable symbol is defined 'in' another variable symbol. For instance 'class Foo { int i;}' 'i' is defined in 'Foo'. More...
 
bool risc::tools::is_loop_variable (SgVariableSymbol *var_symbol)
 This function return true if the given variable symbol is a loop variable. More...
 
bool risc::tools::is_stack_variable (SgVariableSymbol *var_symbol)
 This function return true if the given variable symbol is a variable which will be stored on the stack. More...
 
bool risc::tools::is_data_segment_variable (SgVariableSymbol *var_symbol)
 This function return true if the given variable symbol is a variable which will be stored on the stack. More...
 
void risc::tools::analyze_conflict_free (SgVariableSymbol *symbol)
 This function checks if a variable is annoated with a pragma as conflict free. More...
 
bool risc::tools::is_channel_variable (SgVariableSymbol *symbol)
 Returns true when the variable is declared in a channel. More...
 
bool risc::tools::is_sc_signal (SgVariableSymbol *symbol)
 Returns true if the variable is of type sc_signal. More...
 
bool risc::tools::is_socket_variable (risc::sg::SymbolWithPath swp)
 Returns true when the symbolwithpath has a pcp_.port_ attribute. More...