13#ifndef LLVM_PROFILEDATA_MEMPROFCOMMON_H
14#define LLVM_PROFILEDATA_MEMPROFCOMMON_H
27 uint64_t TotalLifetime);
ModuleSummaryIndex.h This file contains the declarations the classes that hold the module index and s...
Helper class to iterate through stack ids in both metadata (memprof MIB and callsite) and the corresp...
LLVM_ABI AllocationType 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 computeFullStackId(ArrayRef< Frame > CallStack)
Helper to generate a single hash id for a given callstack, used for emitting matching statistics and ...
This is an optimization pass for GlobalISel generic memory operations.
ArrayRef(const T &OneElt) -> ArrayRef< T >