llvm-project/clang/lib
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
..
APINotes [clang][APINotes] Fix -Wunused-function warning (NFC) 2021-04-01 09:52:43 +08:00
ARCMigrate [SystemZ][z/OS] Set files in FileRemapper.cpp are text 2021-04-19 07:59:42 -04:00
AST [PowerPC][AIX] Fix Zero-width bit fields wrt MaxFieldAlign. 2021-07-12 15:31:15 -04:00
ASTMatchers [clang] Rename StringRef _lower() method calls to _insensitive() 2021-06-25 00:22:01 +03:00
Analysis [analyzer][NFC] Display the correct function name even in crash dumps 2021-07-12 09:06:46 +02:00
Basic [PowerPC] Implement trap and conversion builtins for XL compatibility 2021-07-12 11:04:17 -05:00
CodeGen [WebAssembly] Custom combines for f32x4.demote_zero_f64x2 2021-07-12 10:32:18 -07:00
CrossTU PR51018: Remove explicit conversions from SmallString to StringRef to future-proof against C++23 2021-07-08 13:37:57 -07:00
DirectoryWatcher Revert "Re-Revert "DirectoryWatcher: add an implementation for Windows"" 2021-06-19 09:19:52 -07:00
Driver [Driver] Let -fno-integrated-as -gdwarf-5 use -fdwarf-directory-asm 2021-07-12 15:46:20 -07:00
Edit [Matrix] Implement C-style explicit type conversions for matrix types. 2021-04-10 11:48:41 +01:00
Format [NFC] Fix typo in comment 2021-07-02 11:39:17 +01:00
Frontend Reland "[clang-repl] Implement partial translation units and error recovery." 2021-07-12 15:21:22 +00:00
FrontendTool [OptTable] Rename PrintHelp to printHelp 2021-06-24 14:47:03 -07:00
Headers [WebAssembly] Custom combines for f32x4.demote_zero_f64x2 2021-07-12 10:32:18 -07:00
Index [index] Fix performance regression with indexing macros 2021-06-16 10:16:26 -07:00
IndexSerialization [index-while-building] Fix build with -DBUILD_SHARED_LIBS=True 2020-08-20 15:12:56 +01:00
Interpreter Reland "[clang-repl] Implement partial translation units and error recovery." 2021-07-12 15:21:22 +00:00
Lex PR51018: Remove explicit conversions from SmallString to StringRef to future-proof against C++23 2021-07-08 13:37:57 -07:00
Parse Remove unused parameter from parseMSInlineAsm. 2021-07-12 15:07:03 +01:00
Rewrite [clang] DeltaTree::AddDelta - fix "initialization is never read" clang-tidy warning. NFCI. 2021-03-02 15:01:34 +00:00
Sema [PowerPC] Implement trap and conversion builtins for XL compatibility 2021-07-12 11:04:17 -05:00
Serialization Reland "[clang-repl] Implement partial translation units and error recovery." 2021-07-12 15:21:22 +00:00
StaticAnalyzer [analyzer] Print time taken to analyze each function 2021-07-13 04:52:47 +00:00
Testing Fix MSVC "not all control paths return a value" warning. NFC. 2020-06-05 10:45:59 +01:00
Tooling [libTooling] Add support for implicit `this` to `buildAddressOf`. 2021-07-07 17:35:04 +00:00
CMakeLists.txt [clang-repl] Recommit "Land initial infrastructure for incremental parsing" 2021-05-13 06:30:29 +00:00