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
- 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 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 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 getRecords
- public getRecords
- public getVersion
- public hasCSIRLevelProfile
- 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:382
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:391
¶bool atEnd() const
bool atEnd() const
Declared at: llvm/include/llvm/ProfileData/InstrProfReader.h:393
¶llvm::Error getRecords(
ArrayRef<llvm::NamedInstrProfRecord>& Data)
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)
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
uint64_t getVersion() const
Declared at: llvm/include/llvm/ProfileData/InstrProfReader.h:401
¶bool hasCSIRLevelProfile() const
bool hasCSIRLevelProfile() const
Declared at: llvm/include/llvm/ProfileData/InstrProfReader.h:407
¶bool isIRLevelProfile() const
bool isIRLevelProfile() const
Declared at: llvm/include/llvm/ProfileData/InstrProfReader.h:403
¶llvm::Error populateSymtab(
llvm::InstrProfSymtab& Symtab)
llvm::Error populateSymtab(
llvm::InstrProfSymtab& Symtab)
Declared at: llvm/include/llvm/ProfileData/InstrProfReader.h:411
Parameters
- llvm::InstrProfSymtab& Symtab
¶void setValueProfDataEndianness(
support::endianness Endianness)
void setValueProfDataEndianness(
support::endianness Endianness)
Declared at: llvm/include/llvm/ProfileData/InstrProfReader.h:397
Parameters
- support::endianness Endianness
¶~InstrProfReaderIndex<HashTableImpl>()
~InstrProfReaderIndex<HashTableImpl>()
Declared at: llvm/include/llvm/ProfileData/InstrProfReader.h:386