struct NamedInstrProfRecord

Declaration

struct NamedInstrProfRecord : public InstrProfRecord { /* full declaration omitted */ };

Description

Profiling information for a single function.

Declared at: llvm/include/llvm/ProfileData/InstrProf.h:842

Inherits from: InstrProfRecord

Member Variables

public llvm::StringRef Name
public uint64_t Hash
public static const int CS_FLAG_IN_FUNC_HASH = 60

Inherited from InstrProfRecord:

public Counts

Method Overview

Inherited from InstrProfRecord:

Methods

NamedInstrProfRecord()

Declared at: llvm/include/llvm/ProfileData/InstrProf.h:849

NamedInstrProfRecord(llvm::StringRef Name,
                     uint64_t Hash,
                     std::vector<uint64_t> Counts)

Declared at: llvm/include/llvm/ProfileData/InstrProf.h:850

Parameters

llvm::StringRef Name
uint64_t Hash
std::vector<uint64_t> Counts

static bool hasCSFlagInHash(uint64_t FuncHash)

Declared at: llvm/include/llvm/ProfileData/InstrProf.h:854

Parameters

uint64_t FuncHash

static void setCSFlagInHash(uint64_t& FuncHash)

Declared at: llvm/include/llvm/ProfileData/InstrProf.h:857

Parameters

uint64_t& FuncHash