LLVM 22.0.0git
PassTimingInfo.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
namespace  llvm::legacy

Macros

#define DEBUG_TYPE   "time-passes"

Functions

LLVM_ABI Timerllvm::getPassTimer (Pass *)
 Request the timer for this legacy-pass-manager's pass instance.
LLVM_ABI void llvm::reportAndResetTimings (raw_ostream *OutStream=nullptr)
 If -time-passes has been specified, report the timings immediately and then reset the timers to zero.
static bool llvm::shouldIgnorePass (StringRef PassID)

Variables

static cl::opt< bool, true > llvm::EnableTiming ("time-passes", cl::location(TimePassesIsEnabled), cl::Hidden, cl::desc("Time each pass, printing elapsed time for each on exit"))
static cl::opt< bool, true > llvm::EnableTimingPerRun ("time-passes-per-run", cl::location(TimePassesPerRun), cl::Hidden, cl::desc("Time each pass run, printing elapsed time for each run on exit"), cl::callback([](const bool &) { TimePassesIsEnabled=true;}))

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "time-passes"

Definition at line 33 of file PassTimingInfo.cpp.