|
LLVM 22.0.0git
|
#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.
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 Timer * | llvm::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;})) |
| #define DEBUG_TYPE "time-passes" |
Definition at line 33 of file PassTimingInfo.cpp.