Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

CommonMethods Class Reference

#include <CommonMethods.h>

Inheritance diagram for CommonMethods:

XCoffFileGen BasicBlockCounter BasicBlockTracer CacheSimulator List of all members.

Public Member Functions

virtual ~CommonMethods ()
BasicBlockfindTerminationBlock ()
uint32_t getNumOfSharedLibFuncs ()
uint32_t byteCountForSharedLibFuncWrappers ()
void setAddrOfSharedLibFuncWrapper (uint32_t i, uint64_t addr)
uint32_t generateSharedLibFuncWrapper (uint32_t libFuncIdx, uint64_t funcCallAddr, uint32_t genBufferOffset, BaseGen *gen)
uint64_t getSharedLibFuncAddrLocation (uint32_t i)
int32_t getDataOffsetForInst (uint32_t idx)
int32_t getCommentAddressOffset ()
void verify (uint32_t written)
int32_t getGPRSaveOffset (uint32_t reg)
int32_t getFPRSaveOffset (uint32_t reg)
int32_t getCRSaveOffset ()
int32_t getFPSCRSaveOffset ()
int32_t getEXRSaveOffset ()
int32_t getCTRSaveOffset ()
int32_t getLNKSaveOffset ()
BasicBlock ** getInstBlocks ()
void printInstrumentationPoints ()
void reserveDataForInstrumentation ()
virtual uint32_t bytesPerBufferEntry ()
virtual uint32_t howManyBufferEntry ()
virtual bool filterBlockForInst (BasicBlock *bb)
virtual uint32_t spaceForBlockInfo ()
void updateTOCRegister (Instruction *insnBuffer, uint32_t *insnIndex)
void saveCTRRegister (Instruction *insnBuffer, uint32_t *insnIndex, uint32_t reg)
void restCTRRegister (Instruction *insnBuffer, uint32_t *insnIndex, uint32_t reg)
void saveEXRRegister (Instruction *insnBuffer, uint32_t *insnIndex, uint32_t reg)
void restEXRRegister (Instruction *insnBuffer, uint32_t *insnIndex, uint32_t reg)
void saveFPSCRRegister (Instruction *insnBuffer, uint32_t *insnIndex, uint32_t reg)
void restFPSCRRegister (Instruction *insnBuffer, uint32_t *insnIndex, uint32_t reg)
void saveCRRegister (Instruction *insnBuffer, uint32_t *insnIndex, uint32_t reg)
void restCRRegister (Instruction *insnBuffer, uint32_t *insnIndex, uint32_t reg)
void saveLNKRegister (Instruction *insnBuffer, uint32_t *insnIndex, uint32_t reg)
void restLNKRegister (Instruction *insnBuffer, uint32_t *insnIndex, uint32_t reg)
void generateFuncCallFull (Instruction *insnBuffer, uint32_t *insnIndex, uint32_t reg, uint64_t stubAddr, uint64_t funcAddr)
virtual char * additionalInfoToPrint ()
void setExtendedPrint (bool flg)
bool isExtendedPrint ()

Protected Member Functions

 CommonMethods (XCoffFile *xcoff, char *extension, uint32_t phaseNo, uint32_t callCount, char *inpFile)

Protected Attributes

uint32_t libraryFunctionCount
BasicBlock ** blocksToInstrument
BasicBlockterminationBlock
uint32_t numOfBlocksFiltered
uint64_t extendedBeginAddr
uint64_t execTOCAddress
uint32_t tocXorUpdateVal
uint32_t tocDistUpdateVal
uint64_t libraryFunctionStubAddrLocs [4]
uint64_t libraryFuncStubAddrs [4]
uint64_t saveAddressCondReg
uint64_t saveAddressFPCondReg
uint64_t saveAddressLinkReg
uint64_t saveAddressCtrReg
uint64_t saveAddressExpReg
uint64_t saveAddressGprRegs
uint64_t saveAddressFprRegs
uint64_t dataBufferAddress
uint64_t commentAddress
char * sharedLibraryInfoStr
uint64_t extraBlockInfoAddress
char * sharedLibraryPath
bool enableExtendedPrint

