LLVM 20.0.0git
|
This class implements –time-trace functionality for new pass manager. More...
#include "llvm/Passes/StandardInstrumentations.h"
Public Member Functions | |
TimeProfilingPassesHandler () | |
TimeProfilingPassesHandler (const TimeProfilingPassesHandler &)=delete | |
void | operator= (const TimeProfilingPassesHandler &)=delete |
void | registerCallbacks (PassInstrumentationCallbacks &PIC) |
This class implements –time-trace functionality for new pass manager.
It provides the pass-instrumentation callbacks that measure the pass execution time. They collect time tracing info by TimeProfiler.
Definition at line 473 of file StandardInstrumentations.h.
TimeProfilingPassesHandler::TimeProfilingPassesHandler | ( | ) |
Definition at line 1577 of file StandardInstrumentations.cpp.
|
delete |
|
delete |
void TimeProfilingPassesHandler::registerCallbacks | ( | PassInstrumentationCallbacks & | PIC | ) |
Definition at line 1579 of file StandardInstrumentations.cpp.
References llvm::getTimeTraceProfilerInstance(), IR, P, PIC, llvm::PassInstrumentationCallbacks::registerAfterAnalysisCallback(), llvm::PassInstrumentationCallbacks::registerAfterPassCallback(), llvm::PassInstrumentationCallbacks::registerAfterPassInvalidatedCallback(), llvm::PassInstrumentationCallbacks::registerBeforeAnalysisCallback(), and llvm::PassInstrumentationCallbacks::registerBeforeNonSkippedPassCallback().
Referenced by llvm::StandardInstrumentations::registerCallbacks().