#include <include/visitor.h>
Inheritance diagram for UsedLocalFinder:
Definition at line 363 of file visitor.h.
Public Member Functions | |
LocationSet * | getLocSet () |
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 |
UserProc * | proc |
LocationSet * | used |
|
|
|
|
|
Definition at line 371 of file visitor.h. References used. |
|
Reimplemented from ExpVisitor. Definition at line 336 of file visitor.cpp. References all, UserProc::findFirstSymbol(), Exp::getOper(), LocationSet::insert(), opDefineAll, proc, and used. |
|
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. |
|
Reimplemented from ExpVisitor. Definition at line 307 of file visitor.cpp. References UserProc::findLocal(), LocationSet::insert(), Exp::isLocal(), UserProc::lookupSym(), proc, and used. |
|
Definition at line 372 of file visitor.h. References all. Referenced by Statement::addUsedLocals(). |
|
Definition at line 366 of file visitor.h. Referenced by visit(), and wasAllFound(). |
|
Definition at line 365 of file visitor.h. Referenced by visit(). |
|
Definition at line 364 of file visitor.h. Referenced by getLocSet(), and visit(). |