summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAnna Zaks <ganna@apple.com>2012-03-13 19:32:13 +0000
committerAnna Zaks <ganna@apple.com>2012-03-13 19:32:13 +0000
commitca70ed53dab97506c07350b2798e281bf0595491 (patch)
treed74979ac85775eaf1d8340c5b8f74e6daa9a229e /clang/lib/Frontend/CompilerInvocation.cpp
parent32da47b9a1373d8379b6f5b390e98ec43c314e49 (diff)
downloadbcm5719-llvm-ca70ed53dab97506c07350b2798e281bf0595491.tar.gz
bcm5719-llvm-ca70ed53dab97506c07350b2798e281bf0595491.zip
[analyzer] Use BFS over call graph when analysing functions.
BFS should give slightly better performance. Ex: Suppose, we have two roots R1 and R2. A callee function C is reachable through both. However, C is not inlined when analyzing R1 due to inline stack depth limit. With DFS, C will be analyzed as top level even though it would be analyzed as inlined through R2. On the other hand, BFS could avoid analyzing C as top level. llvm-svn: 152652
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud