LLVM 22.0.0git
|
#include "llvm/ProfileData/InstrProf.h"
Public Member Functions | |
LLVM_ABI size_t | size () const |
LLVM_ABI uint64_t | getIndexedProfileVersion () const |
Static Public Member Functions | |
static LLVM_ABI Expected< Header > | readFromBuffer (const unsigned char *Buffer) |
Public Attributes | |
uint64_t | Magic = IndexedInstrProf::Magic |
uint64_t | Version = 0 |
uint64_t | Unused = 0 |
uint64_t | HashType = static_cast<uint64_t>(IndexedInstrProf::HashType) |
uint64_t | HashOffset = 0 |
uint64_t | MemProfOffset = 0 |
uint64_t | BinaryIdOffset = 0 |
uint64_t | TemporalProfTracesOffset = 0 |
uint64_t | VTableNamesOffset = 0 |
Definition at line 1189 of file InstrProf.h.
uint64_t llvm::IndexedInstrProf::Header::getIndexedProfileVersion | ( | ) | const |
Definition at line 1716 of file InstrProf.cpp.
References GET_VERSION, and Version.
Referenced by size().
|
static |
Definition at line 1676 of file InstrProf.cpp.
References llvm::bad_magic, llvm::IndexedInstrProf::CurrentVersion, H, llvm::IndexedInstrProf::Magic, llvm::make_error(), llvm::support::endian::readNext(), llvm::unsupported_version, and llvm::IndexedInstrProf::Version12.
Referenced by llvm::IndexedInstrProfReader::readHeader().
size_t llvm::IndexedInstrProf::Header::size | ( | ) | const |
Definition at line 1720 of file InstrProf.cpp.
References llvm::IndexedInstrProf::CurrentVersion, getIndexedProfileVersion(), and llvm::IndexedInstrProf::Version12.
Referenced by llvm::IndexedInstrProfReader::readHeader().
uint64_t llvm::IndexedInstrProf::Header::BinaryIdOffset = 0 |
Definition at line 1202 of file InstrProf.h.
uint64_t llvm::IndexedInstrProf::Header::HashOffset = 0 |
Definition at line 1200 of file InstrProf.h.
uint64_t llvm::IndexedInstrProf::Header::HashType = static_cast<uint64_t>(IndexedInstrProf::HashType) |
Definition at line 1196 of file InstrProf.h.
uint64_t llvm::IndexedInstrProf::Header::Magic = IndexedInstrProf::Magic |
Definition at line 1190 of file InstrProf.h.
uint64_t llvm::IndexedInstrProf::Header::MemProfOffset = 0 |
Definition at line 1201 of file InstrProf.h.
uint64_t llvm::IndexedInstrProf::Header::TemporalProfTracesOffset = 0 |
Definition at line 1203 of file InstrProf.h.
uint64_t llvm::IndexedInstrProf::Header::Unused = 0 |
Definition at line 1195 of file InstrProf.h.
uint64_t llvm::IndexedInstrProf::Header::Version = 0 |
Definition at line 1194 of file InstrProf.h.
Referenced by getIndexedProfileVersion().
uint64_t llvm::IndexedInstrProf::Header::VTableNamesOffset = 0 |
Definition at line 1204 of file InstrProf.h.