#include <include/statement.h>
Inheritance diagram for GotoStatement:
Definition at line 799 of file statement.h.
Public Member Functions | |
virtual bool | accept (StmtPartModifier *visitor) |
virtual bool | accept (StmtModifier *visitor) |
virtual bool | accept (StmtExpVisitor *visitor) |
virtual bool | accept (StmtVisitor *visitor) |
void | adjustFixedDest (int delta) |
virtual Statement * | clone () |
virtual void | generateCode (HLLCode *hll, BasicBlock *pbb, int indLevel) |
virtual Exp * | getDest () |
ADDRESS | getFixedDest () |
GotoStatement (ADDRESS jumpDest) | |
GotoStatement () | |
bool | isComputed () |
virtual bool | isDefinition () |
virtual void | print (std::ostream &os=std::cout, bool html=false) |
virtual bool | search (Exp *, Exp *&) |
virtual bool | searchAll (Exp *search, std::list< Exp * > &result) |
virtual bool | searchAndReplace (Exp *search, Exp *replace, bool cc=false) |
void | setDest (ADDRESS addr) |
void | setDest (Exp *pd) |
void | setIsComputed (bool b=true) |
virtual void | simplify () |
virtual bool | usesExp (Exp *) |
virtual | ~GotoStatement () |
Protected Attributes | |
bool | m_isComputed |
Exp * | pDest |
Friends | |
class | XMLProgParser |
|
Definition at line 987 of file statement.cpp. References Statement::kind, and STMT_GOTO. Referenced by clone(). |
|
Definition at line 998 of file statement.cpp. References Statement::kind, pDest, and STMT_GOTO. |
|
Definition at line 1009 of file statement.cpp. References pDest. |
|
Implements Statement. Reimplemented in BranchStatement, CaseStatement, and CallStatement. Definition at line 4027 of file statement.cpp. References Exp::accept(), StmtPartModifier::mod, pDest, and StmtPartModifier::visit(). |
|
Implements Statement. Reimplemented in BranchStatement, CaseStatement, and CallStatement. Definition at line 3915 of file statement.cpp. References Exp::accept(), StmtModifier::mod, pDest, and StmtModifier::visit(). |
|
Implements Statement. Reimplemented in BranchStatement, CaseStatement, and CallStatement. Definition at line 3786 of file statement.cpp. References Exp::accept(), StmtExpVisitor::ev, pDest, and StmtExpVisitor::visit(). |
|
Implements Statement. Reimplemented in BranchStatement, CaseStatement, and CallStatement. Definition at line 1184 of file statement.cpp. References StmtVisitor::visit(). Referenced by RtlTest::testVisitor(). |
|
Definition at line 1072 of file statement.cpp. References Exp::getOper(), LOG, opIntConst, and pDest. Referenced by SparcFrontEnd::case_SCDAN(), and SparcFrontEnd::case_SD(). |
|
Implements Statement. Reimplemented in BranchStatement, CaseStatement, and CallStatement. Definition at line 1172 of file statement.cpp. References Exp::clone(), GotoStatement(), m_isComputed, Statement::number, Statement::pbb, pDest, and Statement::proc. |
|
Implements Statement. Reimplemented in BranchStatement, CaseStatement, and CallStatement. Definition at line 1188 of file statement.cpp. |
|
Definition at line 1059 of file statement.cpp. References pDest. Referenced by BasicBlock::getDest(), CallStatement::rangeAnalysis(), StmtSsaXformer::visit(), StmtSubscripter::visit(), and UsedLocsVisitor::visit(). |
|
Definition at line 1022 of file statement.cpp. References Exp::getOper(), NO_ADDRESS, opIntConst, and pDest. Referenced by UserProc::assignProcsToCalls(), SparcFrontEnd::case_SCD(), SparcFrontEnd::case_SCDAN(), SparcFrontEnd::case_SD(), BranchStatement::getFallBB(), BranchStatement::getRangesForOutEdgeTo(), BranchStatement::getTakenBB(), BranchStatement::print(), print(), FrontEnd::processProc(), BranchStatement::setFallBB(), and BranchStatement::setTakenBB(). |
|
Definition at line 1162 of file statement.cpp. References m_isComputed. Referenced by UserProc::assignProcsToCalls(), CallStatement::generateCode(), and simplify(). |
|
Implements Statement. Reimplemented in CallStatement. Definition at line 856 of file statement.h. |
|
Implements Statement. Reimplemented in BranchStatement, CaseStatement, and CallStatement. Definition at line 1125 of file statement.cpp. References getFixedDest(), Exp::getOper(), NULL, Statement::number, opIntConst, pDest, and Exp::print(). |
|
Implements Statement. Reimplemented in BranchStatement, and CallStatement. Definition at line 1081 of file statement.cpp. References NULL, pDest, result, and Exp::search(). Referenced by CallStatement::search(), CaseStatement::searchAll(), searchAll(), CaseStatement::searchAndReplace(), and searchAndReplace(). |
|
Implements Statement. Reimplemented in BranchStatement, CaseStatement, and CallStatement. Definition at line 1112 of file statement.cpp. References pDest, search(), and Exp::searchAll(). Referenced by CallStatement::searchAll(), and CaseStatement::searchAll(). |
|
Implements Statement. Reimplemented in BranchStatement, CaseStatement, and CallStatement. Definition at line 1096 of file statement.cpp. References pDest, search(), and Exp::searchReplaceAll(). Referenced by CallStatement::searchAndReplace(), CaseStatement::searchAndReplace(), and BranchStatement::searchAndReplace(). |
|
Definition at line 1043 of file statement.cpp. |
|
|
Definition at line 1150 of file statement.cpp. References m_isComputed. Referenced by NJMCDecoder::computedCall(), NJMCDecoder::computedJump(), ST20Decoder::decodeInstruction(), SparcDecoder::decodeInstruction(), PPCDecoder::decodeInstruction(), and PentiumDecoder::decodeInstruction(). |
|
Implements Statement. Reimplemented in BranchStatement, CaseStatement, and CallStatement. Definition at line 1192 of file statement.cpp. References isComputed(), pDest, Exp::simplify(), and Exp::simplifyArith(). Referenced by CallStatement::simplify(). |
|
Implements Statement. Reimplemented in BranchStatement, CaseStatement, and CallStatement. Definition at line 2330 of file statement.cpp. References pDest, and Exp::search(). Referenced by CallStatement::usesExp(). |
|
Reimplemented from Statement. Reimplemented in BranchStatement, CaseStatement, and CallStatement. Definition at line 859 of file statement.h. |
|
Definition at line 803 of file statement.h. Referenced by CallStatement::clone(), CaseStatement::clone(), BranchStatement::clone(), clone(), CallStatement::convertToDirect(), isComputed(), CallStatement::rangeAnalysis(), and setIsComputed(). |
|