llvm-6502/test/Transforms/Internalize
Rafael Espindola 0f978ea459 Handle calls and invokes in GlobalStatus.
This patch teaches GlobalStatus to analyze a call that uses the global value as
a callee, not as an argument.

With this change internalize call handle the common use of linkonce_odr
functions. This reduces the number of linkonce_odr functions in a LTO build of
clang (checked with the emit-llvm gold plugin option) from 1730 to 60.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193436 91177308-0d34-0410-b5e6-96231b3b80d8
2013-10-25 21:29:52 +00:00
..
2009-01-05-InternalizeAliases.ll Change the internalize pass to internalize all symbols when given an empty 2012-10-26 18:47:48 +00:00
apifile Merge these 2 tests in a single file. 2013-09-04 19:19:32 +00:00
linkonce_odr_func.ll Handle calls and invokes in GlobalStatus. 2013-10-25 21:29:52 +00:00
lists.ll Optimize more linkonce_odr values during LTO. 2013-10-21 17:14:55 +00:00
used.ll Respect llvm.used in Internalize. 2013-07-25 03:23:25 +00:00