LLVM 22.0.0git
llvm::InstrProfCorrelator::Context Struct Reference

#include "llvm/ProfileData/InstrProfCorrelator.h"

Static Public Member Functions

static LLVM_ABI llvm::Expected< std::unique_ptr< Context > > get (std::unique_ptr< MemoryBuffer > Buffer, const object::ObjectFile &Obj, ProfCorrelatorKind FileKind)

Public Attributes

std::unique_ptr< MemoryBufferBuffer
uint64_t CountersSectionStart
 The address range of the __llvm_prf_cnts section.
uint64_t CountersSectionEnd
const charDataStart
 The pointer points to start/end of profile data/name sections if FileKind is Binary.
const charDataEnd
const charNameStart
size_t NameSize
bool ShouldSwapBytes
 True if target and host have different endian orders.

Detailed Description

Definition at line 78 of file InstrProfCorrelator.h.

Member Function Documentation

◆ get()

Member Data Documentation

◆ Buffer

std::unique_ptr<MemoryBuffer> llvm::InstrProfCorrelator::Context::Buffer

Definition at line 82 of file InstrProfCorrelator.h.

Referenced by get().

◆ CountersSectionEnd

uint64_t llvm::InstrProfCorrelator::Context::CountersSectionEnd

Definition at line 85 of file InstrProfCorrelator.h.

◆ CountersSectionStart

uint64_t llvm::InstrProfCorrelator::Context::CountersSectionStart

The address range of the __llvm_prf_cnts section.

Definition at line 84 of file InstrProfCorrelator.h.

◆ DataEnd

const char* llvm::InstrProfCorrelator::Context::DataEnd

Definition at line 89 of file InstrProfCorrelator.h.

◆ DataStart

const char* llvm::InstrProfCorrelator::Context::DataStart

The pointer points to start/end of profile data/name sections if FileKind is Binary.

Definition at line 88 of file InstrProfCorrelator.h.

◆ NameSize

size_t llvm::InstrProfCorrelator::Context::NameSize

Definition at line 91 of file InstrProfCorrelator.h.

◆ NameStart

const char* llvm::InstrProfCorrelator::Context::NameStart

Definition at line 90 of file InstrProfCorrelator.h.

◆ ShouldSwapBytes

bool llvm::InstrProfCorrelator::Context::ShouldSwapBytes

True if target and host have different endian orders.

Definition at line 93 of file InstrProfCorrelator.h.


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