summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Demangle/ItaniumDemangle.cpp
diff options
context:
space:
mode:
authorMehdi Amini <mehdi.amini@apple.com>2017-01-27 19:48:57 +0000
committerMehdi Amini <mehdi.amini@apple.com>2017-01-27 19:48:57 +0000
commit888dee444bef47e65886863aa1f9667ee5782879 (patch)
treea2e395dca5e82911c161d2b77413a3aac6eccd34 /llvm/lib/Demangle/ItaniumDemangle.cpp
parent6b5005514a577a56afe785ccb52fb141374c186a (diff)
downloadbcm5719-llvm-888dee444bef47e65886863aa1f9667ee5782879.tar.gz
bcm5719-llvm-888dee444bef47e65886863aa1f9667ee5782879.zip
Global DCE performance improvement
Change the original algorithm so that it scales better when meeting very large bitcode where every instruction does not implies a global. The target query is "how to you get all the globals referenced by another global"? Before this patch, it was doing this by walking the body (or the initializer) and collecting the references. What this patch is doing, it precomputing the answer to this query for the whole module by walking the use-list of every global instead. Patch by: Serge Guelton <serge.guelton@telecom-bretagne.eu> Differential Revision: https://reviews.llvm.org/D28549 llvm-svn: 293328
Diffstat (limited to 'llvm/lib/Demangle/ItaniumDemangle.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud