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
- public InstrProfReaderIndex<HashTableImpl>(const unsigned char * Buckets, const unsigned char *const Payload, const unsigned char *const Base, IndexedInstrProf::HashT HashType, uint64_t Version)
- public void advanceToNextKey()
- public bool atEnd() const
- public bool functionEntryOnly() const
- public llvm::InstrProfKind getProfileKind() const
- public llvm::Error getRecords(ArrayRef<llvm::NamedInstrProfRecord> & Data)
- public llvm::Error getRecords(llvm::StringRef FuncName, ArrayRef<llvm::NamedInstrProfRecord> & Data)
- public uint64_t getVersion() const
- public bool hasCSIRLevelProfile() const
- public bool hasSingleByteCoverage() const
- public bool instrEntryBBEnabled() const
- public bool isIRLevelProfile() const
- public llvm::Error populateSymtab(llvm::InstrProfSymtab & Symtab)
- public void setValueProfDataEndianness(support::endianness Endianness)
- public ~InstrProfReaderIndex<HashTableImpl>()
Inherited from InstrProfReaderIndexBase:
- public advanceToNextKey
- public atEnd
- public functionEntryOnly
- public getProfileKind
- public getRecords
- public getRecords
- public getVersion
- public hasCSIRLevelProfile
- public hasSingleByteCoverage
- public instrEntryBBEnabled
- public isIRLevelProfile
- public populateSymtab
- public setValueProfDataEndianness
Methods
¶InstrProfReaderIndex<HashTableImpl>(
const unsigned char* Buckets,
const unsigned char* const Payload,
const unsigned char* const Base,
IndexedInstrProf::HashT HashType,
uint64_t Version)
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()
void advanceToNextKey()
Declared at: llvm/include/llvm/ProfileData/InstrProfReader.h:503
¶bool atEnd() const
bool atEnd() const
Declared at: llvm/include/llvm/ProfileData/InstrProfReader.h:505
¶bool functionEntryOnly() const
bool functionEntryOnly() const
Declared at: llvm/include/llvm/ProfileData/InstrProfReader.h:531
¶llvm::InstrProfKind getProfileKind() const
llvm::InstrProfKind getProfileKind() const
Declared at: llvm/include/llvm/ProfileData/InstrProfReader.h:535
¶llvm::Error getRecords(
ArrayRef<llvm::NamedInstrProfRecord>& Data)
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)
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
uint64_t getVersion() const
Declared at: llvm/include/llvm/ProfileData/InstrProfReader.h:513
¶bool hasCSIRLevelProfile() const
bool hasCSIRLevelProfile() const
Declared at: llvm/include/llvm/ProfileData/InstrProfReader.h:519
¶bool hasSingleByteCoverage() const
bool hasSingleByteCoverage() const
Declared at: llvm/include/llvm/ProfileData/InstrProfReader.h:527
¶bool instrEntryBBEnabled() const
bool instrEntryBBEnabled() const
Declared at: llvm/include/llvm/ProfileData/InstrProfReader.h:523
¶bool isIRLevelProfile() const
bool isIRLevelProfile() const
Declared at: llvm/include/llvm/ProfileData/InstrProfReader.h:515
¶llvm::Error populateSymtab(
llvm::InstrProfSymtab& Symtab)
llvm::Error populateSymtab(
llvm::InstrProfSymtab& Symtab)
Declared at: llvm/include/llvm/ProfileData/InstrProfReader.h:537
Parameters
- llvm::InstrProfSymtab& Symtab
¶void setValueProfDataEndianness(
support::endianness Endianness)
void setValueProfDataEndianness(
support::endianness Endianness)
Declared at: llvm/include/llvm/ProfileData/InstrProfReader.h:509
Parameters
- support::endianness Endianness
¶~InstrProfReaderIndex<HashTableImpl>()
~InstrProfReaderIndex<HashTableImpl>()
Declared at: llvm/include/llvm/ProfileData/InstrProfReader.h:498