LLVM 19.0.0git
Namespaces | Macros | Functions | Variables
PassTimingInfo.cpp File Reference
#include "llvm/IR/PassTimingInfo.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/IR/PassInstrumentation.h"
#include "llvm/Pass.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/FormatVariadic.h"
#include "llvm/Support/ManagedStatic.h"
#include "llvm/Support/Mutex.h"
#include "llvm/Support/TypeName.h"
#include "llvm/Support/raw_ostream.h"
#include <string>

Go to the source code of this file.


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


#define DEBUG_TYPE   "time-passes"


Timerllvm::getPassTimer (Pass *)
 Request the timer for this legacy-pass-manager's pass instance.
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)


static cl::opt< bool, truellvm::EnableTiming ("time-passes", cl::location(TimePassesIsEnabled), cl::Hidden, cl::desc("Time each pass, printing elapsed time for each on exit"))
static cl::opt< bool, truellvm::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


#define DEBUG_TYPE   "time-passes"

Definition at line 33 of file PassTimingInfo.cpp.