LLVM 23.0.0git
llvm::memprof::IndexedMemProfData Struct Reference

#include "llvm/ProfileData/IndexedMemProfData.h"

Public Member Functions

FrameId addFrame (const Frame &F)
CallStackId addCallStack (ArrayRef< FrameId > CS)
CallStackId addCallStack (SmallVector< FrameId > &&CS)

Public Attributes

llvm::MapVector< GlobalValue::GUID, IndexedMemProfRecordRecords
llvm::MapVector< FrameId, FrameFrames
llvm::MapVector< CallStackId, llvm::SmallVector< FrameId > > CallStacks

Detailed Description

Definition at line 28 of file IndexedMemProfData.h.

Member Function Documentation

◆ addCallStack() [1/2]

CallStackId llvm::memprof::IndexedMemProfData::addCallStack ( ArrayRef< FrameId > CS)
inline

Definition at line 47 of file IndexedMemProfData.h.

References CallStacks.

◆ addCallStack() [2/2]

CallStackId llvm::memprof::IndexedMemProfData::addCallStack ( SmallVector< FrameId > && CS)
inline

Definition at line 53 of file IndexedMemProfData.h.

References CallStacks.

◆ addFrame()

FrameId llvm::memprof::IndexedMemProfData::addFrame ( const Frame & F)
inline

Definition at line 41 of file IndexedMemProfData.h.

References F, and Frames.

Member Data Documentation

◆ CallStacks

◆ Frames

llvm::MapVector<FrameId, Frame> llvm::memprof::IndexedMemProfData::Frames

◆ Records


The documentation for this struct was generated from the following file: