LLVM 22.0.0git
|
#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) | |
LLVM_ABI 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 |
|
default |
Referenced by operator!=(), and operator==().
|
inline |
Definition at line 389 of file MemProf.h.
References CSId, llvm::memprof::getFullSchema(), and Info.
|
inline |
|
inline |
Definition at line 408 of file MemProf.h.
References IndexedAllocationInfo(), operator==(), and llvm::Other.
|
inline |
Definition at line 399 of file MemProf.h.
References CSId, IndexedAllocationInfo(), Info, and llvm::Other.
size_t llvm::memprof::IndexedAllocationInfo::serializedSize | ( | const MemProfSchema & | Schema, |
IndexedVersion | Version ) const |
Definition at line 44 of file MemProf.cpp.
References llvm_unreachable, llvm::memprof::serializedSizeV2(), llvm::memprof::serializedSizeV3(), llvm::Version, llvm::memprof::Version2, llvm::memprof::Version3, and llvm::memprof::Version4.
CallStackId llvm::memprof::IndexedAllocationInfo::CSId = 0 |
Definition at line 384 of file MemProf.h.
Referenced by llvm::IndexedMemProfReader::getMemProfCallerCalleePairs(), IndexedAllocationInfo(), IndexedAllocationInfo(), and operator==().
PortableMemInfoBlock llvm::memprof::IndexedAllocationInfo::Info |
Definition at line 386 of file MemProf.h.
Referenced by IndexedAllocationInfo(), IndexedAllocationInfo(), and operator==().