LLVM 20.0.0git
Classes | Namespaces | Typedefs | Functions
MemProfiler.h File Reference
#include "llvm/ADT/IntrusiveRefCntPtr.h"
#include "llvm/IR/PassManager.h"
#include "llvm/ProfileData/MemProf.h"
#include <unordered_map>

Go to the source code of this file.

Classes

class  llvm::MemProfilerPass
 Public interface to the memory profiler pass for instrumenting code to profile memory accesses. More...
 
class  llvm::ModuleMemProfilerPass
 Public interface to the memory profiler module pass for instrumenting code to profile memory allocations and accesses. More...
 
class  llvm::MemProfUsePass
 
struct  llvm::memprof::LineLocationHash
 

Namespaces

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

Typedefs

using llvm::memprof::LocToLocMap = std::unordered_map< LineLocation, LineLocation, LineLocationHash >
 

Functions

DenseMap< uint64_t, SmallVector< CallEdgeTy, 0 > > llvm::memprof::extractCallsFromIR (Module &M, const TargetLibraryInfo &TLI)
 
DenseMap< uint64_t, LocToLocMapllvm::memprof::computeUndriftMap (Module &M, IndexedInstrProfReader *MemProfReader, const TargetLibraryInfo &TLI)