#include <include/statement.h>
Inheritance diagram for PhiAssign:
Definition at line 579 of file statement.h.
Public Types | |
typedef std::vector< PhiInfo > | Definitions |
typedef Definitions::iterator | iterator |
Public Member Functions | |
virtual bool | accept (StmtPartModifier *visitor) |
virtual bool | accept (StmtModifier *visitor) |
virtual bool | accept (StmtExpVisitor *visitor) |
virtual bool | accept (StmtVisitor *visitor) |
iterator | begin () |
virtual Statement * | clone () |
void | convertToAssign (Exp *rhs) |
void | dfaTypeAnalysis (bool &ch) |
iterator | end () |
void | enumerateParams (std::list< Exp * > &le) |
iterator | erase (iterator it) |
virtual void | genConstraints (LocationSet &cons) |
PhiInfo & | getAt (int idx) |
Definitions & | getDefs () |
virtual int | getNumDefs () |
virtual Exp * | getRight () |
Statement * | getStmtAt (int idx) |
bool | hasGlobalFuncParam () |
PhiAssign (Assign &o) | |
PhiAssign (Type *ty, Exp *lhs) | |
PhiAssign (Exp *lhs) | |
virtual void | printCompact (std::ostream &os, bool html=false) |
void | putAt (int idx, Statement *d, Exp *e) |
virtual bool | search (Exp *search, Exp *&result) |
virtual bool | searchAll (Exp *search, std::list< Exp * > &result) |
virtual bool | searchAndReplace (Exp *search, Exp *replace, bool cc=false) |
virtual void | simplify () |
void | simplifyRefs () |
virtual | ~PhiAssign () |
Private Attributes | |
Definitions | defVec |
Friends | |
class | XMLProgParser |
|
Definition at line 581 of file statement.h. |
|
Definition at line 582 of file statement.h. |
|
Definition at line 587 of file statement.h. References Statement::kind, and STMT_PHIASSIGN. Referenced by clone(). |
|
Definition at line 590 of file statement.h. References Statement::kind, and STMT_PHIASSIGN. |
|
|
|
Definition at line 595 of file statement.h. Referenced by convertToAssign(). |
|
Implements Assignment. Definition at line 4002 of file statement.cpp. References accept(), ExpModifier::clearMod(), Exp::isMemOf(), Assignment::lhs, StmtPartModifier::mod, and StmtPartModifier::visit(). |
|
Implements Assignment. Definition at line 3883 of file statement.cpp. References Exp::accept(), ExpModifier::clearMod(), ExpModifier::isMod(), Assignment::lhs, LOG, StmtModifier::mod, and StmtModifier::visit(). |
|
Implements Assignment. Definition at line 3762 of file statement.cpp. References RefExp::accept(), Exp::accept(), defVec, StmtExpVisitor::ev, Assignment::lhs, NULL, and StmtExpVisitor::visit(). |
|
Implements Assignment. Definition at line 3207 of file statement.cpp. References StmtVisitor::visit(). Referenced by accept(), and UserProc::mapTempsToLocals(). |
|
Definition at line 641 of file statement.h. References defVec. Referenced by BasicBlock::decodeIndirectJmp(), enumerateParams(), UserProc::findPhiUnites(), UserProc::nameParameterPhis(), StmtSsaXformer::visit(), and StmtImplicitConverter::visit(). |
|
Implements Assignment. Definition at line 3186 of file statement.cpp. References defVec, Assignment::lhs, PhiAssign(), and TypingStatement::type. |
|
Definition at line 4147 of file statement.cpp. References Assignment::lhs, Statement::number, Statement::proc, Exp::propagateAll(), Statement::setBB(), Statement::setNumber(), Statement::setProc(), TypingStatement::type, and ~PhiAssign(). |
|
Reimplemented from Assignment. Definition at line 774 of file dfa.cpp. References defVec, Assignment::lhs, and NULL. |
|
Definition at line 642 of file statement.h. References defVec. Referenced by BasicBlock::decodeIndirectJmp(), enumerateParams(), UserProc::findPhiUnites(), UserProc::nameParameterPhis(), UserProc::prover(), StmtSsaXformer::visit(), and StmtImplicitConverter::visit(). |
|
Definition at line 5025 of file statement.cpp. |
|
Definition at line 643 of file statement.h. References defVec. |
|
Reimplemented from Assignment. Definition at line 3563 of file statement.cpp. References defVec, LocationSet::insert(), Assignment::lhs, opEquals, opTypeOf, and result. |
|
Definition at line 633 of file statement.h. References defVec. |
|
Definition at line 637 of file statement.h. References defVec. |
|
Definition at line 636 of file statement.h. References defVec. |
|
Definition at line 601 of file statement.h. References NULL. Referenced by CallStatement::genConstraints(). |
|
Definition at line 632 of file statement.h. References defVec. Referenced by BasicBlock::getLiveOut(). |
|
|
|
Implements Assignment. Definition at line 3326 of file statement.cpp. References defVec, Assignment::lhs, NULL, Exp::print(), and TypingStatement::type. |
|
Definition at line 4209 of file statement.cpp. References defVec. Referenced by StatementTest::testAddUsedLocsBool(). |
|
Implements Assignment. Definition at line 3406 of file statement.cpp. References defVec, Assignment::lhs, NULL, result, and Exp::search(). Referenced by searchAll(), and searchAndReplace(). |
|
Implements Assignment. Definition at line 3434 of file statement.cpp. References Assignment::lhs, search(), and Exp::searchAll(). |
|
Implements Assignment. Definition at line 3449 of file statement.cpp. References defVec, Assignment::lhs, NULL, search(), and Exp::searchReplaceAll(). |
|
Implements Assignment. Definition at line 4168 of file statement.cpp. References defVec, Assignment::lhs, and Exp::simplify(). |
|
|
|
Reimplemented from Assignment. Definition at line 652 of file statement.h. |
|
Definition at line 584 of file statement.h. Referenced by accept(), begin(), clone(), dfaTypeAnalysis(), end(), erase(), genConstraints(), getAt(), getDefs(), getNumDefs(), getStmtAt(), printCompact(), putAt(), search(), searchAndReplace(), and simplify(). |