LLVM  15.0.0git
Static Public Member Functions | Public Attributes | List of all members
llvm::InstrProfCorrelator::Context Struct Reference

#include "llvm/ProfileData/InstrProfCorrelator.h"

Collaboration diagram for llvm::InstrProfCorrelator::Context:
Collaboration graph
[legend]

Static Public Member Functions

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

Public Attributes

std::unique_ptr< MemoryBufferBuffer
 
uint64_t CountersSectionStart
 The address range of the __llvm_prf_cnts section. More...
 
uint64_t CountersSectionEnd
 
bool ShouldSwapBytes
 True if target and host have different endian orders. More...
 

Detailed Description

Definition at line 62 of file InstrProfCorrelator.h.

Member Function Documentation

◆ get()

llvm::Expected< std::unique_ptr< InstrProfCorrelator::Context > > InstrProfCorrelator::Context::get ( std::unique_ptr< MemoryBuffer Buffer,
const object::ObjectFile Obj 
)
static

Definition at line 40 of file InstrProfCorrelator.cpp.

References getCountersSection().

Member Data Documentation

◆ Buffer

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

Definition at line 65 of file InstrProfCorrelator.h.

◆ CountersSectionEnd

uint64_t llvm::InstrProfCorrelator::Context::CountersSectionEnd

Definition at line 68 of file InstrProfCorrelator.h.

◆ CountersSectionStart

uint64_t llvm::InstrProfCorrelator::Context::CountersSectionStart

The address range of the __llvm_prf_cnts section.

Definition at line 67 of file InstrProfCorrelator.h.

◆ ShouldSwapBytes

bool llvm::InstrProfCorrelator::Context::ShouldSwapBytes

True if target and host have different endian orders.

Definition at line 70 of file InstrProfCorrelator.h.


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