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

#include "llvm/ProfileData/MemProf.h"

Collaboration diagram for llvm::memprof::AllocationInfo:
Collaboration graph
[legend]

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 292 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 308 of file MemProf.h.

References F, and Info.

Member Data Documentation

◆ CallStack

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

Definition at line 294 of file MemProf.h.

◆ Info

PortableMemInfoBlock llvm::memprof::AllocationInfo::Info

Definition at line 296 of file MemProf.h.


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