LLVM API Documentation

Classes | Public Types | Public Member Functions | Static Public Member Functions
llvm::InstrProfLookupTrait Class Reference

#include <InstrProfReader.h>

List of all members.

Classes

struct  data_type

Public Types

typedef StringRef internal_key_type
typedef StringRef external_key_type
typedef uint64_t hash_value_type
typedef uint64_t offset_type

Public Member Functions

 InstrProfLookupTrait (IndexedInstrProf::HashT HashType)
hash_value_type ComputeHash (StringRef K)
StringRef ReadKey (const unsigned char *D, offset_type N)
data_type ReadData (StringRef K, const unsigned char *D, offset_type N)

Static Public Member Functions

static bool EqualKey (StringRef A, StringRef B)
static StringRef GetInternalKey (StringRef K)
static std::pair< offset_type,
offset_type
ReadKeyDataLength (const unsigned char *&D)

Detailed Description

Trait for lookups into the on-disk hash table for the binary instrprof format.

Definition at line 208 of file InstrProfReader.h.


Member Typedef Documentation

Definition at line 221 of file InstrProfReader.h.

Definition at line 222 of file InstrProfReader.h.

Definition at line 220 of file InstrProfReader.h.

Definition at line 223 of file InstrProfReader.h.


Constructor & Destructor Documentation

Definition at line 212 of file InstrProfReader.h.


Member Function Documentation

Definition at line 285 of file InstrProfReader.cpp.

static bool llvm::InstrProfLookupTrait::EqualKey ( StringRef  A,
StringRef  B 
) [inline, static]

Definition at line 225 of file InstrProfReader.h.

Definition at line 226 of file InstrProfReader.h.

Definition at line 242 of file InstrProfReader.h.

References I.

Definition at line 238 of file InstrProfReader.h.

static std::pair<offset_type, offset_type> llvm::InstrProfLookupTrait::ReadKeyDataLength ( const unsigned char *&  D) [inline, static]

Definition at line 231 of file InstrProfReader.h.


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