#include <include/statement.h>
Inheritance diagram for CaseStatement:
Definition at line 997 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) |
CaseStatement () | |
virtual Statement * | clone () |
virtual void | generateCode (HLLCode *hll, BasicBlock *pbb, int indLevel) |
SWITCH_INFO * | getSwitchInfo () |
virtual void | print (std::ostream &os=std::cout, bool html=false) |
virtual bool | searchAll (Exp *search, std::list< Exp * > &result) |
virtual bool | searchAndReplace (Exp *search, Exp *replace, bool cc=false) |
void | setSwitchInfo (SWITCH_INFO *pss) |
virtual void | simplify () |
virtual bool | usesExp (Exp *e) |
virtual | ~CaseStatement () |
Private Attributes | |
SWITCH_INFO * | pSwitchInfo |
Friends | |
class | XMLProgParser |
|
Definition at line 1799 of file statement.cpp. References Statement::kind, and STMT_CASE. Referenced by clone(). |
|
Definition at line 1811 of file statement.cpp. References pSwitchInfo. |
|
Reimplemented from GotoStatement. Definition at line 4045 of file statement.cpp. References Exp::accept(), StmtPartModifier::mod, GotoStatement::pDest, pSwitchInfo, SWITCH_INFO::pSwitchVar, and StmtPartModifier::visit(). |
|
Reimplemented from GotoStatement. Definition at line 3933 of file statement.cpp. References Exp::accept(), StmtModifier::mod, GotoStatement::pDest, pSwitchInfo, SWITCH_INFO::pSwitchVar, and StmtModifier::visit(). |
|
Reimplemented from GotoStatement. Definition at line 3807 of file statement.cpp. References Exp::accept(), StmtExpVisitor::ev, GotoStatement::pDest, pSwitchInfo, SWITCH_INFO::pSwitchVar, and StmtExpVisitor::visit(). |
|
Reimplemented from GotoStatement. Definition at line 1912 of file statement.cpp. References StmtVisitor::visit(). Referenced by RtlTest::testVisitor(). |
|
Reimplemented from GotoStatement. Definition at line 1897 of file statement.cpp. References CaseStatement(), Exp::clone(), GotoStatement::m_isComputed, Statement::number, Statement::pbb, GotoStatement::pDest, Statement::proc, pSwitchInfo, and SWITCH_INFO::pSwitchVar. |
|
Reimplemented from GotoStatement. Definition at line 1916 of file statement.cpp. |
|
Definition at line 1822 of file statement.cpp. References pSwitchInfo. Referenced by BasicBlock::generateCode(), BasicBlock::getDest(), BasicBlock::processSwitch(), and StmtConscriptSetter::visit(). |
|
Reimplemented from GotoStatement. Definition at line 1872 of file statement.cpp. References NULL, Statement::number, GotoStatement::pDest, pSwitchInfo, and SWITCH_INFO::pSwitchVar. |
|
Reimplemented from GotoStatement. Definition at line 1860 of file statement.cpp. References pSwitchInfo, SWITCH_INFO::pSwitchVar, GotoStatement::search(), Exp::searchAll(), and GotoStatement::searchAll(). |
|
Reimplemented from GotoStatement. Definition at line 1844 of file statement.cpp. References pSwitchInfo, SWITCH_INFO::pSwitchVar, GotoStatement::search(), GotoStatement::searchAndReplace(), and Exp::searchReplaceAll(). |
|
Definition at line 1832 of file statement.cpp. References pSwitchInfo. Referenced by StatementTest::testAddUsedLocsCase(), and StatementTest::testSubscriptVars(). |
|
Reimplemented from GotoStatement. Definition at line 1931 of file statement.cpp. References GotoStatement::pDest, pSwitchInfo, SWITCH_INFO::pSwitchVar, and Exp::simplify(). |
|
Reimplemented from GotoStatement. Definition at line 1920 of file statement.cpp. References GotoStatement::pDest, pSwitchInfo, and SWITCH_INFO::pSwitchVar. |
|
Reimplemented from GotoStatement. Definition at line 1035 of file statement.h. |
|
Definition at line 998 of file statement.h. Referenced by accept(), clone(), getSwitchInfo(), print(), searchAll(), searchAndReplace(), setSwitchInfo(), simplify(), usesExp(), and ~CaseStatement(). |