llvm::TimeProfilingPassesHandler

Pass instrumentation for --time-trace under the new pass manager.

Synopsis

Declared in <llvm/Passes/StandardInstrumentations.h>

class TimeProfilingPassesHandler;

Description

Provides the pass-instrumentation callbacks that measure the pass execution time. They collect time tracing info by TimeProfiler.

Member Functions

NameDescription
TimeProfilingPassesHandler [constructor]Constructors
operator= [deleted]Deleted copy assignment; this handler is unique per compilation.
registerCallbacks Register time-trace before/after pass callbacks on PIC.