LLVM 19.0.0git
Namespaces | Functions
MemProf.cpp File Reference
#include "llvm/ProfileData/MemProf.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/IR/Function.h"
#include "llvm/ProfileData/InstrProf.h"
#include "llvm/ProfileData/SampleProf.h"
#include "llvm/Support/BLAKE3.h"
#include "llvm/Support/Endian.h"
#include "llvm/Support/EndianStream.h"
#include "llvm/Support/HashBuilder.h"

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::memprof
 

Functions

static size_t llvm::memprof::serializedSizeV0 (const IndexedAllocationInfo &IAI, const MemProfSchema &Schema)
 
static size_t llvm::memprof::serializedSizeV2 (const IndexedAllocationInfo &IAI, const MemProfSchema &Schema)
 
static size_t llvm::memprof::serializedSizeV0 (const IndexedMemProfRecord &Record, const MemProfSchema &Schema)
 
static size_t llvm::memprof::serializedSizeV2 (const IndexedMemProfRecord &Record, const MemProfSchema &Schema)
 
static void llvm::memprof::serializeV0 (const IndexedMemProfRecord &Record, const MemProfSchema &Schema, raw_ostream &OS)
 
static void llvm::memprof::serializeV2 (const IndexedMemProfRecord &Record, const MemProfSchema &Schema, raw_ostream &OS)
 
static IndexedMemProfRecord llvm::memprof::deserializeV0 (const MemProfSchema &Schema, const unsigned char *Ptr)
 
static IndexedMemProfRecord llvm::memprof::deserializeV2 (const MemProfSchema &Schema, const unsigned char *Ptr)
 
Expected< MemProfSchema > llvm::memprof::readMemProfSchema (const unsigned char *&Buffer)
 
CallStackId llvm::memprof::hashCallStack (ArrayRef< FrameId > CS)
 
void llvm::memprof::verifyIndexedMemProfRecord (const IndexedMemProfRecord &Record)
 
void llvm::memprof::verifyFunctionProfileData (const llvm::MapVector< GlobalValue::GUID, IndexedMemProfRecord > &FunctionProfileData)