Static Protected Attributes

char * staticPrintExtension = "static"

Constructor & Destructor Documentation

CommonMethods::CommonMethods XCoffFile xcoff,
char *  extension,
uint32_t  phaseNo,
uint32_t  callCount,
char *  inpFile
[protected]
 

Definition at line 14 of file CommonMethods.C.

virtual CommonMethods::~CommonMethods  )  [inline, virtual]
 

Definition at line 52 of file CommonMethods.h.


Member Function Documentation

virtual char* CommonMethods::additionalInfoToPrint  )  [inline, virtual]
 

Reimplemented in CacheSimulator.

Definition at line 120 of file CommonMethods.h.

Referenced by printInstrumentationPoints().

uint32_t CommonMethods::byteCountForSharedLibFuncWrappers  )  [inline, virtual]
 

Reimplemented from XCoffFileGen.

Definition at line 57 of file CommonMethods.h.

References getNumOfSharedLibFuncs().

Referenced by generateSharedLibFuncWrapper(), and BasicBlockTracer::generateSharedLibFuncWrapper().

virtual uint32_t CommonMethods::bytesPerBufferEntry  )  [inline, virtual]
 

Reimplemented in BasicBlockCounter, and CacheSimulator.

Definition at line 101 of file CommonMethods.h.

References __SHOULD_NOT_ARRIVE.

Referenced by getDataOffsetForInst(), and reserveDataForInstrumentation().

virtual bool CommonMethods::filterBlockForInst BasicBlock bb  )  [inline, virtual]
 

Reimplemented in BasicBlockCounter, BasicBlockTracer, and CacheSimulator.

Definition at line 103 of file CommonMethods.h.

References __SHOULD_NOT_ARRIVE.

BasicBlock * CommonMethods::findTerminationBlock  ) 
 

Definition at line 23 of file CommonMethods.C.

References XCoffFile::getAllBlocks(), BasicBlock::getFlowGraph(), FlowGraph::getFunction(), BasicBlock::getIndex(), XCoffFile::getNumberOfBlocks(), Function::isAnySymbolA(), BasicBlock::isJumpTable(), BasicBlock::isTrace(), and PRINT_INFOR.

Referenced by CacheSimulator::selectInstrumentationPoints(), BasicBlockTracer::selectInstrumentationPoints(), and BasicBlockCounter::selectInstrumentationPoints().

void CommonMethods::generateFuncCallFull Instruction insnBuffer,
uint32_t *  insnIndex,
uint32_t  reg,
uint64_t  stubAddr,
uint64_t  funcAddr
 

Definition at line 351 of file CommonMethods.C.

References Instruction::generateCallToImmediate(), restCRRegister(), restLNKRegister(), saveCRRegister(), saveLNKRegister(), and updateTOCRegister().

Referenced by BasicBlockTracer::generateCodeForInst(), and BasicBlockCounter::generateCodeForInst().

uint32_t CommonMethods::generateSharedLibFuncWrapper uint32_t  libFuncIdx,
uint64_t  funcCallAddr,
uint32_t  genBufferOffset,
BaseGen gen
[virtual]
 

Reimplemented from XCoffFileGen.

Reimplemented in BasicBlockTracer.

Definition at line 371 of file CommonMethods.C.

References ASSERT, byteCountForSharedLibFuncWrappers(), execTOCAddress, Instruction::generateCallToCTR(), Instruction::generateIncrement(), Instruction::generateLoad32BitHigh(), Instruction::generateLoad32BitLow(), Instruction::generateLoadDouble(), Instruction::generateLoadDoubleFloat(), Instruction::generateLoadWord(), Instruction::generateMoveFromSPR(), Instruction::generateMoveReg(), Instruction::generateMoveToSPR(), Instruction::generateReturnToLnk(), Instruction::generateSPIncrementDouble(), Instruction::generateSPIncrementWord(), Instruction::generateStoreDouble(), Instruction::generateStoreDoubleFloat(), getCommentAddressOffset(), XCoffFileGen::getDataBufferEntryCount(), getDataOffsetForInst(), getFPRSaveOffset(), getGPRSaveOffset(), XCoffFile::is64Bit(), LAST_VOLATILE_REG, REG_CTR, REG_LNK, REG_TOC, restCTRRegister(), restEXRRegister(), restFPSCRRegister(), SAFE_FRAME_LOC, saveCTRRegister(), saveEXRRegister(), saveFPSCRRegister(), tocDistUpdateVal, updateTOCRegister(), and BaseGen::writeInstructions().

int32_t CommonMethods::getCommentAddressOffset  )  [inline]
 

Definition at line 70 of file CommonMethods.h.

References commentAddress, execTOCAddress, and tocDistUpdateVal.

Referenced by generateSharedLibFuncWrapper().

int32_t CommonMethods::getCRSaveOffset  )  [inline]
 

Definition at line 81 of file CommonMethods.h.

References execTOCAddress, saveAddressCondReg, and tocDistUpdateVal.

Referenced by restCRRegister(), and saveCRRegister().

int32_t CommonMethods::getCTRSaveOffset  )  [inline]
 

Definition at line 90 of file CommonMethods.h.

References execTOCAddress, saveAddressCtrReg, and tocDistUpdateVal.

Referenced by restCTRRegister(), and saveCTRRegister().

int32_t CommonMethods::getDataOffsetForInst uint32_t  idx  )  [inline, virtual]
 

Reimplemented from XCoffFileGen.

Definition at line 67 of file CommonMethods.h.

References bytesPerBufferEntry(), dataBufferAddress, execTOCAddress, and tocDistUpdateVal.

Referenced by CacheSimulator::byteCountForInst(), BasicBlockCounter::byteCountForInst(), CacheSimulator::generateCodeForInst(), BasicBlockCounter::generateCodeForInst(), and generateSharedLibFuncWrapper().

int32_t CommonMethods::getEXRSaveOffset  )  [inline]
 

Definition at line 87 of file CommonMethods.h.

References execTOCAddress, saveAddressExpReg, and tocDistUpdateVal.

Referenced by restEXRRegister(), and saveEXRRegister().

int32_t CommonMethods::getFPRSaveOffset uint32_t  reg  )  [inline]
 

Definition at line 78 of file CommonMethods.h.

References execTOCAddress, saveAddressFprRegs, and tocDistUpdateVal.

Referenced by generateSharedLibFuncWrapper(), and BasicBlockTracer::generateSharedLibFuncWrapper().

int32_t CommonMethods::getFPSCRSaveOffset  )  [inline]
 

Definition at line 84 of file CommonMethods.h.

References execTOCAddress, saveAddressFPCondReg, and tocDistUpdateVal.

Referenced by restFPSCRRegister(), and saveFPSCRRegister().

int32_t CommonMethods::getGPRSaveOffset uint32_t  reg  )  [inline]
 

Definition at line 75 of file CommonMethods.h.

References execTOCAddress, saveAddressGprRegs, and tocDistUpdateVal.

Referenced by CacheSimulator::generateCodeForInst(), BasicBlockTracer::generateCodeForInst(), BasicBlockCounter::generateCodeForInst(), generateSharedLibFuncWrapper(), and BasicBlockTracer::generateSharedLibFuncWrapper().

BasicBlock** CommonMethods::getInstBlocks  )  [inline]
 

Definition at line 96 of file CommonMethods.h.

References blocksToInstrument.

int32_t CommonMethods::getLNKSaveOffset  )  [inline]
 

Definition at line 93 of file CommonMethods.h.

References execTOCAddress, saveAddressLinkReg, and tocDistUpdateVal.

