llvm-project/clang/lib
Anna Zaks c84d151892 [analyzer] Make shallow mode more shallow.
Redefine the shallow mode to inline all functions for which we have a
definite definition (ipa=inlining). However, only inline functions that
are up to 4 basic blocks large and cut the max exploded nodes generated
per top level function in half.

This makes shallow faster and allows us to keep inlining small
functions. For example, we would keep inlining wrapper functions and
constructors/destructors.

With the new shallow, it takes 104s to analyze sqlite3, whereas
the deep mode is 658s and previous shallow is 209s.

llvm-svn: 173958
2013-01-30 19:12:39 +00:00
..
ARCMigrate Re-sort all the headers. Lots of regressions have crept in here. 2013-01-19 08:09:44 +00:00
AST Comment parsing: resolve more named character references 2013-01-30 14:29:28 +00:00
ASTMatchers Remove useless 'llvm::' qualifier from names like StringRef and others that are 2013-01-12 19:30:44 +00:00
Analysis -Wuninitialized: warn about uninitialized values resulting from ?: that evaluate to lvalues (in C++). 2013-01-19 00:25:06 +00:00
Basic Move UTF conversion routines from clang/lib/Basic to llvm/lib/Support 2013-01-30 12:06:08 +00:00
CodeGen Move UTF conversion routines from clang/lib/Basic to llvm/lib/Support 2013-01-30 12:06:08 +00:00
Driver [driver] Clear the FailureResultFiles when initializing clang diagnostics. Also, 2013-01-29 23:57:10 +00:00
Edit Implement OpenCL event_t as Clang builtin type, including event_t related OpenCL restrictions (OpenCL 1.2 spec 6.9) 2013-01-20 12:31:11 +00:00
Format Don't generate no-op replacements. 2013-01-30 09:46:12 +00:00
Frontend [analyzer] Make shallow mode more shallow. 2013-01-30 19:12:39 +00:00
FrontendTool use early returns to simplify and de-nest 2013-01-06 07:49:41 +00:00
Headers C11: Provide the missing half of <stdalign.h> 2013-01-30 06:33:54 +00:00
Lex [preprocessor] Don't warn about "disabled expansion of recursive macro" 2013-01-30 18:55:52 +00:00
Parse Provide a fixit for constexpr non-static data members. 2013-01-30 01:22:18 +00:00
Rewrite Rework the traversal of Objective-C categories and extensions to 2013-01-16 23:00:23 +00:00
Sema Hoist retrieval of Expr* into caller. No functionality change. 2013-01-30 19:10:21 +00:00
Serialization [Frontend] Remove HeaderSearchOptions::Entry::IsInternal, which is unused. 2013-01-30 00:34:26 +00:00
StaticAnalyzer [analyzer] Make shallow mode more shallow. 2013-01-30 19:12:39 +00:00
Tooling Nuke SetUpBuildDumpLog. 2013-01-20 01:58:28 +00:00
CMakeLists.txt Initial version of formatting library. 2012-12-03 18:12:45 +00:00
Makefile Dont use/link ARCMT, StaticAnalyzer and Rewriter to clang when the user 2012-12-13 16:09:42 +00:00