llvm-project/clang/lib/StaticAnalyzer/Frontend
SharmaRithik cad9b7f708 [analyzer] Print time taken to analyze each function
Summary: This patch is a part of an attempt to obtain more
timer data from the analyzer. In this patch, we try to use
LLVM::TimeRecord to save time before starting the analysis
and to print the time that a specific function takes while
getting analyzed.

The timer data is printed along with the
-analyzer-display-progress outputs.

ANALYZE (Syntax): test.c functionName : 0.4 ms
ANALYZE (Path,  Inline_Regular): test.c functionName : 2.6 ms
Authored By: RithikSharma
Reviewer: NoQ, xazax.hun, teemperor, vsavchenko
Reviewed By: NoQ
Differential Revision: https://reviews.llvm.org/D105565
2021-07-13 04:52:47 +00:00
..
AnalysisConsumer.cpp [analyzer] Print time taken to analyze each function 2021-07-13 04:52:47 +00:00
AnalyzerHelpFlags.cpp [analyzer][NFC] Move the data structures from CheckerRegistry to the Core library 2020-07-04 12:31:51 +02:00
CMakeLists.txt [openmp] Base of tablegen generated OpenMP common declaration 2020-06-23 10:32:32 -04:00
CheckerRegistry.cpp [analyzer] Force dependency checkers to be hidden 2020-07-06 13:05:45 +02:00
CreateCheckerManager.cpp [analyzer][NFC] Move the data structures from CheckerRegistry to the Core library 2020-07-04 12:31:51 +02:00
FrontendActions.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
ModelConsumer.cpp
ModelInjector.cpp Move ASTRecordReader into its own header; NFC. 2019-12-14 03:28:23 -05:00
ModelInjector.h