#include <db/RtlTest.h>
Definition at line 7 of file RtlTest.h.
Public Member Functions | |
int | countTestCases () const |
virtual void | registerTests (CppUnit::TestSuite *suite) |
RtlTest (std::string name) | |
void | setUp () |
void | tearDown () |
void | testAppend () |
void | testClone () |
void | testIsCompare () |
void | testSetConscripts () |
void | testVisitor () |
|
|
|
Definition at line 46 of file RtlTest.cpp. |
|
Definition at line 38 of file RtlTest.cpp. References MYTEST, testAppend(), testClone(), testIsCompare(), testSetConscripts(), and testVisitor(). Referenced by main(). |
|
Definition at line 56 of file RtlTest.cpp. |
|
Definition at line 66 of file RtlTest.cpp. |
|
Definition at line 73 of file RtlTest.cpp. References RTL::appendStmt(), opPlus, RTL::print(), and Location::regOf(). Referenced by registerTests(). |
|
Definition at line 96 of file RtlTest.cpp. References RTL::clone(), NULL, opParam, opPlus, RTL::print(), and Location::regOf(). Referenced by registerTests(). |
|
Definition at line 213 of file RtlTest.cpp. References FrontEnd::decodeInstruction(), BinaryFile::GetMachine(), RTL::isCompare(), BinaryFileFactory::Load(), MACHINE_PENTIUM, MACHINE_SPARC, NULL, Exp::print(), DecodeResult::rtl, SWITCH_PENT, SWITCH_SPARC, and BinaryFile::UnLoad(). Referenced by registerTests(). |
|
Definition at line 267 of file RtlTest.cpp. References StatementList::append(), Location::global(), Location::local(), Location::memOf(), NULL, opGtr, opPlus, opTern, RTL::print(), Location::regOf(), CallStatement::setArguments(), CallStatement::setCalleeReturn(), RTL::setConscripts(), and CallStatement::setDestProc(). Referenced by registerTests(). |
|
Definition at line 147 of file RtlTest.cpp. References StmtVisitorStub::a, Statement::accept(), Assign::accept(), BoolAssign::accept(), ReturnStatement::accept(), CallStatement::accept(), CaseStatement::accept(), BranchStatement::accept(), GotoStatement::accept(), RTL::accept(), StmtVisitorStub::b, StmtVisitorStub::c, StmtVisitorStub::d, StmtVisitorStub::e, StmtVisitorStub::f, StmtVisitorStub::g, and StmtVisitorStub::h. Referenced by registerTests(). |