struct Frame

Declaration

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

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

Member Variables

public GlobalValue::GUID Function
public llvm::Optional<std::string> SymbolName
public uint32_t LineOffset
public uint32_t Column
public bool IsInlineFrame

Method Overview

  • public Frame(const llvm::memprof::Frame & Other)
  • public Frame(uint64_t Hash, uint32_t Off, uint32_t Col, bool Inline)
  • public static llvm::memprof::Frame deserialize(const unsigned char * Ptr)
  • public inline llvm::memprof::FrameId hash() const
  • public void printYAML(llvm::raw_ostream & OS) const
  • public void serialize(llvm::raw_ostream & OS) const
  • public static constexpr size_t serializedSize()

Methods

Frame(const llvm::memprof::Frame& Other)

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

Parameters

const llvm::memprof::Frame& Other

Frame(uint64_t Hash,
      uint32_t Off,
      uint32_t Col,
      bool Inline)

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

Parameters

uint64_t Hash
uint32_t Off
uint32_t Col
bool Inline

static llvm::memprof::Frame deserialize(
    const unsigned char* Ptr)

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

Parameters

const unsigned char* Ptr

inline llvm::memprof::FrameId hash() const

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

void printYAML(llvm::raw_ostream& OS) const

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

Parameters

llvm::raw_ostream& OS

void serialize(llvm::raw_ostream& OS) const

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

Parameters

llvm::raw_ostream& OS

static constexpr size_t serializedSize()

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