LLVM 23.0.0git
llvm::ModuleMemProfilerPass Class Reference

Public interface to the memory profiler module pass for instrumenting code to profile memory allocations and accesses. More...

#include "llvm/Transforms/Instrumentation/MemProfInstrumentation.h"

Inheritance diagram for llvm::ModuleMemProfilerPass:
[legend]

Public Member Functions

LLVM_ABI ModuleMemProfilerPass ()
LLVM_ABI PreservedAnalyses run (Module &M, ModuleAnalysisManager &AM)
Public Member Functions inherited from llvm::PassInfoMixin< ModuleMemProfilerPass >
void printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName)

Additional Inherited Members

Static Public Member Functions inherited from llvm::RequiredPassInfoMixin< ModuleMemProfilerPass >
static bool isRequired ()
Static Public Member Functions inherited from llvm::PassInfoMixin< ModuleMemProfilerPass >
static bool isRequired ()
Static Public Member Functions inherited from llvm::detail::InfoMixin< ModuleMemProfilerPass >
static StringRef name ()
 Gets the name of the pass we are mixed into.

Detailed Description

Public interface to the memory profiler module pass for instrumenting code to profile memory allocations and accesses.

Definition at line 38 of file MemProfInstrumentation.h.

Constructor & Destructor Documentation

◆ ModuleMemProfilerPass()

ModuleMemProfilerPass::ModuleMemProfilerPass ( )
explicitdefault

References LLVM_ABI.

Member Function Documentation

◆ run()

PreservedAnalyses ModuleMemProfilerPass::run ( Module & M,
ModuleAnalysisManager & AM )

The documentation for this class was generated from the following files: