LLVM 19.0.0git
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
llvm::IndexedInstrProf::Header Struct Reference

#include "llvm/ProfileData/InstrProf.h"

Public Member Functions

size_t size () const
 
uint64_t getIndexedProfileVersion () const
 

Static Public Member Functions

static 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 1117 of file InstrProf.h.

Member Function Documentation

◆ getIndexedProfileVersion()

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

Definition at line 1688 of file InstrProf.cpp.

References Version.

Referenced by size().

◆ readFromBuffer()

Expected< Header > llvm::IndexedInstrProf::Header::readFromBuffer ( const unsigned char Buffer)
static

◆ size()

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

Member Data Documentation

◆ BinaryIdOffset

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

Definition at line 1130 of file InstrProf.h.

◆ HashOffset

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

Definition at line 1128 of file InstrProf.h.

◆ HashType

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

Definition at line 1124 of file InstrProf.h.

◆ Magic

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

Definition at line 1118 of file InstrProf.h.

◆ MemProfOffset

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

Definition at line 1129 of file InstrProf.h.

◆ TemporalProfTracesOffset

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

Definition at line 1131 of file InstrProf.h.

◆ Unused

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

Definition at line 1123 of file InstrProf.h.

◆ Version

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

Definition at line 1122 of file InstrProf.h.

Referenced by getIndexedProfileVersion().

◆ VTableNamesOffset

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

Definition at line 1132 of file InstrProf.h.


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