class InstrProfReaderIndex

Declaration

template <typename HashTableImpl>
class InstrProfReaderIndex : public InstrProfReaderIndexBase { /* full declaration omitted */ };

Declared at: llvm/include/llvm/ProfileData/InstrProfReader.h:373

Inherits from: InstrProfReaderIndexBase

Templates

HashTableImpl

Method Overview

Inherited from InstrProfReaderIndexBase:

Methods

InstrProfReaderIndex<HashTableImpl>(
    const unsigned char* Buckets,
    const unsigned char* const Payload,
    const unsigned char* const Base,
    IndexedInstrProf::HashT HashType,
    uint64_t Version)

Declared at: llvm/include/llvm/ProfileData/InstrProfReader.h:382

Parameters

const unsigned char* Buckets
const unsigned char* const Payload
const unsigned char* const Base
IndexedInstrProf::HashT HashType
uint64_t Version

void advanceToNextKey()

Declared at: llvm/include/llvm/ProfileData/InstrProfReader.h:391

bool atEnd() const

Declared at: llvm/include/llvm/ProfileData/InstrProfReader.h:393

llvm::Error getRecords(
    ArrayRef<llvm::NamedInstrProfRecord>& Data)

Declared at: llvm/include/llvm/ProfileData/InstrProfReader.h:388

Parameters

ArrayRef<llvm::NamedInstrProfRecord>& Data

llvm::Error getRecords(
    llvm::StringRef FuncName,
    ArrayRef<llvm::NamedInstrProfRecord>& Data)

Declared at: llvm/include/llvm/ProfileData/InstrProfReader.h:389

Parameters

llvm::StringRef FuncName
ArrayRef<llvm::NamedInstrProfRecord>& Data

uint64_t getVersion() const

Declared at: llvm/include/llvm/ProfileData/InstrProfReader.h:401

bool hasCSIRLevelProfile() const

Declared at: llvm/include/llvm/ProfileData/InstrProfReader.h:407

bool isIRLevelProfile() const

Declared at: llvm/include/llvm/ProfileData/InstrProfReader.h:403

llvm::Error populateSymtab(
    llvm::InstrProfSymtab& Symtab)

Declared at: llvm/include/llvm/ProfileData/InstrProfReader.h:411

Parameters

llvm::InstrProfSymtab& Symtab

void setValueProfDataEndianness(
    support::endianness Endianness)

Declared at: llvm/include/llvm/ProfileData/InstrProfReader.h:397

Parameters

support::endianness Endianness

~InstrProfReaderIndex<HashTableImpl>()

Declared at: llvm/include/llvm/ProfileData/InstrProfReader.h:386