LLVM 22.0.0git
MemProf.cpp File Reference

Go to the source code of this file.

Namespaces

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

Macros

#define MIBEntryDef(NameTag, Name, Type)

Functions

LLVM_ABI MemProfSchema llvm::memprof::getFullSchema ()
LLVM_ABI MemProfSchema llvm::memprof::getHotColdSchema ()
static size_t llvm::memprof::serializedSizeV2 (const IndexedAllocationInfo &IAI, const MemProfSchema &Schema)
static size_t llvm::memprof::serializedSizeV3 (const IndexedAllocationInfo &IAI, const MemProfSchema &Schema)
static size_t llvm::memprof::serializedSizeV2 (const IndexedMemProfRecord &Record, const MemProfSchema &Schema)
static size_t llvm::memprof::serializedSizeV3 (const IndexedMemProfRecord &Record, const MemProfSchema &Schema)
static size_t llvm::memprof::serializedSizeV4 (const IndexedMemProfRecord &Record, const MemProfSchema &Schema)
static void llvm::memprof::serializeV2 (const IndexedMemProfRecord &Record, const MemProfSchema &Schema, raw_ostream &OS)
static void llvm::memprof::serializeV3 (const IndexedMemProfRecord &Record, const MemProfSchema &Schema, raw_ostream &OS, llvm::DenseMap< CallStackId, LinearCallStackId > &MemProfCallStackIndexes)
static void llvm::memprof::serializeV4 (const IndexedMemProfRecord &Record, const MemProfSchema &Schema, raw_ostream &OS, llvm::DenseMap< CallStackId, LinearCallStackId > &MemProfCallStackIndexes)
static IndexedMemProfRecord llvm::memprof::deserializeV2 (const MemProfSchema &Schema, const unsigned char *Ptr)
static IndexedMemProfRecord llvm::memprof::deserializeV3 (const MemProfSchema &Schema, const unsigned char *Ptr)
static IndexedMemProfRecord llvm::memprof::deserializeV4 (const MemProfSchema &Schema, const unsigned char *Ptr)
LLVM_ABI GlobalValue::GUID llvm::memprof::getGUID (const StringRef FunctionName)
LLVM_ABI Expected< MemProfSchemallvm::memprof::readMemProfSchema (const unsigned char *&Buffer)

Macro Definition Documentation

◆ MIBEntryDef

#define MIBEntryDef ( NameTag,
Name,
Type )
Value:
List.push_back(Meta::Name);