|
LLVM
10.0.0
|
Trait for lookups into the on-disk hash table for the binary instrprof format. More...
#include "llvm/ProfileData/InstrProfReader.h"
Public Types | |
| using | data_type = ArrayRef< NamedInstrProfRecord > |
| using | internal_key_type = StringRef |
| using | external_key_type = StringRef |
| using | hash_value_type = uint64_t |
| using | offset_type = uint64_t |
Public Member Functions | |
| InstrProfLookupTrait (IndexedInstrProf::HashT HashType, unsigned FormatVersion) | |
| hash_value_type | ComputeHash (StringRef K) |
| StringRef | ReadKey (const unsigned char *D, offset_type N) |
| bool | readValueProfilingData (const unsigned char *&D, const unsigned char *const End) |
| data_type | ReadData (StringRef K, const unsigned char *D, offset_type N) |
| void | setValueProfDataEndianness (support::endianness Endianness) |
Static Public Member Functions | |
| static bool | EqualKey (StringRef A, StringRef B) |
| static StringRef | GetInternalKey (StringRef K) |
| static StringRef | GetExternalKey (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 298 of file InstrProfReader.h.
Definition at line 311 of file InstrProfReader.h.
Definition at line 314 of file InstrProfReader.h.
| using llvm::InstrProfLookupTrait::hash_value_type = uint64_t |
Definition at line 315 of file InstrProfReader.h.
Definition at line 313 of file InstrProfReader.h.
| using llvm::InstrProfLookupTrait::offset_type = uint64_t |
Definition at line 316 of file InstrProfReader.h.
|
inline |
Definition at line 308 of file InstrProfReader.h.
| InstrProfLookupTrait::hash_value_type InstrProfLookupTrait::ComputeHash | ( | StringRef | K | ) |
Definition at line 510 of file InstrProfReader.cpp.
References llvm::IndexedInstrProf::ComputeHash(), and llvm::IndexedInstrProf::HashType.
Definition at line 318 of file InstrProfReader.h.
References B.
Definition at line 320 of file InstrProfReader.h.
References llvm::IndexedInstrProf::ComputeHash().
Definition at line 319 of file InstrProfReader.h.
Definition at line 531 of file InstrProfReader.cpp.
|
inline |
Definition at line 333 of file InstrProfReader.h.
References D.
|
inlinestatic |
Definition at line 325 of file InstrProfReader.h.
References D.
| bool InstrProfLookupTrait::readValueProfilingData | ( | const unsigned char *& | D, |
| const unsigned char *const | End | ||
| ) |
Definition at line 517 of file InstrProfReader.cpp.
|
inline |
Definition at line 342 of file InstrProfReader.h.
References llvm::msgpack::Endianness.
1.8.13