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

CountAllBlocks Class Reference

#include <CountAllBlocks.h>

Inheritance diagram for CountAllBlocks:

XCoffFileGen List of all members.

Public Member Functions

 CountAllBlocks (XCoffFile *xcoff, char *extension, uint32_t phaseNo)
virtual ~CountAllBlocks ()
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)
void reserveDataForInstrumentation ()
int32_t getDataOffsetForInst (uint32_t idx)
uint32_t getNumOfSharedLibFuncs ()
uint32_t byteCountForSharedLibFuncWrappers ()
void setAddrOfSharedLibFuncWrapper (uint32_t i, uint64_t addr)
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 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)
uint64_t getSharedLibFuncAddrLocation (uint32_t i)
BasicBlockfindTerminationBlock ()
uint32_t generateSharedLibFuncWrapper (uint32_t libFuncIdx, uint64_t funcCallAddr, uint32_t genBufferOffset, BaseGen *gen)
int32_t getCommentAddressOffset ()
void verify (uint32_t written)
void printInstrumentationPoints ()

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

Static Protected Attributes

char * staticPrintExtension = "static"

Constructor & Destructor Documentation

CountAllBlocks::CountAllBlocks XCoffFile xcoff,
char *  extension,
uint32_t  phaseNo
 

Definition at line 12 of file CountAllBlocks.C.

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

Definition at line 45 of file CountAllBlocks.h.


Member Function Documentation

uint32_t CountAllBlocks::byteCountForInst uint32_t  instPointIdx,
uint64_t  instStubAddress,
TextSection textSect
[virtual]
 

Reimplemented from XCoffFileGen.

Definition at line 62 of file CountAllBlocks.C.

References ASSERT, blocksToInstrument, BasicBlock::findFirstInstPoint(), getDataOffsetForInst(), RawSection::inRange(), Instruction::isInJumpInsnRange(), Instruction::isInLoadOffsetInsnRange(), SECOND_HALFWORD, terminationBlock, and tocXorUpdateVal.

uint32_t CountAllBlocks::byteCountForSharedLibFuncWrappers  )  [inline, virtual]
 

Reimplemented from XCoffFileGen.

Definition at line 72 of file CountAllBlocks.h.

References getNumOfSharedLibFuncs().

Referenced by generateSharedLibFuncWrapper().

uint32_t CountAllBlocks::bytesPerBufferEntry  )  [inline]
 

Definition at line 53 of file CountAllBlocks.h.

Referenced by generateCodeForInst(), and reserveDataForInstrumentation().

bool CountAllBlocks::filterBlockForInst BasicBlock bb  ) 
 

Definition at line 245 of file CountAllBlocks.C.

References BasicBlock::isJumpTable(), and BasicBlock::isTrace().

Referenced by selectInstrumentationPoints().

BasicBlock * CountAllBlocks::findTerminationBlock  ) 
 

Definition at line 385 of file CountAllBlocks.C.

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

Referenced by selectInstrumentationPoints().

uint32_t CountAllBlocks::generateCodeForInst uint32_t  instPointIdx,
uint64_t  instStubAddress,
TextSection textSect,
BaseGen gen,
uint32_t  genBufferOffset
[virtual]
 

Reimplemented from XCoffFileGen.

Definition at line 103 of file CountAllBlocks.C.

References ASSERT, Instruction::bits(), blocksToInstrument, bytesPerBufferEntry(), BasicBlock::findFirstInstPoint(), generateFuncCallFull(), Instruction::generateIncrement(), Instruction::generateJumpInsn(), Instruction::generateLoad32BitHigh(), Instruction::generateLoad32BitLow(), Instruction::generateLoadDouble(), Instruction::generateLoadDoubleIndx(), Instruction::generateLoadWord(), Instruction::generateLoadWordIndx(), Instruction::generateStoreDouble(), Instruction::generateStoreDoubleIndx(), Instruction::generateStoreWord(), Instruction::generateStoreWordIndx(), getDataOffsetForInst(), getGPRSaveOffset(), BasicBlock::getHashCode(), BasicBlock::getInstructionIterator(), BaseGen::getParsedBase(), RawSection::getSectHeader(), HashCode::getValue(), RawSection::inRange(), Instruction::isInJumpInsnRange(), Instruction::isInLoadOffsetInsnRange(), LAST_VOLATILE_REG, libraryFuncStubAddrs, maxByteCountPerInst(), PRINT_INFOR, RawSection::readInstruction(), REG_TOC, AddressIterator::skipTo(), terminationBlock, updateTOCRegister(), BaseGen::writeInstructions(), and BaseGen::writeWord().

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

Definition at line 512 of file CountAllBlocks.C.

