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

#include "llvm/ProfileData/MemProf.h"

Public Member Functions

 IndexedAllocationInfo ()=default
 
 IndexedAllocationInfo (CallStackId CSId, const MemInfoBlock &MB, const MemProfSchema &Schema=getFullSchema())
 
 IndexedAllocationInfo (CallStackId CSId, const PortableMemInfoBlock &MB)
 
size_t serializedSize (const MemProfSchema &Schema, IndexedVersion Version) const
 
bool operator== (const IndexedAllocationInfo &Other) const
 
bool operator!= (const IndexedAllocationInfo &Other) const
 

Public Attributes

CallStackId CSId = 0
 
PortableMemInfoBlock Info
 

Detailed Description

Definition at line 336 of file MemProf.h.

Constructor & Destructor Documentation

◆ IndexedAllocationInfo() [1/3]

llvm::memprof::IndexedAllocationInfo::IndexedAllocationInfo ( )
default

◆ IndexedAllocationInfo() [2/3]

llvm::memprof::IndexedAllocationInfo::IndexedAllocationInfo ( CallStackId  CSId,
const MemInfoBlock &  MB,
const MemProfSchema Schema = getFullSchema() 
)
inline

Definition at line 344 of file MemProf.h.

References llvm::memprof::getFullSchema().

◆ IndexedAllocationInfo() [3/3]

llvm::memprof::IndexedAllocationInfo::IndexedAllocationInfo ( CallStackId  CSId,
const PortableMemInfoBlock MB 
)
inline

Definition at line 347 of file MemProf.h.

Member Function Documentation

◆ operator!=()

bool llvm::memprof::IndexedAllocationInfo::operator!= ( const IndexedAllocationInfo Other) const
inline

Definition at line 363 of file MemProf.h.

References llvm::operator==(), and Other.

◆ operator==()

bool llvm::memprof::IndexedAllocationInfo::operator== ( const IndexedAllocationInfo Other) const
inline

Definition at line 354 of file MemProf.h.

References Info, and Other.

◆ serializedSize()

size_t llvm::memprof::IndexedAllocationInfo::serializedSize ( const MemProfSchema Schema,
IndexedVersion  Version 
) const

Member Data Documentation

◆ CSId

CallStackId llvm::memprof::IndexedAllocationInfo::CSId = 0

Definition at line 339 of file MemProf.h.

Referenced by llvm::IndexedMemProfReader::getMemProfCallerCalleePairs().

◆ Info

PortableMemInfoBlock llvm::memprof::IndexedAllocationInfo::Info

Definition at line 341 of file MemProf.h.


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