C-Breeze
C Compiler Infrastructure

[ Project home page]
Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

SSA_H_RENAME_VARS

Rename variables. More...

Functions

void rename ()
void search (basicblockNode *X)
int which_pred (basicblockNode *node, basicblockNode *pred)
void push_new_decl (declNode *de, int index)
void rename_all_variables ()
string name_with_index (string &name, int index)

Detailed Description

Rename variables.


Function Documentation

string SSA::name_with_index (  string &    name,
int    index
)  [private, inherited]
 

Definition at line 532 of file ssa.cc.

void SSA::push_new_decl (  declNode *    de,
int    index
)  [private, inherited]
 

void SSA::rename (    )  [private, inherited]
 

Definition at line 311 of file ssa.cc.

References SSA::rename_all_variables(), and SSA::search().

Referenced by SSA::SSA().

void SSA::rename_all_variables (    )  [private, inherited]
 

Definition at line 545 of file ssa.cc.

References SSA::_proc, procNode::body(), SSA::Changes, SSA::Counter, counter_map_p, idNode::decl(), decl_decl_map, declNode::decl_location(), decl_vector, blockNode::decls(), idNode::name(), subdeclNode::name_with_index(), and var_changes_p.

Referenced by SSA::rename().

void SSA::search (  basicblockNode *    X )  [private, inherited]
 

Definition at line 421 of file ssa.cc.

References callNode::args(), SSA::assignment(), basicblock_list, basicblock_list_p, basicblockNode::children(), SSA::Counter, idNode::decl(), Expr, expr_list_p, Id, If, binaryNode::left(), SSA::lhs(), SSA::phi(), SSA::record_index(), renumber_walker::renum(), Return, binaryNode::right(), SSA::Stack, stmt_list_p, blockNode::stmts(), basicblockNode::succs(), Node::typ(), and SSA::which_pred().

Referenced by SSA::rename().

int SSA::which_pred (  basicblockNode *    node,
basicblockNode *    pred
)  [private, inherited]
 

Definition at line 291 of file ssa.cc.

References basicblock_list, basicblock_list_p, and basicblockNode::preds().

Referenced by SSA::search().


Generated on August 27, 2003
Back to the C-Breeze home page