LLVM
15.0.0git
|
#include "llvm/ProfileData/MemProf.h"
Public Member Functions | |
void | clear () |
void | merge (const IndexedMemProfRecord &Other) |
size_t | serializedSize () const |
bool | operator== (const IndexedMemProfRecord &Other) const |
void | serialize (const MemProfSchema &Schema, raw_ostream &OS) |
Static Public Member Functions | |
static IndexedMemProfRecord | deserialize (const MemProfSchema &Schema, const unsigned char *Buffer) |
static GlobalValue::GUID | getGUID (const StringRef FunctionName) |
Public Attributes | |
llvm::SmallVector< IndexedAllocationInfo > | AllocSites |
llvm::SmallVector< llvm::SmallVector< FrameId > > | CallSites |
|
inline |
Definition at line 334 of file MemProf.h.
References llvm::SmallVectorImpl< T >::clear().
|
static |
Definition at line 35 of file MemProf.cpp.
Referenced by llvm::memprof::RecordLookupTrait::ReadData().
|
static |
Definition at line 73 of file MemProf.cpp.
References llvm::StringRef::find(), llvm::GlobalValue::getGUID(), and llvm::StringRef::take_front().
|
inline |
Definition at line 339 of file MemProf.h.
References llvm::SmallVectorImpl< T >::append(), and Other.
Referenced by llvm::InstrProfWriter::addMemProfRecord().
|
inline |
void llvm::memprof::IndexedMemProfRecord::serialize | ( | const MemProfSchema & | Schema, |
raw_ostream & | OS | ||
) |
Definition at line 11 of file MemProf.cpp.
References AllocSites, CallSites, llvm::AArch64CC::LE, llvm::support::little, N, and support().
Referenced by llvm::memprof::RecordWriterTrait::EmitData().
|
inline |
Definition at line 346 of file MemProf.h.
References N.
Referenced by llvm::memprof::RecordWriterTrait::EmitKeyDataLength().
llvm::SmallVector<IndexedAllocationInfo> llvm::memprof::IndexedMemProfRecord::AllocSites |
Definition at line 326 of file MemProf.h.
Referenced by serialize().
llvm::SmallVector<llvm::SmallVector<FrameId> > llvm::memprof::IndexedMemProfRecord::CallSites |
Definition at line 332 of file MemProf.h.
Referenced by serialize().