class InstrProfReaderIndex

Declaration

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

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

Inherits from: InstrProfReaderIndexBase

Templates

HashTableImpl

Member Variables

private std::unique_ptr<HashTableImpl> HashTable
private typename HashTableImpl::data_iterator RecordIterator
private uint64_t FormatVersion

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:494

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:503

bool atEnd() const

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

bool functionEntryOnly() const

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

llvm::InstrProfKind getProfileKind() const

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

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

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

Parameters

ArrayRef<llvm::NamedInstrProfRecord>& Data

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

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

Parameters

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

uint64_t getVersion() const

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

bool hasCSIRLevelProfile() const

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

bool hasSingleByteCoverage() const

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

bool instrEntryBBEnabled() const

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

bool isIRLevelProfile() const

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

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

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

Parameters

llvm::InstrProfSymtab& Symtab

void setValueProfDataEndianness(
    support::endianness Endianness)

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

Parameters

support::endianness Endianness

~InstrProfReaderIndex<HashTableImpl>()

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