LLVM 20.0.0git
|
#include "llvm/ProfileData/MemProf.h"
Public Member Functions | |
PortableMemInfoBlock ()=default | |
PortableMemInfoBlock (const MemInfoBlock &Block, const MemProfSchema &IncomingSchema) | |
PortableMemInfoBlock (const MemProfSchema &Schema, const unsigned char *Ptr) | |
void | deserialize (const MemProfSchema &IncomingSchema, const unsigned char *Ptr) |
void | serialize (const MemProfSchema &Schema, raw_ostream &OS) const |
void | printYAML (raw_ostream &OS) const |
std::bitset< llvm::to_underlying(Meta::Size)> | getSchema () const |
void | clear () |
bool | operator== (const PortableMemInfoBlock &Other) const |
bool | operator!= (const PortableMemInfoBlock &Other) const |
Static Public Member Functions | |
static size_t | serializedSize (const MemProfSchema &Schema) |
|
default |
Referenced by clear().
|
inlineexplicit |
Definition at line 63 of file MemProf.h.
References llvm::to_underlying().
|
inline |
Definition at line 72 of file MemProf.h.
References deserialize(), and Ptr.
|
inline |
Definition at line 150 of file MemProf.h.
References PortableMemInfoBlock().
|
inline |
Definition at line 78 of file MemProf.h.
References llvm_unreachable, and llvm::to_underlying().
Referenced by PortableMemInfoBlock().
|
inline |
|
inline |
Definition at line 165 of file MemProf.h.
References operator==(), and llvm::Other.
|
inline |
|
inline |
Definition at line 121 of file MemProf.h.
Referenced by llvm::memprof::AllocationInfo::printYAML().
|
inline |
Definition at line 102 of file MemProf.h.
References llvm::little, llvm_unreachable, and OS.
|
inlinestatic |
Definition at line 169 of file MemProf.h.
References llvm_unreachable.
Referenced by llvm::memprof::deserializeV0(), llvm::memprof::deserializeV2(), llvm::memprof::deserializeV3(), llvm::memprof::serializedSizeV0(), llvm::memprof::serializedSizeV2(), and llvm::memprof::serializedSizeV3().