Referenced by restLNKRegister(), and saveLNKRegister().

uint32_t CommonMethods::getNumOfSharedLibFuncs  )  [inline, virtual]
 

Reimplemented from XCoffFileGen.

Definition at line 56 of file CommonMethods.h.

References libraryFunctionCount.

Referenced by byteCountForSharedLibFuncWrappers(), getSharedLibFuncAddrLocation(), CacheSimulator::getSharedLibFuncName(), BasicBlockTracer::getSharedLibFuncName(), BasicBlockCounter::getSharedLibFuncName(), reserveDataForInstrumentation(), and BasicBlockTracer::reserveDataForInstrumentation().

uint64_t CommonMethods::getSharedLibFuncAddrLocation uint32_t  i  )  [inline, virtual]
 

Reimplemented from XCoffFileGen.

Definition at line 63 of file CommonMethods.h.

References ASSERT, getNumOfSharedLibFuncs(), and libraryFunctionStubAddrLocs.

virtual uint32_t CommonMethods::howManyBufferEntry  )  [inline, virtual]
 

Reimplemented in BasicBlockCounter, BasicBlockTracer, and CacheSimulator.

Definition at line 102 of file CommonMethods.h.

References __SHOULD_NOT_ARRIVE.

Referenced by printInstrumentationPoints(), and reserveDataForInstrumentation().

bool CommonMethods::isExtendedPrint  )  [inline]
 

Definition at line 123 of file CommonMethods.h.

References enableExtendedPrint.

Referenced by printInstrumentationPoints().

void CommonMethods::printInstrumentationPoints  )  [virtual]
 

Reimplemented from XCoffFileGen.

Definition at line 76 of file CommonMethods.C.

References __MAX_STRING_SIZE, additionalInfoToPrint(), blocksToInstrument, Function::getAllSymbolNames(), BasicBlock::getBaseAddress(), XCoffFileGen::getFileExtension(), LineInfoFinder::getFileName(), XCoffFile::getFileSize(), BasicBlock::getFlowGraph(), FlowGraph::getFunction(), XCoffFileGen::getGenClassName(), BasicBlock::getHashCode(), Loop::getIndex(), BasicBlock::getIndex(), BasicBlock::getInstructionCount(), VersionTag::getLibraryVersionTag(), TextSection::getLineInfoFinder(), LineInfoFinder::getLineNumberInFile(), FlowGraph::getLoop(), XCoffFile::getNumberOfBlocks(), FlowGraph::getNumberOfLoops(), BasicBlock::getNumOfFloatPOps(), BasicBlock::getNumOfMemoryOps(), XCoffFileGen::getPathToInstLib(), XCoffFileGen::getPhaseIndex(), XCoffFile::getRawSection(), XCoffFile::getTextSectionIndex(), HashCode::getValue(), XCoffFile::getXCoffFileName(), howManyBufferEntry(), Invalid_UInteger_ID, Loop::isBlockIn(), isExtendedPrint(), PRINT_ERROR, and staticPrintExtension.

void CommonMethods::reserveDataForInstrumentation  )  [virtual]
 

Reimplemented from XCoffFileGen.

Reimplemented in BasicBlockTracer.

Definition at line 178 of file CommonMethods.C.

References __MAX_STRING_SIZE, bytesPerBufferEntry(), commentAddress, dataBufferAddress, execTOCAddress, extendedBeginAddr, extraBlockInfoAddress, XCoffFile::getDataSectionSize(), XCoffFile::getDataSectionVAddr(), XCoffFileGen::getFileExtension(), XCoffFileGen::getNumberOfInstPoints(), getNumOfSharedLibFuncs(), XCoffFileGen::getPhaseIndex(), XCoffFile::getTOCAddress(), XCoffFile::getXCoffFileName(), howManyBufferEntry(), XCoffFile::is64Bit(), Instruction::isInLoadOffsetInsnRange(), libraryFunctionStubAddrLocs, nextAlignAddressDouble(), nextAlignAddressWord(), NUM_OF_FPR_REGS, NUM_OF_GPR_REGS, PRINT_INFOR, saveAddressCondReg, saveAddressCtrReg, saveAddressExpReg, saveAddressFPCondReg, saveAddressFprRegs, saveAddressGprRegs, saveAddressLinkReg, sharedLibraryInfoStr, spaceForBlockInfo(), tocDistUpdateVal, and tocXorUpdateVal.

void CommonMethods::restCRRegister Instruction insnBuffer,
uint32_t *  insnIndex,
uint32_t  reg
 

Definition at line 334 of file CommonMethods.C.

References Instruction::generateLoadWord(), Instruction::generateMoveToCR(), getCRSaveOffset(), and REG_TOC.

Referenced by CacheSimulator::generateCodeForInst(), and generateFuncCallFull().

void CommonMethods::restCTRRegister Instruction insnBuffer,
uint32_t *  insnIndex,
uint32_t  reg
 

Definition at line 304 of file CommonMethods.C.

References Instruction::generateLoadDouble(), Instruction::generateMoveToSPR(), getCTRSaveOffset(), REG_CTR, and REG_TOC.

Referenced by generateSharedLibFuncWrapper(), and BasicBlockTracer::generateSharedLibFuncWrapper().

void CommonMethods::restEXRRegister Instruction insnBuffer,
uint32_t *  insnIndex,
uint32_t  reg
 

Definition at line 314 of file CommonMethods.C.

References Instruction::generateLoadDouble(), Instruction::generateMoveToSPR(), getEXRSaveOffset(), REG_TOC, and REG_XER.

Referenced by generateSharedLibFuncWrapper(), and BasicBlockTracer::generateSharedLibFuncWrapper().

void CommonMethods::restFPSCRRegister Instruction insnBuffer,
uint32_t *  insnIndex,
uint32_t  reg
 

Definition at line 324 of file CommonMethods.C.

References Instruction::generateLoadWordFloat(), Instruction::generateMoveToFPSCR(), getFPSCRSaveOffset(), and REG_TOC.

Referenced by generateSharedLibFuncWrapper(), and BasicBlockTracer::generateSharedLibFuncWrapper().

void CommonMethods::restLNKRegister Instruction insnBuffer,
uint32_t *  insnIndex,
uint32_t  reg
 

Definition at line 344 of file CommonMethods.C.

References Instruction::generateLoadDouble(), Instruction::generateMoveToSPR(), getLNKSaveOffset(), REG_LNK, and REG_TOC.

Referenced by CacheSimulator::generateCodeForInst(), and generateFuncCallFull().

void CommonMethods::saveCRRegister Instruction insnBuffer,
uint32_t *  insnIndex,
uint32_t  reg
 

Definition at line 329 of file CommonMethods.C.

References Instruction::generateMoveFromCR(), Instruction::generateStoreWord(), getCRSaveOffset(), and REG_TOC.

Referenced by CacheSimulator::generateCodeForInst(), and generateFuncCallFull().

void CommonMethods::saveCTRRegister Instruction insnBuffer,
uint32_t *  insnIndex,
uint32_t  reg
 

Definition at line 299 of file CommonMethods.C.

References Instruction::generateMoveFromSPR(), Instruction::generateStoreDouble(), getCTRSaveOffset(), REG_CTR, and REG_TOC.

Referenced by generateSharedLibFuncWrapper(), and BasicBlockTracer::generateSharedLibFuncWrapper().

void CommonMethods::saveEXRRegister Instruction insnBuffer,
uint32_t *  insnIndex,
uint32_t  reg
 

Definition at line 309 of file CommonMethods.C.

References Instruction::generateMoveFromSPR(), Instruction::generateStoreDouble(), getEXRSaveOffset(), REG_TOC, and REG_XER.

