LLVM
15.0.0git
|
Classes | |
struct | Header |
struct | Summary |
Enumerations | |
enum | HashT : uint32_t { HashT::MD5, HashT::Last = MD5 } |
enum | ProfVersion { Version1 = 1, Version2 = 2, Version3 = 3, Version4 = 4, Version5 = 5, Version6 = 6, Version7 = 7, Version8 = 8, CurrentVersion = INSTR_PROF_INDEX_VERSION } |
Functions | |
uint64_t | ComputeHash (StringRef K) |
uint64_t | ComputeHash (HashT Type, StringRef K) |
std::unique_ptr< Summary > | allocSummary (uint32_t TotalSize) |
template<typename T1 , typename T2 > | |
constexpr size_t | offsetOf (T1 T2::*Member) |
static uint64_t | read (const unsigned char *Buffer, size_t Offset) |
Variables | |
const uint64_t | Magic = 0x8169666f72706cff |
const uint64_t | Version = ProfVersion::CurrentVersion |
const HashT | HashType = HashT::MD5 |
|
strong |
Enumerator | |
---|---|
MD5 | |
Last |
Definition at line 983 of file InstrProf.h.
Enumerator | |
---|---|
Version1 | |
Version2 | |
Version3 | |
Version4 | |
Version5 | |
Version6 | |
Version7 | |
Version8 | |
CurrentVersion |
Definition at line 998 of file InstrProf.h.
Definition at line 1139 of file InstrProf.h.
Definition at line 988 of file InstrProf.h.
References llvm_unreachable, MD5, and llvm::MD5Hash().
Definition at line 1031 of file InstrProf.h.
References HashType.
Referenced by llvm::InstrProfSymtab::addFuncName(), llvm::InstrProfCorrelatorImpl< IntPtrT >::addProbe(), llvm::InstrProfRecordWriterTrait::ComputeHash(), and llvm::InstrProfLookupTrait::ComputeHash().
|
inlineconstexpr |
Definition at line 1314 of file InstrProf.cpp.
References llvm::Object.
Referenced by llvm::IndexedInstrProf::Header::readFromBuffer(), and llvm::IndexedInstrProf::Header::size().
|
inlinestatic |
Definition at line 1319 of file InstrProf.cpp.
Referenced by llvm::IndexedInstrProf::Header::readFromBuffer().
const HashT llvm::IndexedInstrProf::HashType = HashT::MD5 |
Definition at line 1029 of file InstrProf.h.
Referenced by ComputeHash().
Definition at line 996 of file InstrProf.h.
Referenced by llvm::IndexedInstrProfReader::hasFormat(), and llvm::IndexedInstrProf::Header::readFromBuffer().
Definition at line 1027 of file InstrProf.h.