LLVM  15.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
 

Detailed Description

Definition at line 1035 of file InstrProf.h.

Member Function Documentation

◆ formatVersion()

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

Definition at line 1323 of file InstrProf.cpp.

References support(), and Version.

Referenced by llvm::IndexedInstrProfReader::readHeader(), and size().

◆ readFromBuffer()

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

◆ size()

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

Member Data Documentation

◆ HashOffset

uint64_t llvm::IndexedInstrProf::Header::HashOffset

Definition at line 1040 of file InstrProf.h.

Referenced by readFromBuffer(), llvm::IndexedInstrProfReader::readHeader(), and size().

◆ HashType

uint64_t llvm::IndexedInstrProf::Header::HashType

Definition at line 1039 of file InstrProf.h.

Referenced by readFromBuffer(), and llvm::IndexedInstrProfReader::readHeader().

◆ Magic

uint64_t llvm::IndexedInstrProf::Header::Magic

Definition at line 1036 of file InstrProf.h.

Referenced by readFromBuffer().

◆ MemProfOffset

uint64_t llvm::IndexedInstrProf::Header::MemProfOffset

Definition at line 1041 of file InstrProf.h.

Referenced by readFromBuffer(), llvm::IndexedInstrProfReader::readHeader(), and size().

◆ Unused

uint64_t llvm::IndexedInstrProf::Header::Unused

Definition at line 1038 of file InstrProf.h.

◆ Version

uint64_t llvm::IndexedInstrProf::Header::Version

Definition at line 1037 of file InstrProf.h.

Referenced by formatVersion(), and readFromBuffer().


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