LLVM 17.0.0git
|
#include "llvm/ProfileData/InstrProf.h"
Public Member Functions | |
size_t | size () const |
uint64_t | formatVersion () const |
Static Public Member Functions | |
static Expected< Header > | readFromBuffer (const unsigned char *Buffer) |
Public Attributes | |
uint64_t | Magic |
uint64_t | Version |
uint64_t | Unused |
uint64_t | HashType |
uint64_t | HashOffset |
uint64_t | MemProfOffset |
uint64_t | BinaryIdOffset |
Definition at line 1066 of file InstrProf.h.
uint64_t llvm::IndexedInstrProf::Header::formatVersion | ( | ) | const |
|
static |
Definition at line 1356 of file InstrProf.cpp.
References llvm::bad_magic, BinaryIdOffset, llvm::IndexedInstrProf::CurrentVersion, H, HashOffset, HashType, llvm::IndexedInstrProf::Magic, Magic, MemProfOffset, llvm::IndexedInstrProf::offsetOf(), llvm::IndexedInstrProf::read(), llvm::unsupported_version, Version, and llvm::IndexedInstrProf::Version9.
Referenced by llvm::IndexedInstrProfReader::readHeader().
size_t llvm::IndexedInstrProf::Header::size | ( | ) | const |
Definition at line 1396 of file InstrProf.cpp.
References BinaryIdOffset, llvm::IndexedInstrProf::CurrentVersion, formatVersion(), HashOffset, MemProfOffset, llvm::IndexedInstrProf::offsetOf(), and llvm::IndexedInstrProf::Version9.
uint64_t llvm::IndexedInstrProf::Header::BinaryIdOffset |
Definition at line 1073 of file InstrProf.h.
Referenced by readFromBuffer(), and size().
uint64_t llvm::IndexedInstrProf::Header::HashOffset |
Definition at line 1071 of file InstrProf.h.
Referenced by readFromBuffer(), and size().
uint64_t llvm::IndexedInstrProf::Header::HashType |
Definition at line 1070 of file InstrProf.h.
Referenced by readFromBuffer().
uint64_t llvm::IndexedInstrProf::Header::Magic |
Definition at line 1067 of file InstrProf.h.
Referenced by readFromBuffer().
uint64_t llvm::IndexedInstrProf::Header::MemProfOffset |
Definition at line 1072 of file InstrProf.h.
Referenced by readFromBuffer(), and size().
uint64_t llvm::IndexedInstrProf::Header::Unused |
Definition at line 1069 of file InstrProf.h.
uint64_t llvm::IndexedInstrProf::Header::Version |
Definition at line 1068 of file InstrProf.h.
Referenced by formatVersion(), and readFromBuffer().