#include <constants.h>
Inheritance diagram for constantsChanger::
Public Methods | |
virtual Node * | at_expr (exprNode *the_expr, Order ord) |
virtual Node * | at_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... |
|
Private: create a new changer object.
|
|
Reimplemented from Changer. |
|
Reimplemented from Changer. |
|
|
|
Constants information.
|
|
Simplify. When true, the changer also performs control simplification by resolving conditional branches whose outcome can be determined. |