References Instruction::generateCallToImmediate(), Instruction::generateLoadDouble(), Instruction::generateLoadWord(), Instruction::generateMoveFromCR(), Instruction::generateMoveFromSPR(), Instruction::generateMoveToCR(), Instruction::generateMoveToSPR(), Instruction::generateStoreDouble(), Instruction::generateStoreWord(), getCRSaveOffset(), getLNKSaveOffset(), REG_LNK, REG_TOC, and updateTOCRegister().

Referenced by generateCodeForInst().

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

Reimplemented from XCoffFileGen.

Definition at line 546 of file CountAllBlocks.C.

References ASSERT, byteCountForSharedLibFuncWrappers(), execTOCAddress, Instruction::generateCallToCTR(), Instruction::generateIncrement(), Instruction::generateLoad32BitHigh(), Instruction::generateLoad32BitLow(), Instruction::generateLoadDouble(), Instruction::generateLoadDoubleFloat(), Instruction::generateLoadWord(), Instruction::generateLoadWordFloat(), Instruction::generateMoveFromFPSCR(), Instruction::generateMoveFromSPR(), Instruction::generateMoveReg(), Instruction::generateMoveToFPSCR(), Instruction::generateMoveToSPR(), Instruction::generateReturnToLnk(), Instruction::generateSPIncrementDouble(), Instruction::generateSPIncrementWord(), Instruction::generateStoreDouble(), Instruction::generateStoreDoubleFloat(), Instruction::generateStoreWordFloat(), getCommentAddressOffset(), getCTRSaveOffset(), XCoffFileGen::getDataBufferEntryCount(), getDataOffsetForInst(), getEXRSaveOffset(), getFPRSaveOffset(), getFPSCRSaveOffset(), getGPRSaveOffset(), XCoffFile::is64Bit(), LAST_VOLATILE_REG, REG_CTR, REG_LNK, REG_TOC, REG_XER, SAFE_FRAME_LOC, tocDistUpdateVal, updateTOCRegister(), and BaseGen::writeInstructions().

int32_t CountAllBlocks::getCommentAddressOffset  )  [inline]
 

Definition at line 120 of file CountAllBlocks.h.

References commentAddress, execTOCAddress, and tocDistUpdateVal.

Referenced by generateSharedLibFuncWrapper().

int32_t CountAllBlocks::getCRSaveOffset  )  [inline]
 

Definition at line 81 of file CountAllBlocks.h.

References execTOCAddress, saveAddressCondReg, and tocDistUpdateVal.

Referenced by generateFuncCallFull().

int32_t CountAllBlocks::getCTRSaveOffset  )  [inline]
 

Definition at line 90 of file CountAllBlocks.h.

References execTOCAddress, saveAddressCtrReg, and tocDistUpdateVal.

Referenced by generateSharedLibFuncWrapper().

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

Reimplemented from XCoffFileGen.

Definition at line 67 of file CountAllBlocks.h.

References dataBufferAddress, execTOCAddress, and tocDistUpdateVal.

Referenced by byteCountForInst(), generateCodeForInst(), and generateSharedLibFuncWrapper().

int32_t CountAllBlocks::getEXRSaveOffset  )  [inline]
 

Definition at line 87 of file CountAllBlocks.h.

References execTOCAddress, saveAddressExpReg, and tocDistUpdateVal.

Referenced by generateSharedLibFuncWrapper().

int32_t CountAllBlocks::getFPRSaveOffset uint32_t  reg  )  [inline]
 

Definition at line 78 of file CountAllBlocks.h.

References execTOCAddress, saveAddressFprRegs, and tocDistUpdateVal.

Referenced by generateSharedLibFuncWrapper().

int32_t CountAllBlocks::getFPSCRSaveOffset  )  [inline]
 

Definition at line 84 of file CountAllBlocks.h.

References execTOCAddress, saveAddressFPCondReg, and tocDistUpdateVal.

Referenced by generateSharedLibFuncWrapper().

char* CountAllBlocks::getGenClassName  )  [inline, virtual]
 

Reimplemented from XCoffFileGen.

Definition at line 60 of file CountAllBlocks.h.

Referenced by printInstrumentationPoints().

int32_t CountAllBlocks::getGPRSaveOffset uint32_t  reg  )  [inline]
 

Definition at line 75 of file CountAllBlocks.h.

References execTOCAddress, saveAddressGprRegs, and tocDistUpdateVal.

Referenced by generateCodeForInst(), and generateSharedLibFuncWrapper().

BasicBlock** CountAllBlocks::getInstBlocks  )  [inline]
 

Definition at line 96 of file CountAllBlocks.h.

References blocksToInstrument.