Referenced by generateSharedLibFuncWrapper(), and BasicBlockTracer::generateSharedLibFuncWrapper().

void CommonMethods::saveFPSCRRegister Instruction insnBuffer,
uint32_t *  insnIndex,
uint32_t  reg
 

Definition at line 319 of file CommonMethods.C.

References Instruction::generateMoveFromFPSCR(), Instruction::generateStoreWordFloat(), getFPSCRSaveOffset(), and REG_TOC.

Referenced by generateSharedLibFuncWrapper(), and BasicBlockTracer::generateSharedLibFuncWrapper().

void CommonMethods::saveLNKRegister Instruction insnBuffer,
uint32_t *  insnIndex,
uint32_t  reg
 

Definition at line 339 of file CommonMethods.C.

References Instruction::generateMoveFromSPR(), Instruction::generateStoreDouble(), getLNKSaveOffset(), REG_LNK, and REG_TOC.

Referenced by CacheSimulator::generateCodeForInst(), and generateFuncCallFull().

void CommonMethods::setAddrOfSharedLibFuncWrapper uint32_t  i,
uint64_t  addr
[inline, virtual]
 

Reimplemented from XCoffFileGen.

Definition at line 58 of file CommonMethods.h.

References ASSERT, libraryFuncStubAddrs, and libraryFunctionCount.

void CommonMethods::setExtendedPrint bool  flg  )  [inline]
 

Definition at line 122 of file CommonMethods.h.

References enableExtendedPrint.

virtual uint32_t CommonMethods::spaceForBlockInfo  )  [inline, virtual]
 

Reimplemented in BasicBlockCounter, and CacheSimulator.

Definition at line 104 of file CommonMethods.h.

References __SHOULD_NOT_ARRIVE.

Referenced by reserveDataForInstrumentation().

void CommonMethods::updateTOCRegister Instruction insnBuffer,
uint32_t *  insnIndex
 

Definition at line 289 of file CommonMethods.C.

References FIRST_HALFWORD, Instruction::generateXorImm(), Instruction::generateXorImmShifted(), REG_TOC, SECOND_HALFWORD, and tocXorUpdateVal.

Referenced by CacheSimulator::generateCodeForInst(), BasicBlockTracer::generateCodeForInst(), BasicBlockCounter::generateCodeForInst(), generateFuncCallFull(), generateSharedLibFuncWrapper(), and BasicBlockTracer::generateSharedLibFuncWrapper().

void CommonMethods::verify uint32_t  written  )  [inline, virtual]
 

Reimplemented from XCoffFileGen.

Definition at line 73 of file CommonMethods.h.


Member Data Documentation

BasicBlock** CommonMethods::blocksToInstrument [protected]
 

Definition at line 11 of file CommonMethods.h.

Referenced by getInstBlocks(), and printInstrumentationPoints().

uint64_t CommonMethods::commentAddress [protected]
 

Definition at line 38 of file CommonMethods.h.

Referenced by getCommentAddressOffset(), and reserveDataForInstrumentation().

uint64_t CommonMethods::dataBufferAddress [protected]
 

Definition at line 36 of file CommonMethods.h.

Referenced by getDataOffsetForInst(), and reserveDataForInstrumentation().

bool CommonMethods::enableExtendedPrint [protected]
 

Definition at line 47 of file CommonMethods.h.

Referenced by isExtendedPrint(), and setExtendedPrint().

uint64_t CommonMethods::execTOCAddress [protected]
 

Definition at line 19 of file CommonMethods.h.

Referenced by generateSharedLibFuncWrapper(), getCommentAddressOffset(), getCRSaveOffset(), getCTRSaveOffset(), getDataOffsetForInst(), getEXRSaveOffset(), getFPRSaveOffset(), getFPSCRSaveOffset(), getGPRSaveOffset(), getLNKSaveOffset(), and reserveDataForInstrumentation().

uint64_t CommonMethods::extendedBeginAddr [protected]
 

