LLVM API Documentation

Enumerations | Functions | Variables
llvm::IndexedInstrProf Namespace Reference

Enumerations

enum  HashT { MD5, 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

Enumerator:
MD5 
Last 

Definition at line 23 of file InstrProfIndexed.h.


Function Documentation

static uint64_t llvm::IndexedInstrProf::ComputeHash ( HashT  Type,
StringRef  K 
) [inline, static]

Definition at line 40 of file InstrProfIndexed.h.

References llvm_unreachable, MD5, and MD5Hash().

static uint64_t llvm::IndexedInstrProf::MD5Hash ( StringRef  Str) [inline, static]

Definition at line 29 of file InstrProfIndexed.h.

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

Referenced by ComputeHash().


Variable Documentation

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

Definition at line 48 of file InstrProfIndexed.h.

Referenced by llvm::IndexedInstrProfReader::readHeader().