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

Synopsis

Declared in <llvm/Transforms/Instrumentation/MemProfInstrumentation.h>

class ModuleMemProfilerPass
    : public RequiredPassInfoMixin<ModuleMemProfilerPass>

Base Classes

Name

Description

RequiredPassInfoMixin<ModuleMemProfilerPass>

A CRTP mix‐in for passes that should not be skipped.

Member Functions

Name

Description

ModuleMemProfilerPass [constructor]

Construct a MemProfiler module pass.

run

Run MemProfiler module instrumentation over the module.

Static Member Functions

Name

Description

isRequired

Return true; required passes cannot be skipped.

Created with MrDocs