LLVM  3.7.0
Enumerations | Functions | Variables
llvm::IndexedInstrProf Namespace Reference

Enumerations

enum  HashT : uint32_t { HashT::MD5, HashT::Last = MD5 }
 

Functions

static uint64_t MD5Hash (StringRef Str)
 
static uint64_t ComputeHash (HashT Type, StringRef K)
 

Variables

const uint64_t Magic = 0x8169666f72706cff
 
const uint64_t Version = 2
 
const HashT HashType = HashT::MD5
 

Enumeration Type Documentation

enum llvm::IndexedInstrProf::HashT : uint32_t
strong
Enumerator
MD5 
Last 

Definition at line 24 of file InstrProfIndexed.h.

Function Documentation

static uint64_t llvm::IndexedInstrProf::ComputeHash ( HashT  Type,
StringRef  K 
)
inlinestatic

Definition at line 41 of file InstrProfIndexed.h.

References llvm_unreachable, MD5, and MD5Hash().

Referenced by llvm::InstrProfLookupTrait::ComputeHash().

static uint64_t llvm::IndexedInstrProf::MD5Hash ( StringRef  Str)
inlinestatic

Definition at line 30 of file InstrProfIndexed.h.

References llvm::MD5::final(), fuzzer::Hash(), and llvm::MD5::update().

Referenced by ComputeHash().

Variable Documentation

const HashT llvm::IndexedInstrProf::HashType = HashT::MD5

Definition at line 51 of file InstrProfIndexed.h.

const uint64_t llvm::IndexedInstrProf::Magic = 0x8169666f72706cff
const uint64_t llvm::IndexedInstrProf::Version = 2