#include <CacheSimulator.h>
Inheritance diagram for CacheSimulator:
Public Member Functions | |
CacheSimulator (XCoffFile *xcoff, char *extension, uint32_t phaseNo, char *blockFile, bool countBB=false, bool loopIncl=false) | |
virtual | ~CacheSimulator () |
void | selectInstrumentationPoints (char *blockFile) |
uint32_t | maxByteCountPerInst () |
uint32_t | byteCountForInst (uint32_t instPointIdx, uint64_t instStubAddress, TextSection *textSect) |
uint32_t | generateCodeForInst (uint32_t instPointIdx, uint64_t instStubAddress, TextSection *textSect, BaseGen *gen, uint32_t genBufferOffset) |
uint32_t | bytesPerBufferEntry () |
uint32_t | howManyBufferEntry () |
bool | filterBlockForInst (BasicBlock *bb) |
char * | getSharedLibFuncName (uint32_t i) |
char * | getGenClassName () |
uint32_t | spaceForBlockInfo () |
void | getSharedLibraryPathAndObj (char **path, char **name, char **obj) |
void | initializeReservedData (DataSection *dataSect, BaseGen *gen) |
int32_t | getExtraBlockInfoAddress (uint32_t idx) |
void | setLoopInclusion (bool flg) |
char * | additionalInfoToPrint () |
Protected Attributes | |
bool | enableBBCounting |
bool | enableLoopInclusion |
char * | additionalInfo |
|
Definition at line 12 of file CacheSimulator.C. |
|
Definition at line 14 of file CacheSimulator.h. References additionalInfo. |
|
Reimplemented from CommonMethods. Definition at line 59 of file CacheSimulator.h. References additionalInfo. |
|
|
Reimplemented from CommonMethods. Definition at line 22 of file CacheSimulator.h. Referenced by generateCodeForInst(). |
|
Reimplemented from CommonMethods. Definition at line 557 of file CacheSimulator.C. References BasicBlock::getNumOfMemoryOps(), BasicBlock::isJumpTable(), and BasicBlock::isTrace(). Referenced by selectInstrumentationPoints(). |
|
|
Definition at line 48 of file CacheSimulator.h. References enableBBCounting. Referenced by byteCountForInst(), and generateCodeForInst(). |
|
Reimplemented from XCoffFileGen. Definition at line 35 of file CacheSimulator.h. References enableBBCounting. |
|
Reimplemented from XCoffFileGen. Definition at line 26 of file CacheSimulator.h. References ASSERT, and CommonMethods::getNumOfSharedLibFuncs(). |
|
Reimplemented from XCoffFileGen. Definition at line 567 of file CacheSimulator.C. References ASSERT, enableBBCounting, XCoffFileGen::getPathToInstLib(), and XCoffFile::is64Bit(). |
|
Reimplemented from CommonMethods. Definition at line 24 of file CacheSimulator.h. References BUFFER_SIZE. |
|
Reimplemented from XCoffFileGen. Definition at line 586 of file CacheSimulator.C. References enableBBCounting, BasicBlock::getNumOfMemoryOps(), RawSection::getSectHeader(), BaseGen::writeHalfWord(), and BaseGen::writeString(). |
|
Reimplemented from XCoffFileGen. Definition at line 18 of file CacheSimulator.h. Referenced by generateCodeForInst(). |
|
|
Definition at line 58 of file CacheSimulator.h. References enableLoopInclusion. |
|
Reimplemented from CommonMethods. Definition at line 36 of file CacheSimulator.h. References enableBBCounting. |
|
Definition at line 10 of file CacheSimulator.h. Referenced by additionalInfoToPrint(), selectInstrumentationPoints(), and ~CacheSimulator(). |
|
Definition at line 8 of file CacheSimulator.h. Referenced by byteCountForInst(), generateCodeForInst(), getExtraBlockInfoAddress(), getGenClassName(), getSharedLibraryPathAndObj(), initializeReservedData(), and spaceForBlockInfo(). |
|
Definition at line 9 of file CacheSimulator.h. Referenced by selectInstrumentationPoints(), and setLoopInclusion(). |