LLVM  13.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]
Collaboration diagram for llvm::ModuleMemProfilerPass:
Collaboration graph
[legend]

Public Member Functions

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

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. More...
 

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 MemProfiler.h.

Constructor & Destructor Documentation

◆ ModuleMemProfilerPass()

ModuleMemProfilerPass::ModuleMemProfilerPass ( )
explicit

Definition at line 262 of file MemProfiler.cpp.

Member Function Documentation

◆ isRequired()

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

Definition at line 42 of file MemProfiler.h.

◆ run()

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

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