struct IndexedMemProfRecord

Declaration

struct IndexedMemProfRecord { /* full declaration omitted */ };

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

Member Variables

public llvm::SmallVector<IndexedAllocationInfo> AllocSites
public llvm::SmallVector<llvm::SmallVector<FrameId>> CallSites

Method Overview

  • public void clear()
  • public static llvm::memprof::IndexedMemProfRecord deserialize(const llvm::memprof::MemProfSchema & Schema, const unsigned char * Buffer)
  • public static GlobalValue::GUID getGUID(const llvm::StringRef FunctionName)
  • public void merge(const llvm::memprof::IndexedMemProfRecord & Other)
  • public void serialize(const llvm::memprof::MemProfSchema & Schema, llvm::raw_ostream & OS)
  • public size_t serializedSize() const

Methods

void clear()

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

static llvm::memprof::IndexedMemProfRecord
deserialize(
    const llvm::memprof::MemProfSchema& Schema,
    const unsigned char* Buffer)

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

Parameters

const llvm::memprof::MemProfSchema& Schema
const unsigned char* Buffer

static GlobalValue::GUID getGUID(
    const llvm::StringRef FunctionName)

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

Parameters

const llvm::StringRef FunctionName

void merge(
    const llvm::memprof::IndexedMemProfRecord&
        Other)

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

Parameters

const llvm::memprof::IndexedMemProfRecord& Other

void serialize(
    const llvm::memprof::MemProfSchema& Schema,
    llvm::raw_ostream& OS)

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

Parameters

const llvm::memprof::MemProfSchema& Schema
llvm::raw_ostream& OS

size_t serializedSize() const

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