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

HashCode Class Reference

#include <Base.h>

List of all members.

Public Member Functions

uint64_t getValue ()
 HashCode ()
 HashCode (uint64_t a)
 HashCode (uint32_t s)
 HashCode (uint32_t s, uint32_t f)
 HashCode (uint32_t s, uint32_t f, uint32_t b)
 HashCode (uint32_t s, uint32_t f, uint32_t b, uint32_t m)
bool isSection ()
bool isFunction ()
bool isBlock ()
bool isMemop ()
bool isValid ()
uint32_t getSection ()
uint32_t getFunction ()
uint32_t getBlock ()
uint32_t getMemop ()

Private Member Functions

bool hasSection ()
bool hasFunction ()
bool hasBlock ()
bool hasMemop ()

Static Private Member Functions

bool validSection (uint32_t s)
bool validFunction (uint32_t f)
bool validBlock (uint32_t b)
bool validMemop (uint32_t m)

Private Attributes

HashCodeEntry entry

Static Private Attributes

const uint64_t INVALID_FIELD = 0


Constructor & Destructor Documentation

HashCode::HashCode  )  [inline]
 

Definition at line 228 of file Base.h.

References HashCode::HashCodeEntry::bits, entry, and INVALID_FIELD.

HashCode::HashCode uint64_t  a  )  [inline]
 

Definition at line 229 of file Base.h.

References HashCode::HashCodeEntry::bits, and entry.

HashCode::HashCode uint32_t  s  ) 
 

Definition at line 32 of file Base.C.

References HashCode::HashCodeEntry::bits, entry, HashCode::HashCodeEntry::fields, INVALID_FIELD, and validSection().

HashCode::HashCode uint32_t  s,
uint32_t  f
 

Definition at line 42 of file Base.C.

References HashCode::HashCodeEntry::bits, entry, HashCode::HashCodeEntry::fields, INVALID_FIELD, validFunction(), and validSection().

HashCode::HashCode uint32_t  s,
uint32_t  f,
uint32_t  b
 

Definition at line 52 of file Base.C.

References HashCode::HashCodeEntry::bits, entry, HashCode::HashCodeEntry::fields, INVALID_FIELD, validBlock(), validFunction(), and validSection().

HashCode::HashCode uint32_t  s,
uint32_t  f,
uint32_t  b,
uint32_t  m
 

Definition at line 62 of file Base.C.

References HashCode::HashCodeEntry::bits, entry, HashCode::HashCodeEntry::fields, INVALID_FIELD, validBlock(), validFunction(), validMemop(), and validSection().


Member Function Documentation

uint32_t HashCode::getBlock  )  [inline]
 

Definition at line 244 of file Base.h.

References entry, HashCode::HashCodeEntry::fields, hasBlock(), and INVALID_FIELD.

Referenced by XCoffFile::findBasicBlock().

uint32_t HashCode::getFunction  )  [inline]
 

Definition at line 243 of file Base.h.

References entry, HashCode::HashCodeEntry::fields, hasFunction(), and INVALID_FIELD.

Referenced by XCoffFile::findBasicBlock().

uint32_t HashCode::getMemop  )  [inline]
 

Definition at line 245 of file Base.h.

References entry, HashCode::HashCodeEntry::fields, hasMemop(), and INVALID_FIELD.

uint32_t HashCode::getSection  )  [inline]
 

Definition at line 242 of file Base.h.

References entry, and HashCode::HashCodeEntry::fields.

Referenced by XCoffFile::findBasicBlock().

uint64_t HashCode::getValue  )  [inline]
 

Definition at line 226 of file Base.h.

References HashCode::HashCodeEntry::bits, and entry.

Referenced by BasicBlockTracer::byteCountForInst(), CountAllBlocks::generateCodeForInst(), BasicBlockTracer::generateCodeForInst(), BasicBlockCounter::generateCodeForInst(), FlowGraph::print(), MemoryOperation::print(), CountAllBlocks::printInstrumentationPoints(), CommonMethods::printInstrumentationPoints(), CountAllBlocks::selectInstrumentationPoints(), CacheSimulator::selectInstrumentationPoints(), BasicBlockTracer::selectInstrumentationPoints(), and BasicBlockCounter::selectInstrumentationPoints().

bool HashCode::hasBlock  )  [inline, private]
 

Definition at line 217 of file Base.h.

References entry, HashCode::HashCodeEntry::fields, and INVALID_FIELD.

Referenced by getBlock(), isBlock(), isFunction(), isMemop(), and isSection().

bool HashCode::hasFunction  )  [inline, private]
 

Definition at line 216 of file Base.h.

References entry, HashCode::HashCodeEntry::fields, and INVALID_FIELD.

Referenced by getFunction(), isBlock(), isFunction(), isMemop(), and isSection().

bool HashCode::hasMemop  )  [inline, private]
 

Definition at line 218 of file Base.h.

References entry, HashCode::HashCodeEntry::fields, and INVALID_FIELD.

Referenced by getMemop(), isBlock(), isFunction(), isMemop(), and isSection().

bool HashCode::hasSection  )  [inline, private]
 

Definition at line 215 of file Base.h.

References entry, HashCode::HashCodeEntry::fields, and INVALID_FIELD.

Referenced by isBlock(), isFunction(), isMemop(), and isSection().

bool HashCode::isBlock  )  [inline]
 

Definition at line 238 of file Base.h.

References hasBlock(), hasFunction(), hasMemop(), and hasSection().

Referenced by XCoffFile::findBasicBlock(), isValid(), CacheSimulator::selectInstrumentationPoints(), and BasicBlock::setIndex().

bool HashCode::isFunction  )  [inline]
 

Definition at line 237 of file Base.h.

References hasBlock(), hasFunction(), hasMemop(), and hasSection().

Referenced by Function::Function(), and isValid().

bool HashCode::isMemop  )  [inline]
 

Definition at line 239 of file Base.h.

References hasBlock(), hasFunction(), hasMemop(), and hasSection().

Referenced by isValid().

bool HashCode::isSection  )  [inline]
 

Definition at line 236 of file Base.h.

References hasBlock(), hasFunction(), hasMemop(), and hasSection().

Referenced by isValid(), and RawSection::RawSection().

bool HashCode::isValid  )  [inline]
 

Definition at line 240 of file Base.h.

References isBlock(), isFunction(), isMemop(), and isSection().

bool HashCode::validBlock uint32_t  b  )  [inline, static, private]
 

Definition at line 222 of file Base.h.

Referenced by HashCode().

bool HashCode::validFunction uint32_t  f  )  [inline, static, private]
 

Definition at line 221 of file Base.h.

Referenced by HashCode().

bool HashCode::validMemop uint32_t  m  )  [inline, static, private]
 

Definition at line 223 of file Base.h.

Referenced by HashCode().

bool HashCode::validSection uint32_t  s  )  [inline, static, private]
 

Definition at line 220 of file Base.h.

Referenced by HashCode().


Member Data Documentation

HashCodeEntry HashCode::entry [private]
 

Definition at line 213 of file Base.h.

Referenced by getBlock(), getFunction(), getMemop(), getSection(), getValue(), hasBlock(), hasFunction(), HashCode(), hasMemop(), and hasSection().

const uint64_t HashCode::INVALID_FIELD = 0 [static, private]
 

Definition at line 211 of file Base.h.

Referenced by getBlock(), getFunction(), getMemop(), hasBlock(), hasFunction(), HashCode(), hasMemop(), and hasSection().


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