int32_t CountAllBlocks::getLNKSaveOffset  )  [inline]
 

Definition at line 93 of file CountAllBlocks.h.

References execTOCAddress, saveAddressLinkReg, and tocDistUpdateVal.

Referenced by generateFuncCallFull().

uint32_t CountAllBlocks::getNumOfSharedLibFuncs  )  [inline, virtual]
 

Reimplemented from XCoffFileGen.

Definition at line 71 of file CountAllBlocks.h.

References libraryFunctionCount.

Referenced by byteCountForSharedLibFuncWrappers(), getSharedLibFuncAddrLocation(), getSharedLibFuncName(), and reserveDataForInstrumentation().

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

Reimplemented from XCoffFileGen.

Definition at line 112 of file CountAllBlocks.h.

References ASSERT, getNumOfSharedLibFuncs(), and libraryFunctionStubAddrLocs.

char* CountAllBlocks::getSharedLibFuncName uint32_t  i  )  [inline, virtual]
 

Reimplemented from XCoffFileGen.

Definition at line 56 of file CountAllBlocks.h.

References ASSERT, and getNumOfSharedLibFuncs().

void CountAllBlocks::getSharedLibraryPathAndObj char **  path,
char **  name,
char **  obj
[virtual]
 

Reimplemented from XCoffFileGen.

Definition at line 253 of file CountAllBlocks.C.

References ASSERT, XCoffFileGen::getPathToInstLib(), and XCoffFile::is64Bit().

uint32_t CountAllBlocks::howManyBufferEntry  )  [inline]
 

Definition at line 54 of file CountAllBlocks.h.

Referenced by printInstrumentationPoints(), and reserveDataForInstrumentation().

void CountAllBlocks::initializeReservedData DataSection dataSect,
BaseGen gen
[virtual]
 

Reimplemented from XCoffFileGen.

Definition at line 379 of file CountAllBlocks.C.

References commentAddress, RawSection::getSectHeader(), sharedLibraryInfoStr, and BaseGen::writeString().

uint32_t CountAllBlocks::maxByteCountPerInst  )  [inline, virtual]
 

Reimplemented from XCoffFileGen.

Definition at line 49 of file CountAllBlocks.h.

Referenced by generateCodeForInst().

void CountAllBlocks::printInstrumentationPoints  )  [virtual]
 

Reimplemented from XCoffFileGen.

Definition at line 430 of file CountAllBlocks.C.

References __MAX_STRING_SIZE, blocksToInstrument, Function::getAllSymbolNames(), Function::getBaseAddress(), XCoffFileGen::getFileExtension(), LineInfoFinder::getFileName(), XCoffFile::getFileSize(), getGenClassName(), BasicBlock::getHashCode(), Function::getInstructionCount(), BasicBlock::getInstructionCount(), TextSection::getLineInfoFinder(), LineInfoFinder::getLineNumberInFile(), XCoffFile::getNumberOfBlocks(), BasicBlock::getNumOfFloatPOps(), BasicBlock::getNumOfMemoryOps(), XCoffFileGen::getPhaseIndex(), XCoffFile::getRawSection(), XCoffFile::getTextSectionIndex(), HashCode::getValue(), XCoffFile::getXCoffFileName(), howManyBufferEntry(), PRINT_ERROR, and staticPrintExtension.

void CountAllBlocks::reserveDataForInstrumentation  )  [virtual]
 

Reimplemented from XCoffFileGen.

Definition at line 265 of file CountAllBlocks.C.

References __MAX_STRING_SIZE, bytesPerBufferEntry(), commentAddress, dataBufferAddress, execTOCAddress, extendedBeginAddr, 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, tocDistUpdateVal, and tocXorUpdateVal.

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

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

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

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

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

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

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

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

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

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

void CountAllBlocks::selectInstrumentationPoints char *  blockFile  )  [virtual]
 

Reimplemented from XCoffFileGen.

Definition at line 21 of file CountAllBlocks.C.

References ASSERT, blocksToInstrument, filterBlockForInst(), findTerminationBlock(), XCoffFile::getAllBlocks(), BasicBlock::getHashCode(), XCoffFile::getNumberOfBlocks(), HashCode::getValue(), numOfBlocksFiltered, PRINT_DEBUG, PRINT_ERROR, PRINT_INFOR, and terminationBlock.

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

Reimplemented from XCoffFileGen.

Definition at line 73 of file CountAllBlocks.h.

References ASSERT, libraryFuncStubAddrs, and libraryFunctionCount.

uint32_t CountAllBlocks::spaceForBlockInfo  )  [inline]
 

Definition at line 61 of file CountAllBlocks.h.

