|
LLVM
3.7.0
|
Trait for lookups into the on-disk hash table for the binary instrprof format. More...
#include <InstrProfReader.h>
Public Types | |
| typedef ArrayRef< InstrProfRecord > | data_type |
| typedef StringRef | internal_key_type |
| typedef StringRef | external_key_type |
| typedef uint64_t | hash_value_type |
| typedef uint64_t | offset_type |
Public Member Functions | |
| InstrProfLookupTrait (IndexedInstrProf::HashT HashType, unsigned FormatVersion) | |
| hash_value_type | ComputeHash (StringRef K) |
| StringRef | ReadKey (const unsigned char *D, offset_type N) |
| data_type | ReadData (StringRef K, const unsigned char *D, offset_type N) |
Static Public Member Functions | |
| static bool | EqualKey (StringRef A, StringRef B) |
| static StringRef | GetInternalKey (StringRef K) |
| static std::pair< offset_type, offset_type > | ReadKeyDataLength (const unsigned char *&D) |
Trait for lookups into the on-disk hash table for the binary instrprof format.
Definition at line 194 of file InstrProfReader.h.
Definition at line 203 of file InstrProfReader.h.
Definition at line 206 of file InstrProfReader.h.
| typedef uint64_t llvm::InstrProfLookupTrait::hash_value_type |
Definition at line 207 of file InstrProfReader.h.
Definition at line 205 of file InstrProfReader.h.
| typedef uint64_t llvm::InstrProfLookupTrait::offset_type |
Definition at line 208 of file InstrProfReader.h.
|
inline |
Definition at line 200 of file InstrProfReader.h.
Referenced by llvm::IndexedInstrProfReader::readHeader().
| InstrProfLookupTrait::hash_value_type InstrProfLookupTrait::ComputeHash | ( | StringRef | K | ) |
Definition at line 298 of file InstrProfReader.cpp.
References llvm::IndexedInstrProf::ComputeHash().
Definition at line 210 of file InstrProfReader.h.
Definition at line 211 of file InstrProfReader.h.
| data_type InstrProfLookupTrait::ReadData | ( | StringRef | K, |
| const unsigned char * | D, | ||
| offset_type | N | ||
| ) |
Definition at line 305 of file InstrProfReader.cpp.
References fuzzer::Hash(), and I.
|
inline |
Definition at line 223 of file InstrProfReader.h.
|
inlinestatic |
Definition at line 216 of file InstrProfReader.h.
1.8.6