diff options
author | Eli Bendersky <eliben@google.com> | 2013-04-03 15:33:45 +0000 |
---|---|---|
committer | Eli Bendersky <eliben@google.com> | 2013-04-03 15:33:45 +0000 |
commit | 1629965964b0e5c786c16b5af15f1d53059183ed (patch) | |
tree | 4ec863be0a4b2da7581f201925fbd653c90a6257 /lib/IR/PassManager.cpp | |
parent | 110e323b619c64e63f8d7814f9ad9a455e6dbf59 (diff) | |
download | llvm-1629965964b0e5c786c16b5af15f1d53059183ed.tar.gz llvm-1629965964b0e5c786c16b5af15f1d53059183ed.tar.bz2 llvm-1629965964b0e5c786c16b5af15f1d53059183ed.tar.xz |
Measure time that IR parsing took as part of the -time-passes measurement.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178662 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/IR/PassManager.cpp')
-rw-r--r-- | lib/IR/PassManager.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/IR/PassManager.cpp b/lib/IR/PassManager.cpp index 5a8df703db..3c968aac16 100644 --- a/lib/IR/PassManager.cpp +++ b/lib/IR/PassManager.cpp @@ -1739,10 +1739,8 @@ bool PassManager::run(Module &M) { } //===----------------------------------------------------------------------===// -// TimingInfo Class - This class is used to calculate information about the -// amount of time each pass takes to execute. This only happens with -// -time-passes is enabled on the command line. -// +// TimingInfo implementation + bool llvm::TimePassesIsEnabled = false; static cl::opt<bool,true> EnableTiming("time-passes", cl::location(TimePassesIsEnabled), |