UsedLocsFinder Class Reference

#include <include/visitor.h>

Inheritance diagram for UsedLocsFinder:

ExpVisitor List of all members.

Detailed Description

Definition at line 343 of file visitor.h.

Public Member Functions

LocationSetgetLocSet ()
bool isMemOnly ()
void setMemOnly (bool b)
 UsedLocsFinder (LocationSet &used, bool memOnly)
virtual bool visit (Terminal *e)
virtual bool visit (Location *e, bool &override)
virtual bool visit (RefExp *e, bool &override)
 ~UsedLocsFinder ()

Private Attributes

bool memOnly
LocationSetused


Constructor & Destructor Documentation

UsedLocsFinder::UsedLocsFinder LocationSet used,
bool  memOnly
[inline]
 

Definition at line 347 of file visitor.h.

UsedLocsFinder::~UsedLocsFinder  )  [inline]
 

Definition at line 348 of file visitor.h.


Member Function Documentation

LocationSet* UsedLocsFinder::getLocSet  )  [inline]
 

Definition at line 350 of file visitor.h.

References used.

bool UsedLocsFinder::isMemOnly  )  [inline]
 

Definition at line 352 of file visitor.h.

References memOnly.

Referenced by UsedLocsVisitor::visit().

void UsedLocsFinder::setMemOnly bool  b  )  [inline]
 

Definition at line 351 of file visitor.h.

References memOnly.

Referenced by UsedLocsVisitor::visit().

bool UsedLocsFinder::visit Terminal e  )  [virtual]
 

Reimplemented from ExpVisitor.

Definition at line 263 of file visitor.cpp.

References Exp::getOper(), LocationSet::insert(), memOnly, opCF, opDefineAll, opDF, opFflags, opFlags, opNF, opOF, opPC, opZF, and used.

bool UsedLocsFinder::visit Location e,
bool &  override
[virtual]
 

Reimplemented from ExpVisitor.

Definition at line 245 of file visitor.cpp.

References child(), LocationSet::insert(), memOnly, and used.

bool UsedLocsFinder::visit RefExp e,
bool &  override
[virtual]
 

Reimplemented from ExpVisitor.

Definition at line 281 of file visitor.cpp.

References Exp::accept(), Exp::getSubExp1(), Unary::getSubExp1(), LocationSet::insert(), Exp::isMemOf(), memOnly, and used.


Member Data Documentation

bool UsedLocsFinder::memOnly [private]
 

Definition at line 345 of file visitor.h.

Referenced by isMemOnly(), setMemOnly(), and visit().

LocationSet* UsedLocsFinder::used [private]
 

Definition at line 344 of file visitor.h.

Referenced by getLocSet(), and visit().


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