Definition at line 17 of file CommonMethods.h.

Referenced by reserveDataForInstrumentation().

uint64_t CommonMethods::extraBlockInfoAddress [protected]
 

Definition at line 41 of file CommonMethods.h.

Referenced by reserveDataForInstrumentation().

uint64_t CommonMethods::libraryFuncStubAddrs[4] [protected]
 

Definition at line 24 of file CommonMethods.h.

Referenced by setAddrOfSharedLibFuncWrapper().

uint32_t CommonMethods::libraryFunctionCount [protected]
 

Definition at line 9 of file CommonMethods.h.

Referenced by getNumOfSharedLibFuncs(), and setAddrOfSharedLibFuncWrapper().

uint64_t CommonMethods::libraryFunctionStubAddrLocs[4] [protected]
 

Definition at line 23 of file CommonMethods.h.

Referenced by getSharedLibFuncAddrLocation(), and reserveDataForInstrumentation().

uint32_t CommonMethods::numOfBlocksFiltered [protected]
 

Definition at line 13 of file CommonMethods.h.

uint64_t CommonMethods::saveAddressCondReg [protected]
 

Definition at line 26 of file CommonMethods.h.

Referenced by getCRSaveOffset(), and reserveDataForInstrumentation().

uint64_t CommonMethods::saveAddressCtrReg [protected]
 

Definition at line 30 of file CommonMethods.h.

Referenced by getCTRSaveOffset(), and reserveDataForInstrumentation().

uint64_t CommonMethods::saveAddressExpReg [protected]
 

Definition at line 31 of file CommonMethods.h.

Referenced by getEXRSaveOffset(), and reserveDataForInstrumentation().

uint64_t CommonMethods::saveAddressFPCondReg [protected]
 

Definition at line 27 of file CommonMethods.h.

Referenced by getFPSCRSaveOffset(), and reserveDataForInstrumentation().

uint64_t CommonMethods::saveAddressFprRegs [protected]
 

Definition at line 34 of file CommonMethods.h.

Referenced by getFPRSaveOffset(), and reserveDataForInstrumentation().

uint64_t CommonMethods::saveAddressGprRegs [protected]
 

Definition at line 33 of file CommonMethods.h.

Referenced by getGPRSaveOffset(), and reserveDataForInstrumentation().

uint64_t CommonMethods::saveAddressLinkReg [protected]
 

Definition at line 29 of file CommonMethods.h.

Referenced by getLNKSaveOffset(), and reserveDataForInstrumentation().

char* CommonMethods::sharedLibraryInfoStr [protected]
 

Definition at line 39 of file CommonMethods.h.

Referenced by reserveDataForInstrumentation().

char* CommonMethods::sharedLibraryPath [protected]
 

Definition at line 45 of file CommonMethods.h.

char * CommonMethods::staticPrintExtension = "static" [static, protected]
 

Definition at line 12 of file CommonMethods.C.

Referenced by printInstrumentationPoints().

BasicBlock* CommonMethods::terminationBlock [protected]
 

Definition at line 12 of file CommonMethods.h.

uint32_t CommonMethods::tocDistUpdateVal [protected]
 

Definition at line 21 of file CommonMethods.h.

Referenced by generateSharedLibFuncWrapper(), getCommentAddressOffset(), getCRSaveOffset(), getCTRSaveOffset(), getDataOffsetForInst(), getEXRSaveOffset(), getFPRSaveOffset(), getFPSCRSaveOffset(), getGPRSaveOffset(), getLNKSaveOffset(), and reserveDataForInstrumentation().

uint32_t CommonMethods::tocXorUpdateVal [protected]
 

Definition at line 20 of file CommonMethods.h.

Referenced by reserveDataForInstrumentation(), and updateTOCRegister().


The documentation for this class was generated from the following files:
Generated on Mon Jan 28 11:08:38 2008 for PMaCInstrumentor by doxygen 1.3.5