llvm-project/clang/lib/StaticAnalyzer/Frontend
Anna Zaks 54fd4a0766 [analyzer] Do not inline functions which previously reached max block
count.

This is an optimization for "retry without inlining" option. Here, if we
failed to inline a function due to reaching the basic block max count,
we are going to store this information and not try to inline it
again in the translation unit. This can be viewed as a function summary.

On sqlite, with this optimization, we are 30% faster then before and
cover 10% more basic blocks (partially because the number of times we
reach timeout is decreased by 20%).

llvm-svn: 153730
2012-03-30 05:48:10 +00:00
..
AnalysisConsumer.cpp [analyzer] Do not inline functions which previously reached max block 2012-03-30 05:48:10 +00:00
AnalysisConsumer.h Rename Diagnostic to DiagnosticsEngine as per issue 5397 2011-09-25 23:23:43 +00:00
CMakeLists.txt Fix cmake build with -DBUILD_SHARED_LIBS=ON. 2011-12-29 04:31:59 +00:00
CheckerRegistration.cpp Basic: import OwningPtr<> into clang namespace 2012-02-05 02:12:40 +00:00
FrontendActions.cpp [analyzer] Overhaul of checker registration in preparation for basic plugin support. Removes support for checker groups (we can add them back in later if we decide they are still useful), and -analyzer-checker-help output is a little worse for the time being (no packages). 2011-08-16 21:24:21 +00:00
Makefile When building StaticAnalyzer/Frontend add -I "<Checkers build dir>" to allow Checkers.inc to be 2011-02-17 18:40:33 +00:00