LLVM 18.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 |
uint64_t | TemporalProfTracesOffset |
Definition at line 1035 of file InstrProf.h.
uint64_t llvm::IndexedInstrProf::Header::formatVersion | ( | ) | const |
|
static |
Definition at line 1495 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(), TemporalProfTracesOffset, llvm::unsupported_version, Version, and llvm::IndexedInstrProf::Version11.
Referenced by llvm::IndexedInstrProfReader::readHeader().
size_t llvm::IndexedInstrProf::Header::size | ( | ) | const |
Definition at line 1542 of file InstrProf.cpp.
References BinaryIdOffset, llvm::IndexedInstrProf::CurrentVersion, formatVersion(), HashOffset, MemProfOffset, llvm::IndexedInstrProf::offsetOf(), TemporalProfTracesOffset, and llvm::IndexedInstrProf::Version11.
uint64_t llvm::IndexedInstrProf::Header::BinaryIdOffset |
Definition at line 1042 of file InstrProf.h.
Referenced by readFromBuffer(), and size().
uint64_t llvm::IndexedInstrProf::Header::HashOffset |
Definition at line 1040 of file InstrProf.h.
Referenced by readFromBuffer(), and size().
uint64_t llvm::IndexedInstrProf::Header::HashType |
Definition at line 1039 of file InstrProf.h.
Referenced by readFromBuffer().
uint64_t llvm::IndexedInstrProf::Header::Magic |
Definition at line 1036 of file InstrProf.h.
Referenced by readFromBuffer().
uint64_t llvm::IndexedInstrProf::Header::MemProfOffset |
Definition at line 1041 of file InstrProf.h.
Referenced by readFromBuffer(), and size().
uint64_t llvm::IndexedInstrProf::Header::TemporalProfTracesOffset |
Definition at line 1043 of file InstrProf.h.
Referenced by readFromBuffer(), and size().
uint64_t llvm::IndexedInstrProf::Header::Unused |
Definition at line 1038 of file InstrProf.h.
uint64_t llvm::IndexedInstrProf::Header::Version |
Definition at line 1037 of file InstrProf.h.
Referenced by formatVersion(), and readFromBuffer().