void CountAllBlocks::updateTOCRegister Instruction insnBuffer,
uint32_t *  insnIndex
 

Definition at line 501 of file CountAllBlocks.C.

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

Referenced by generateCodeForInst(), generateFuncCallFull(), and generateSharedLibFuncWrapper().

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

Reimplemented from XCoffFileGen.

Definition at line 123 of file CountAllBlocks.h.


Member Data Documentation

BasicBlock** CountAllBlocks::blocksToInstrument [protected]
 

Definition at line 11 of file CountAllBlocks.h.

Referenced by byteCountForInst(), generateCodeForInst(), getInstBlocks(), printInstrumentationPoints(), and selectInstrumentationPoints().

uint64_t CountAllBlocks::commentAddress [protected]
 

Definition at line 38 of file CountAllBlocks.h.

Referenced by getCommentAddressOffset(), initializeReservedData(), and reserveDataForInstrumentation().

uint64_t CountAllBlocks::dataBufferAddress [protected]
 

Definition at line 36 of file CountAllBlocks.h.

Referenced by getDataOffsetForInst(), and reserveDataForInstrumentation().

uint64_t CountAllBlocks::execTOCAddress [protected]
 

Definition at line 19 of file CountAllBlocks.h.

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

uint64_t CountAllBlocks::extendedBeginAddr [protected]
 

Definition at line 17 of file CountAllBlocks.h.

Referenced by reserveDataForInstrumentation().

uint64_t CountAllBlocks::libraryFuncStubAddrs[4] [protected]
 

Definition at line 24 of file CountAllBlocks.h.

Referenced by generateCodeForInst(), and setAddrOfSharedLibFuncWrapper().

uint32_t CountAllBlocks::libraryFunctionCount [protected]
 

Definition at line 9 of file CountAllBlocks.h.

Referenced by getNumOfSharedLibFuncs(), and setAddrOfSharedLibFuncWrapper().

uint64_t CountAllBlocks::libraryFunctionStubAddrLocs[4] [protected]
 

Definition at line 23 of file CountAllBlocks.h.

Referenced by getSharedLibFuncAddrLocation(), and reserveDataForInstrumentation().

uint32_t CountAllBlocks::numOfBlocksFiltered [protected]
 

Definition at line 13 of file CountAllBlocks.h.

Referenced by selectInstrumentationPoints().

uint64_t CountAllBlocks::saveAddressCondReg [protected]
 

Definition at line 26 of file CountAllBlocks.h.

Referenced by getCRSaveOffset(), and reserveDataForInstrumentation().

uint64_t CountAllBlocks::saveAddressCtrReg [protected]
 

Definition at line 30 of file CountAllBlocks.h.

Referenced by getCTRSaveOffset(), and reserveDataForInstrumentation().

uint64_t CountAllBlocks::saveAddressExpReg [protected]
 

Definition at line 31 of file CountAllBlocks.h.

Referenced by getEXRSaveOffset(), and reserveDataForInstrumentation().

uint64_t CountAllBlocks::saveAddressFPCondReg [protected]
 

Definition at line 27 of file CountAllBlocks.h.

Referenced by getFPSCRSaveOffset(), and reserveDataForInstrumentation().

uint64_t CountAllBlocks::saveAddressFprRegs [protected]
 

Definition at line 34 of file CountAllBlocks.h.

Referenced by getFPRSaveOffset(), and reserveDataForInstrumentation().

uint64_t CountAllBlocks::saveAddressGprRegs [protected]
 

Definition at line 33 of file CountAllBlocks.h.

Referenced by getGPRSaveOffset(), and reserveDataForInstrumentation().

uint64_t CountAllBlocks::saveAddressLinkReg [protected]
 

Definition at line 29 of file CountAllBlocks.h.

Referenced by getLNKSaveOffset(), and reserveDataForInstrumentation().

char* CountAllBlocks::sharedLibraryInfoStr [protected]
 

Definition at line 39 of file CountAllBlocks.h.

Referenced by initializeReservedData(), and reserveDataForInstrumentation().

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

Definition at line 10 of file CountAllBlocks.C.

Referenced by printInstrumentationPoints().

BasicBlock* CountAllBlocks::terminationBlock [protected]
 

Definition at line 12 of file CountAllBlocks.h.

Referenced by byteCountForInst(), generateCodeForInst(), and selectInstrumentationPoints().

uint32_t CountAllBlocks::tocDistUpdateVal [protected]
 

Definition at line 21 of file CountAllBlocks.h.

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

uint32_t CountAllBlocks::tocXorUpdateVal [protected]
 

Definition at line 20 of file CountAllBlocks.h.

Referenced by byteCountForInst(), 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