LLVM 22.0.0git
|
This class implements -time-passes functionality for new pass manager. More...
#include "llvm/IR/PassTimingInfo.h"
Public Member Functions | |
LLVM_ABI | TimePassesHandler () |
LLVM_ABI | TimePassesHandler (bool Enabled, bool PerRun=false) |
LLVM_ABI void | print () |
Prints out timing information and then resets the timers. | |
TimePassesHandler (const TimePassesHandler &)=delete | |
void | operator= (const TimePassesHandler &)=delete |
LLVM_ABI void | registerCallbacks (PassInstrumentationCallbacks &PIC) |
LLVM_ABI void | setOutStream (raw_ostream &OutStream) |
Set a custom output stream for subsequent reporting. |
Static Public Attributes | |
static constexpr StringRef | PassGroupName = "pass" |
static constexpr StringRef | AnalysisGroupName = "analysis" |
static constexpr StringRef | PassGroupDesc = "Pass execution timing report" |
static constexpr StringRef | AnalysisGroupDesc |
This class implements -time-passes functionality for new pass manager.
It provides the pass-instrumentation callbacks that measure the pass execution time. They collect timing info into individual timers as passes are being run.
Definition at line 44 of file PassTimingInfo.h.
llvm::TimePassesHandler::TimePassesHandler | ( | ) |
Definition at line 188 of file PassTimingInfo.cpp.
References TimePassesHandler(), llvm::TimePassesIsEnabled, and llvm::TimePassesPerRun.
Referenced by operator=(), TimePassesHandler(), and TimePassesHandler().
Definition at line 185 of file PassTimingInfo.cpp.
|
delete |
References TimePassesHandler().
|
delete |
References LLVM_ABI, LLVM_DUMP_METHOD, PIC, and TimePassesHandler().
void llvm::TimePassesHandler::print | ( | ) |
Prints out timing information and then resets the timers.
Definition at line 195 of file PassTimingInfo.cpp.
References llvm::CreateInfoOutputFile().
void llvm::TimePassesHandler::registerCallbacks | ( | PassInstrumentationCallbacks & | PIC | ) |
Definition at line 299 of file PassTimingInfo.cpp.
void llvm::TimePassesHandler::setOutStream | ( | raw_ostream & | OutStream | ) |
Set a custom output stream for subsequent reporting.
Definition at line 191 of file PassTimingInfo.cpp.
|
staticconstexpr |
Definition at line 79 of file PassTimingInfo.h.
|
staticconstexpr |
Definition at line 77 of file PassTimingInfo.h.
Definition at line 78 of file PassTimingInfo.h.
|
staticconstexpr |
Definition at line 76 of file PassTimingInfo.h.