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

#include "llvm/ProfileData/MemProf.h"

Public Member Functions

 AllocationInfo ()=default
 
 AllocationInfo (const IndexedAllocationInfo &IndexedAI, llvm::function_ref< const Frame(const FrameId)> IdToFrameCallback)
 
void printYAML (raw_ostream &OS) const
 

Public Attributes

llvm::SmallVector< FrameCallStack
 
PortableMemInfoBlock Info
 

Detailed Description

Definition at line 332 of file MemProf.h.

Constructor & Destructor Documentation

◆ AllocationInfo() [1/2]

llvm::memprof::AllocationInfo::AllocationInfo ( )
default

◆ AllocationInfo() [2/2]

llvm::memprof::AllocationInfo::AllocationInfo ( const IndexedAllocationInfo IndexedAI,
llvm::function_ref< const Frame(const FrameId)>  IdToFrameCallback 
)
inline

Member Function Documentation

◆ printYAML()

void llvm::memprof::AllocationInfo::printYAML ( raw_ostream OS) const
inline

Definition at line 348 of file MemProf.h.

References F, Info, OS, and llvm::memprof::PortableMemInfoBlock::printYAML().

Member Data Documentation

◆ CallStack

llvm::SmallVector<Frame> llvm::memprof::AllocationInfo::CallStack

Definition at line 334 of file MemProf.h.

Referenced by llvm::memprof::IndexedMemProfRecord::toMemProfRecord().

◆ Info

PortableMemInfoBlock llvm::memprof::AllocationInfo::Info

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