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 | getSchema () |
static constexpr size_t | serializedSize () |
|
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(), and writeMemProfV1().
|
inline |
Definition at line 137 of file MemProf.h.
References operator==(), and llvm::Other.
|
inline |
Definition at line 128 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.
|
inlinestaticconstexpr |
Definition at line 141 of file MemProf.h.
Referenced by llvm::memprof::deserializeV0(), llvm::memprof::deserializeV2(), llvm::memprof::serializedSizeV0(), and llvm::memprof::serializedSizeV2().