summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDecl.cpp
diff options
context:
space:
mode:
authorAnna Zaks <ganna@apple.com>2012-12-21 01:19:22 +0000
committerAnna Zaks <ganna@apple.com>2012-12-21 01:19:22 +0000
commit77ca7f1bbe600a85d993c8fb8a47807c96922d7b (patch)
treed5f8602aa51fe0a0f30a18d378c3a78bbd2fafa4 /clang/lib/Sema/SemaDecl.cpp
parent5c32dfc5fb1cfcff8ae3671284e17daa8da3a188 (diff)
downloadbcm5719-llvm-77ca7f1bbe600a85d993c8fb8a47807c96922d7b.tar.gz
bcm5719-llvm-77ca7f1bbe600a85d993c8fb8a47807c96922d7b.zip
[analyzer] Traverse the Call Graph in topological order.
Modify the call graph by removing the parentless nodes. Instead all nodes are children of root to ensure they are all reachable. Remove the tracking of nodes that are "top level" or global. This information is not used and can be obtained from the Decls stored inside CallGraphNodes. Instead of existing ordering hacks, analyze the functions in topological order over the Call Graph. Together with the addition of devirtualizable ObjC message sends and blocks to the call graph, this gives around 6% performance improvement on several large ObjC benchmarks. llvm-svn: 170826
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud