#include "rose.h"
#include <vector>
#include <cassert>
Go to the source code of this file.
Namespaces | |
risc | |
risc::sa | |
Functions | |
void | risc::sa::collect_write_variables (SgExpression *expr, std::vector< SgNode * > &write_var) |
This function collects all written variables in the given expression and adds them to the given vector. More... | |
void | risc::sa::collect_read_variables (SgExpression *expr, std::vector< SgNode * > &read_var) |
This function collects all read variables in the given expression and adds them to the given vector. More... | |
void | risc::sa::read_write_analysis (std::vector< SgExpression * > expressions, std::set< SgVariableSymbol * > &read_only_var, std::set< SgVariableSymbol * > &write_only_var, std::vector< SgNode * > &read_write) |
This function collects all read only, write only, and read/write variables in the given expression vector and adds them to the corresponging set/vector. More... | |
bool | risc::sa::is_member_variable_symbol (SgNode *given_variable, risc::VariableVector &member_variables) |
std::vector< SgNode * >::iterator | risc::sa::delete_if_is_not_member_variable (std::vector< SgNode * > &given_variables, VariableVector &member_variables) |
std::set< SgVariableSymbol * > ::iterator | risc::sa::delete_if_is_not_member_symbol (std::set< SgVariableSymbol * > &given_variables, VariableVector &member_variables) |