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 formatVersion () const
 

Static Public Member Functions

static Expected< HeaderreadFromBuffer (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
 

Detailed Description

Definition at line 1051 of file InstrProf.h.

Member Function Documentation

◆ formatVersion()

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

Definition at line 1507 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

Definition at line 1058 of file InstrProf.h.

Referenced by readFromBuffer(), and size().

◆ HashOffset

uint64_t llvm::IndexedInstrProf::Header::HashOffset

Definition at line 1056 of file InstrProf.h.

Referenced by readFromBuffer(), and size().

◆ HashType

uint64_t llvm::IndexedInstrProf::Header::HashType

Definition at line 1055 of file InstrProf.h.

Referenced by readFromBuffer().

◆ Magic

uint64_t llvm::IndexedInstrProf::Header::Magic

Definition at line 1052 of file InstrProf.h.

Referenced by readFromBuffer().

◆ MemProfOffset

uint64_t llvm::IndexedInstrProf::Header::MemProfOffset

Definition at line 1057 of file InstrProf.h.

Referenced by readFromBuffer(), and size().

◆ TemporalProfTracesOffset

uint64_t llvm::IndexedInstrProf::Header::TemporalProfTracesOffset

Definition at line 1059 of file InstrProf.h.

Referenced by readFromBuffer(), and size().

◆ Unused

uint64_t llvm::IndexedInstrProf::Header::Unused

Definition at line 1054 of file InstrProf.h.

◆ Version

uint64_t llvm::IndexedInstrProf::Header::Version

Definition at line 1053 of file InstrProf.h.

Referenced by formatVersion(), and readFromBuffer().


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