[analyzer] Add support for NoRedundancy inlining mode.
We do not reanalyze a function, which has already been analyzed as an inlined callee. As per PRELIMINARY testing, this gives over 50% run time reduction on some benchmarks without decreasing of the number of bugs found. Turning the mode on by default. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152440 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/Frontend/AnalyzerOptions.h 1 addition, 1 deletioninclude/clang/Frontend/AnalyzerOptions.h
- include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h 2 additions, 0 deletions...clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h
- include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h 7 additions, 9 deletionsinclude/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h
- include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h 1 addition, 1 deletioninclude/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
- lib/Frontend/CompilerInvocation.cpp 1 addition, 1 deletionlib/Frontend/CompilerInvocation.cpp
- lib/StaticAnalyzer/Core/CoreEngine.cpp 9 additions, 2 deletionslib/StaticAnalyzer/Core/CoreEngine.cpp
- lib/StaticAnalyzer/Core/ExprEngine.cpp 3 additions, 2 deletionslib/StaticAnalyzer/Core/ExprEngine.cpp
- lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp 42 additions, 28 deletionslib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
Loading
Please register or sign in to comment