UsedLocalFinder Class Reference

#include <include/visitor.h>

Inheritance diagram for UsedLocalFinder:

ExpVisitor List of all members.

Detailed Description

Definition at line 363 of file visitor.h.

Public Member Functions

LocationSetgetLocSet ()
 UsedLocalFinder (LocationSet &used, UserProc *proc)
virtual bool visit (Terminal *e)
virtual bool visit (TypedExp *e, bool &override)
virtual bool visit (Location *e, bool &override)
bool wasAllFound ()
 ~UsedLocalFinder ()

Private Attributes

bool all
UserProcproc
LocationSetused


Constructor & Destructor Documentation

UsedLocalFinder::UsedLocalFinder LocationSet used,
UserProc proc
[inline]
 

Definition at line 368 of file visitor.h.

UsedLocalFinder::~UsedLocalFinder  )  [inline]
 

Definition at line 369 of file visitor.h.


Member Function Documentation

LocationSet* UsedLocalFinder::getLocSet  )  [inline]
 

Definition at line 371 of file visitor.h.

References used.

bool UsedLocalFinder::visit Terminal e  )  [virtual]
 

Reimplemented from ExpVisitor.

Definition at line 336 of file visitor.cpp.

References all, UserProc::findFirstSymbol(), Exp::getOper(), LocationSet::insert(), opDefineAll, proc, and used.

bool UsedLocalFinder::visit TypedExp e,
bool &  override
[virtual]
 

Reimplemented from ExpVisitor.

Definition at line 321 of file visitor.cpp.

References UserProc::findLocal(), Unary::getSubExp1(), TypedExp::getType(), LocationSet::insert(), Location::memOf(), proc, Type::resolvesToPointer(), and used.

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

Reimplemented from ExpVisitor.

Definition at line 307 of file visitor.cpp.

References UserProc::findLocal(), LocationSet::insert(), Exp::isLocal(), UserProc::lookupSym(), proc, and used.

bool UsedLocalFinder::wasAllFound  )  [inline]
 

Definition at line 372 of file visitor.h.

References all.

Referenced by Statement::addUsedLocals().


Member Data Documentation

bool UsedLocalFinder::all [private]
 

Definition at line 366 of file visitor.h.

Referenced by visit(), and wasAllFound().

UserProc* UsedLocalFinder::proc [private]
 

Definition at line 365 of file visitor.h.

Referenced by visit().

LocationSet* UsedLocalFinder::used [private]
 

Definition at line 364 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