LLVM 22.0.0git
llvm::IndexedInstrProf::Header Struct Reference

#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< HeaderreadFromBuffer (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

Detailed Description

Definition at line 1189 of file InstrProf.h.

Member Function Documentation

◆ getIndexedProfileVersion()

uint64_t llvm::IndexedInstrProf::Header::getIndexedProfileVersion ( ) const

Definition at line 1716 of file InstrProf.cpp.

References GET_VERSION, and Version.

Referenced by size().

◆ readFromBuffer()

◆ size()

size_t llvm::IndexedInstrProf::Header::size ( ) const

Member Data Documentation

◆ BinaryIdOffset

uint64_t llvm::IndexedInstrProf::Header::BinaryIdOffset = 0

Definition at line 1202 of file InstrProf.h.

◆ HashOffset

uint64_t llvm::IndexedInstrProf::Header::HashOffset = 0

Definition at line 1200 of file InstrProf.h.

◆ HashType

uint64_t llvm::IndexedInstrProf::Header::HashType = static_cast<uint64_t>(IndexedInstrProf::HashType)

Definition at line 1196 of file InstrProf.h.

◆ Magic

uint64_t llvm::IndexedInstrProf::Header::Magic = IndexedInstrProf::Magic

Definition at line 1190 of file InstrProf.h.

◆ MemProfOffset

uint64_t llvm::IndexedInstrProf::Header::MemProfOffset = 0

Definition at line 1201 of file InstrProf.h.

◆ TemporalProfTracesOffset

uint64_t llvm::IndexedInstrProf::Header::TemporalProfTracesOffset = 0

Definition at line 1203 of file InstrProf.h.

◆ Unused

uint64_t llvm::IndexedInstrProf::Header::Unused = 0

Definition at line 1195 of file InstrProf.h.

◆ Version

uint64_t llvm::IndexedInstrProf::Header::Version = 0

Definition at line 1194 of file InstrProf.h.

Referenced by getIndexedProfileVersion().

◆ VTableNamesOffset

uint64_t llvm::IndexedInstrProf::Header::VTableNamesOffset = 0

Definition at line 1204 of file InstrProf.h.


The documentation for this struct was generated from the following files: