Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

constantsChanger Class Reference

#include <constants.h>

Inheritance diagram for constantsChanger::

Changer List of all members.

Public Methods

virtual Nodeat_expr (exprNode *the_expr, Order ord)
virtual Nodeat_if (ifNode *the_if, Order ord)

Static Public Methods

void optimize (unitNode *u, constantAnalyzer *constants, bool simplify)

Private Methods

 constantsChanger (constantAnalyzer *constants, bool simplify)
 Private: create a new changer object. More...


Private Attributes

constantAnalyzer_constants
 Constants information. More...

bool _simplify
 Simplify. More...


Constructor & Destructor Documentation

constantsChanger::constantsChanger constantAnalyzer   constants,
bool    simplify
[private]
 

Private: create a new changer object.


Member Function Documentation

Node * constantsChanger::at_expr exprNode   the_expr,
Order    ord
[virtual]
 

Reimplemented from Changer.

Node * constantsChanger::at_if ifNode   the_if,
Order    ord
[virtual]
 

Reimplemented from Changer.

void constantsChanger::optimize unitNode   u,
constantAnalyzer   constants,
bool    simplify
[inline, static]
 


Member Data Documentation

constantAnalyzer* constantsChanger::_constants [private]
 

Constants information.

bool constantsChanger::_simplify [private]
 

Simplify.

When true, the changer also performs control simplification by resolving conditional branches whose outcome can be determined.


The documentation for this class was generated from the following files:
Generated on Thu Jan 10 12:06:26 2002 for C-Breeze by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001