LLVM  4.0.0
Public Member Functions | List of all members
llvm::InstrProfReaderIndex< HashTableImpl > Class Template Reference

#include <InstrProfReader.h>

Inheritance diagram for llvm::InstrProfReaderIndex< HashTableImpl >:
[legend]
Collaboration diagram for llvm::InstrProfReaderIndex< HashTableImpl >:
[legend]

Public Member Functions

 InstrProfReaderIndex (const unsigned char *Buckets, const unsigned char *const Payload, const unsigned char *const Base, IndexedInstrProf::HashT HashType, uint64_t Version)
 
Error getRecords (ArrayRef< InstrProfRecord > &Data) override
 
Error getRecords (StringRef FuncName, ArrayRef< InstrProfRecord > &Data) override
 
void advanceToNextKey () override
 
bool atEnd () const override
 
void setValueProfDataEndianness (support::endianness Endianness) override
 
 ~InstrProfReaderIndex () override
 
uint64_t getVersion () const override
 
bool isIRLevelProfile () const override
 
void populateSymtab (InstrProfSymtab &Symtab) override
 
- Public Member Functions inherited from llvm::InstrProfReaderIndexBase
virtual ~InstrProfReaderIndexBase ()
 

Detailed Description

template<typename HashTableImpl>
class llvm::InstrProfReaderIndex< HashTableImpl >

Definition at line 326 of file InstrProfReader.h.

Constructor & Destructor Documentation

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

Definition at line 558 of file InstrProfReader.cpp.

References llvm::IndexedInstrProf::Version.

template<typename HashTableImpl >
llvm::InstrProfReaderIndex< HashTableImpl >::~InstrProfReaderIndex ( )
inlineoverride

Definition at line 349 of file InstrProfReader.h.

Member Function Documentation

template<typename HashTableImpl >
void llvm::InstrProfReaderIndex< HashTableImpl >::advanceToNextKey ( )
inlineoverridevirtual

Implements llvm::InstrProfReaderIndexBase.

Definition at line 342 of file InstrProfReader.h.

template<typename HashTableImpl >
bool llvm::InstrProfReaderIndex< HashTableImpl >::atEnd ( ) const
inlineoverridevirtual

Implements llvm::InstrProfReaderIndexBase.

Definition at line 343 of file InstrProfReader.h.

template<typename HashTableImpl >
Error InstrProfReaderIndex::getRecords ( ArrayRef< InstrProfRecord > &  Data)
overridevirtual
template<typename HashTableImpl >
Error InstrProfReaderIndex::getRecords ( StringRef  FuncName,
ArrayRef< InstrProfRecord > &  Data 
)
overridevirtual
template<typename HashTableImpl >
uint64_t llvm::InstrProfReaderIndex< HashTableImpl >::getVersion ( ) const
inlineoverridevirtual

Implements llvm::InstrProfReaderIndexBase.

Definition at line 350 of file InstrProfReader.h.

template<typename HashTableImpl >
bool llvm::InstrProfReaderIndex< HashTableImpl >::isIRLevelProfile ( ) const
inlineoverridevirtual

Implements llvm::InstrProfReaderIndexBase.

Definition at line 351 of file InstrProfReader.h.

template<typename HashTableImpl >
void llvm::InstrProfReaderIndex< HashTableImpl >::populateSymtab ( InstrProfSymtab Symtab)
inlineoverridevirtual

Implements llvm::InstrProfReaderIndexBase.

Definition at line 354 of file InstrProfReader.h.

References llvm::InstrProfSymtab::create().

template<typename HashTableImpl >
void llvm::InstrProfReaderIndex< HashTableImpl >::setValueProfDataEndianness ( support::endianness  Endianness)
inlineoverridevirtual

Implements llvm::InstrProfReaderIndexBase.

Definition at line 346 of file InstrProfReader.h.


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