LLVM 17.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"

Collaboration diagram for llvm::IndexedInstrProf::Header:
Collaboration graph
[legend]

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
 

Detailed Description

Definition at line 1066 of file InstrProf.h.

Member Function Documentation

◆ formatVersion()

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

Definition at line 1351 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 1073 of file InstrProf.h.

Referenced by readFromBuffer(), and size().

◆ HashOffset

uint64_t llvm::IndexedInstrProf::Header::HashOffset

Definition at line 1071 of file InstrProf.h.

Referenced by readFromBuffer(), and size().

◆ HashType

uint64_t llvm::IndexedInstrProf::Header::HashType

Definition at line 1070 of file InstrProf.h.

Referenced by readFromBuffer().

◆ Magic

uint64_t llvm::IndexedInstrProf::Header::Magic

Definition at line 1067 of file InstrProf.h.

Referenced by readFromBuffer().

◆ MemProfOffset

uint64_t llvm::IndexedInstrProf::Header::MemProfOffset

Definition at line 1072 of file InstrProf.h.

Referenced by readFromBuffer(), and size().

◆ Unused

uint64_t llvm::IndexedInstrProf::Header::Unused

Definition at line 1069 of file InstrProf.h.

◆ Version

uint64_t llvm::IndexedInstrProf::Header::Version

Definition at line 1068 of file InstrProf.h.

Referenced by formatVersion(), and readFromBuffer().


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