LLVM 20.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

std::vector< FrameCallStack
 
PortableMemInfoBlock Info
 

Detailed Description

Definition at line 377 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 393 of file MemProf.h.

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

Member Data Documentation

◆ CallStack

std::vector<Frame> llvm::memprof::AllocationInfo::CallStack

Definition at line 379 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: