summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/ToolChain.cpp
diff options
context:
space:
mode:
authorAnna Zaks <ganna@apple.com>2012-12-21 17:27:01 +0000
committerAnna Zaks <ganna@apple.com>2012-12-21 17:27:01 +0000
commit1ee76c1baee3dac926c5100c1ecded466273852b (patch)
treeda4c5c6e6b5ebef3a462830a79e7f91f7e310719 /clang/lib/Driver/ToolChain.cpp
parenta6795968e6f4182ae67b3b7925bf8bac9d994073 (diff)
downloadbcm5719-llvm-1ee76c1baee3dac926c5100c1ecded466273852b.tar.gz
bcm5719-llvm-1ee76c1baee3dac926c5100c1ecded466273852b.zip
[analyzer] Re-apply r170826 and make the dumping of the GallGraph
deterministic. Commit message for r170826: [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: 170906
Diffstat (limited to 'clang/lib/Driver/ToolChain.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud