LLVM  9.0.0svn
Namespaces | Macros | Functions | Variables
PassTimingInfo.cpp File Reference
#include "llvm/IR/PassTimingInfo.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/StringRef.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/Timer.h"
#include "llvm/Support/raw_ostream.h"
#include <memory>
#include <string>
Include dependency graph for PassTimingInfo.cpp:

Go to the source code of this file.

Namespaces

 llvm
 This class represents lattice values for constants.
 
 llvm::legacy
 

Macros

#define DEBUG_TYPE   "time-passes"
 

Functions

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

Variables

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"))
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "time-passes"

Definition at line 36 of file PassTimingInfo.cpp.