LLVM 19.0.0git
|
#include "llvm/ProfileData/MemProf.h"
Public Member Functions | |
PortableMemInfoBlock ()=default | |
PortableMemInfoBlock (const MemInfoBlock &Block) | |
PortableMemInfoBlock (const MemProfSchema &Schema, const unsigned char *Ptr) | |
void | deserialize (const MemProfSchema &Schema, const unsigned char *Ptr) |
void | serialize (const MemProfSchema &Schema, raw_ostream &OS) const |
void | printYAML (raw_ostream &OS) const |
void | clear () |
bool | operator== (const PortableMemInfoBlock &Other) const |
bool | operator!= (const PortableMemInfoBlock &Other) const |
Static Public Member Functions | |
static MemProfSchema | getFullSchema () |
static MemProfSchema | getHotColdSchema () |
static size_t | serializedSize (const MemProfSchema &Schema) |
|
default |
Referenced by clear().
|
inlineexplicit |
|
inline |
Definition at line 58 of file MemProf.h.
References deserialize(), and Ptr.
|
inline |
Definition at line 117 of file MemProf.h.
References PortableMemInfoBlock().
|
inline |
Definition at line 64 of file MemProf.h.
References llvm_unreachable.
Referenced by PortableMemInfoBlock().
|
inlinestatic |
Definition at line 120 of file MemProf.h.
References llvm::List.
Referenced by writeMemProfV0(), writeMemProfV1(), and writeMemProfV2().
|
inlinestatic |
Definition at line 130 of file MemProf.h.
Referenced by writeMemProfV2().
|
inline |
Definition at line 144 of file MemProf.h.
References operator==(), and llvm::Other.
|
inline |
Definition at line 135 of file MemProf.h.
Referenced by operator!=().
|
inline |
Definition at line 103 of file MemProf.h.
References OS.
Referenced by llvm::memprof::AllocationInfo::printYAML().
|
inline |
Definition at line 84 of file MemProf.h.
References llvm::little, llvm_unreachable, and OS.
|
inlinestatic |
Definition at line 148 of file MemProf.h.
References llvm_unreachable.
Referenced by llvm::memprof::deserializeV0(), llvm::memprof::deserializeV2(), llvm::memprof::serializedSizeV0(), and llvm::memprof::serializedSizeV2().