LLVM 22.0.0git
Public Member Functions | Public Attributes | List of all members
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.

Referenced by llvm::memprof::YAMLMemProfReader::parse().

◆ 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.

Referenced by llvm::memprof::YAMLMemProfReader::parse().

Member Data Documentation

◆ CallStacks

llvm::MapVector<CallStackId, llvm::SmallVector<FrameId> > llvm::memprof::IndexedMemProfData::CallStacks

◆ Frames

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

◆ Records

llvm::MapVector<GlobalValue::GUID, IndexedMemProfRecord> llvm::memprof::IndexedMemProfData::Records

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