LLVM 19.0.0git
Public Member Functions | Static Public Member Functions | List of all members
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/MemProfiler.h"

Inheritance diagram for llvm::ModuleMemProfilerPass:
Inheritance graph
[legend]

Public Member Functions

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

Static Public Member Functions

static bool isRequired ()
 
- Static Public Member Functions inherited from llvm::PassInfoMixin< 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 42 of file MemProfiler.h.

Constructor & Destructor Documentation

◆ ModuleMemProfilerPass()

ModuleMemProfilerPass::ModuleMemProfilerPass ( )
explicitdefault

Member Function Documentation

◆ isRequired()

static bool llvm::ModuleMemProfilerPass::isRequired ( )
inlinestatic

Definition at line 46 of file MemProfiler.h.

◆ run()

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

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