SimpExpModifier Class Reference

#include <include/visitor.h>

Inheritance diagram for SimpExpModifier:

ExpModifier CallBypasser ExpPropagator Localiser List of all members.

Detailed Description

Definition at line 295 of file visitor.h.

Public Member Functions

unsigned getUnchanged ()
bool isTopChanged ()
virtual Exp * postVisit (TypeVal *e)
virtual Exp * postVisit (Terminal *e)
virtual Exp * postVisit (Const *e)
virtual Exp * postVisit (Location *e)
virtual Exp * postVisit (RefExp *e)
virtual Exp * postVisit (FlagDef *e)
virtual Exp * postVisit (TypedExp *e)
virtual Exp * postVisit (Ternary *e)
virtual Exp * postVisit (Binary *e)
virtual Exp * postVisit (Unary *e)
virtual Exp * preVisit (TypeVal *e)
virtual Exp * preVisit (Terminal *e)
virtual Exp * preVisit (Const *e)
virtual Exp * preVisit (Location *e, bool &recur)
virtual Exp * preVisit (RefExp *e, bool &recur)
virtual Exp * preVisit (FlagDef *e, bool &recur)
virtual Exp * preVisit (TypedExp *e, bool &recur)
virtual Exp * preVisit (Ternary *e, bool &recur)
virtual Exp * preVisit (Binary *e, bool &recur)
virtual Exp * preVisit (Unary *e, bool &recur)
 SimpExpModifier ()

Protected Attributes

unsigned mask
unsigned unchanged


Constructor & Destructor Documentation

SimpExpModifier::SimpExpModifier (   )  [inline]
 

Definition at line 304 of file visitor.h.

References mask, and unchanged.


Member Function Documentation

unsigned SimpExpModifier::getUnchanged (   )  [inline]
 

Definition at line 305 of file visitor.h.

References unchanged.

bool SimpExpModifier::isTopChanged (   )  [inline]
 

Definition at line 306 of file visitor.h.

References mask, and unchanged.

Referenced by Statement::bypass().

Exp * SimpExpModifier::postVisit (  TypeVal *  e  )  [virtual]
 

Reimplemented from ExpModifier.

Definition at line 235 of file visitor.cpp.

References mask.

Exp * SimpExpModifier::postVisit (  Terminal *  e  )  [virtual]
 

Reimplemented from ExpModifier.

Reimplemented in Localiser.

Definition at line 239 of file visitor.cpp.

References mask.

Exp * SimpExpModifier::postVisit (  Const *  e  )  [virtual]
 

Reimplemented from ExpModifier.

Definition at line 231 of file visitor.cpp.

References mask.

Exp * SimpExpModifier::postVisit (  Location *  e  )  [virtual]
 

Reimplemented from ExpModifier.

Reimplemented in CallBypasser, and Localiser.

Definition at line 189 of file visitor.cpp.

References mask, Exp::simplify(), and unchanged.

Exp * SimpExpModifier::postVisit (  RefExp *  e  )  [virtual]
 

Reimplemented from ExpModifier.

Reimplemented in CallBypasser, and ExpPropagator.

Definition at line 195 of file visitor.cpp.

References mask, Exp::simplify(), and unchanged.

Exp * SimpExpModifier::postVisit (  FlagDef *  e  )  [virtual]
 

Reimplemented from ExpModifier.

Definition at line 225 of file visitor.cpp.

References mask, Exp::simplify(), and unchanged.

Exp * SimpExpModifier::postVisit (  TypedExp *  e  )  [virtual]
 

Reimplemented from ExpModifier.

Definition at line 219 of file visitor.cpp.

References mask, Exp::simplify(), and unchanged.

Exp * SimpExpModifier::postVisit (  Ternary *  e  )  [virtual]
 

Reimplemented from ExpModifier.

Definition at line 213 of file visitor.cpp.

References mask, Exp::simplify(), and unchanged.

Exp * SimpExpModifier::postVisit (  Binary *  e  )  [virtual]
 

Reimplemented from ExpModifier.

Definition at line 207 of file visitor.cpp.

References mask, Exp::simplify(), Binary::simplifyArith(), and unchanged.

Exp * SimpExpModifier::postVisit (  Unary *  e  )  [virtual]
 

Reimplemented from ExpModifier.

Definition at line 201 of file visitor.cpp.

References mask, Exp::simplify(), and unchanged.

virtual Exp* SimpExpModifier::preVisit (  TypeVal *  e  )  [inline, virtual]
 

Reimplemented from ExpModifier.

Definition at line 316 of file visitor.h.

References mask.

virtual Exp* SimpExpModifier::preVisit (  Terminal *  e  )  [inline, virtual]
 

Reimplemented from ExpModifier.

Definition at line 315 of file visitor.h.

References mask.

virtual Exp* SimpExpModifier::preVisit (  Const *  e  )  [inline, virtual]
 

Reimplemented from ExpModifier.

Definition at line 314 of file visitor.h.

References mask.

virtual Exp* SimpExpModifier::preVisit (  Location *  e,
bool &  recur
)  [inline, virtual]
 

Reimplemented from ExpModifier.

Reimplemented in Localiser.

Definition at line 313 of file visitor.h.

References mask.

virtual Exp* SimpExpModifier::preVisit (  RefExp *  e,
bool &  recur
)  [inline, virtual]
 

Reimplemented from ExpModifier.

Reimplemented in Localiser.

Definition at line 312 of file visitor.h.

References mask.

virtual Exp* SimpExpModifier::preVisit (  FlagDef *  e,
bool &  recur
)  [inline, virtual]
 

Reimplemented from ExpModifier.

Definition at line 311 of file visitor.h.

References mask.

virtual Exp* SimpExpModifier::preVisit (  TypedExp *  e,
bool &  recur
)  [inline, virtual]
 

Reimplemented from ExpModifier.

Definition at line 310 of file visitor.h.

References mask.

virtual Exp* SimpExpModifier::preVisit (  Ternary *  e,
bool &  recur
)  [inline, virtual]
 

Reimplemented from ExpModifier.

Definition at line 309 of file visitor.h.

References mask.

virtual Exp* SimpExpModifier::preVisit (  Binary *  e,
bool &  recur
)  [inline, virtual]
 

Reimplemented from ExpModifier.

Definition at line 308 of file visitor.h.

References mask.

virtual Exp* SimpExpModifier::preVisit (  Unary *  e,
bool &  recur
)  [inline, virtual]
 

Reimplemented from ExpModifier.

Definition at line 307 of file visitor.h.

References mask.


Member Data Documentation

unsigned SimpExpModifier::mask [protected]
 

Definition at line 301 of file visitor.h.

Referenced by isTopChanged(), ExpPropagator::postVisit(), Localiser::postVisit(), postVisit(), CallBypasser::postVisit(), preVisit(), Localiser::preVisit(), and SimpExpModifier().

unsigned SimpExpModifier::unchanged [protected]
 

Definition at line 302 of file visitor.h.

Referenced by getUnchanged(), isTopChanged(), ExpPropagator::postVisit(), Localiser::postVisit(), postVisit(), CallBypasser::postVisit(), and SimpExpModifier().


The documentation for this class was generated from the following files:
Generated on Tue Sep 19 21:18:45 2006 for Boomerang by  doxygen 1.4.6