LLVM 22.0.0git
Namespaces | Functions
MemProfCommon.h File Reference
#include "llvm/IR/ModuleSummaryIndex.h"
#include "llvm/Support/Compiler.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

LLVM_ABI AllocationType llvm::memprof::getAllocType (uint64_t TotalLifetimeAccessDensity, uint64_t AllocCount, uint64_t TotalLifetime)
 Return the allocation type for a given set of memory profile values.
 
LLVM_ABI uint64_t llvm::memprof::computeFullStackId (ArrayRef< Frame > CallStack)
 Helper to generate a single hash id for a given callstack, used for emitting matching statistics and useful for uniquing such statistics across modules.