summaryrefslogtreecommitdiff
path: root/include/llvm/IR/LegacyPassManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/IR/LegacyPassManager.h')
-rw-r--r--include/llvm/IR/LegacyPassManager.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/IR/LegacyPassManager.h b/include/llvm/IR/LegacyPassManager.h
index 5257a0eed488..9a376a151505 100644
--- a/include/llvm/IR/LegacyPassManager.h
+++ b/include/llvm/IR/LegacyPassManager.h
@@ -98,6 +98,9 @@ private:
// Create wrappers for C Binding types (see CBindingWrapping.h).
DEFINE_STDCXX_CONVERSION_FUNCTIONS(legacy::PassManagerBase, LLVMPassManagerRef)
+/// If -time-passes has been specified, report the timings immediately and then
+/// reset the timers to zero.
+void reportAndResetTimings();
} // End llvm namespace
#endif