llvm-6502/lib/Transforms
Peter Collingbourne c226d9f334 GlobalDCE: Improve performance for large modules containing comdats.
When we encounter a global with a comdat, rather than iterating over
every global in the module to find globals in the same comdat, store the
members in a multimap. This effectively lowers the complexity to O(N log N),
improving performance significantly for large modules such as might be
encountered during LTO.

It looks like we used to do something like this until r219191.

No functional change.

Differential Revision: http://reviews.llvm.org/D8431

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232743 91177308-0d34-0410-b5e6-96231b3b80d8
2015-03-19 18:23:29 +00:00
..
Hello [CMake] Add LLVM_LINK_COMPONENTS to loadable modules, LLVMHello and BugpointPasses, on Win32. 2014-07-13 13:36:48 +00:00
InstCombine [InstCombine] Don't fold a GEP into itself through a PHI node 2015-03-19 11:05:08 +00:00
Instrumentation [asan] remove redundant ifndefs. NFC 2015-03-17 19:13:23 +00:00
IPO GlobalDCE: Improve performance for large modules containing comdats. 2015-03-19 18:23:29 +00:00
ObjCARC One more try with unused. 2015-03-16 08:00:27 +00:00
Scalar Fix GCC -Wparentheses warning (& reformat now that the precedence is fixed) 2015-03-17 17:48:24 +00:00
Utils [ConstantRange] Split makeICmpRegion in two. 2015-03-18 00:41:24 +00:00
Vectorize Try to fix a test broken by one of my previous commits. 2015-03-17 20:31:56 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile