LLVM API Documentation
#include <InstrProfReader.h>
Classes | |
| struct | data_type |
Public Types | |
| 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) | |
| 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 208 of file InstrProfReader.h.
Definition at line 221 of file InstrProfReader.h.
| typedef uint64_t llvm::InstrProfLookupTrait::hash_value_type |
Definition at line 222 of file InstrProfReader.h.
Definition at line 220 of file InstrProfReader.h.
| typedef uint64_t llvm::InstrProfLookupTrait::offset_type |
Definition at line 223 of file InstrProfReader.h.
| llvm::InstrProfLookupTrait::InstrProfLookupTrait | ( | IndexedInstrProf::HashT | HashType | ) | [inline] |
Definition at line 212 of file InstrProfReader.h.
Definition at line 285 of file InstrProfReader.cpp.
| static bool llvm::InstrProfLookupTrait::EqualKey | ( | StringRef | A, |
| StringRef | B | ||
| ) | [inline, static] |
Definition at line 225 of file InstrProfReader.h.
| static StringRef llvm::InstrProfLookupTrait::GetInternalKey | ( | StringRef | K | ) | [inline, static] |
Definition at line 226 of file InstrProfReader.h.
| data_type llvm::InstrProfLookupTrait::ReadData | ( | StringRef | K, |
| const unsigned char * | D, | ||
| offset_type | N | ||
| ) | [inline] |
Definition at line 242 of file InstrProfReader.h.
References I.
| StringRef llvm::InstrProfLookupTrait::ReadKey | ( | const unsigned char * | D, |
| offset_type | N | ||
| ) | [inline] |
Definition at line 238 of file InstrProfReader.h.
| static std::pair<offset_type, offset_type> llvm::InstrProfLookupTrait::ReadKeyDataLength | ( | const unsigned char *& | D | ) | [inline, static] |
Definition at line 231 of file InstrProfReader.h.