LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::memprof::IndexedMemProfData Struct Reference

#include "llvm/ProfileData/MemProf.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 982 of file MemProf.h.

Member Function Documentation

◆ addCallStack() [1/2]

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

◆ addCallStack() [2/2]

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

◆ addFrame()

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

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 files: