class RecordLookupTrait

Declaration

class RecordLookupTrait { /* full declaration omitted */ };

Declared at: llvm/include/llvm/ProfileData/MemProf.h:447

Member Variables

private llvm::memprof::MemProfSchema Schema
private llvm::memprof::IndexedMemProfRecord Record

Method Overview

  • public llvm::memprof::RecordLookupTrait::hash_value_type ComputeHash(uint64_t K)
  • public static bool EqualKey(uint64_t A, uint64_t B)
  • public static uint64_t GetExternalKey(uint64_t K)
  • public static uint64_t GetInternalKey(uint64_t K)
  • public llvm::memprof::RecordLookupTrait::data_type ReadData(uint64_t K, const unsigned char * D, llvm::memprof::RecordLookupTrait::offset_type)
  • public uint64_t ReadKey(const unsigned char * D, llvm::memprof::RecordLookupTrait::offset_type)
  • public static std::pair<offset_type, offset_type> ReadKeyDataLength(const unsigned char *& D)
  • public RecordLookupTrait()
  • public RecordLookupTrait(const llvm::memprof::MemProfSchema & S)

Methods

llvm::memprof::RecordLookupTrait::hash_value_type
ComputeHash(uint64_t K)

Declared at: llvm/include/llvm/ProfileData/MemProf.h:462

Parameters

uint64_t K

static bool EqualKey(uint64_t A, uint64_t B)

Declared at: llvm/include/llvm/ProfileData/MemProf.h:458

Parameters

uint64_t A
uint64_t B

static uint64_t GetExternalKey(uint64_t K)

Declared at: llvm/include/llvm/ProfileData/MemProf.h:460

Parameters

uint64_t K

static uint64_t GetInternalKey(uint64_t K)

Declared at: llvm/include/llvm/ProfileData/MemProf.h:459

Parameters

uint64_t K

llvm::memprof::RecordLookupTrait::data_type
ReadData(
    uint64_t K,
    const unsigned char* D,
    llvm::memprof::RecordLookupTrait::offset_type)

Declared at: llvm/include/llvm/ProfileData/MemProf.h:478

Parameters

uint64_t K
const unsigned char* D
llvm::memprof::RecordLookupTrait::offset_type

uint64_t ReadKey(
    const unsigned char* D,
    llvm::memprof::RecordLookupTrait::offset_type)

Declared at: llvm/include/llvm/ProfileData/MemProf.h:473

Parameters

const unsigned char* D
llvm::memprof::RecordLookupTrait::offset_type

static std::pair<offset_type, offset_type>
ReadKeyDataLength(const unsigned char*& D)

Declared at: llvm/include/llvm/ProfileData/MemProf.h:465

Parameters

const unsigned char*& D

RecordLookupTrait()

Declared at: llvm/include/llvm/ProfileData/MemProf.h:455

RecordLookupTrait(
    const llvm::memprof::MemProfSchema& S)

Declared at: llvm/include/llvm/ProfileData/MemProf.h:456

Parameters

const llvm::memprof::MemProfSchema& S