1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/unittests
Rafael Espindola 9f526bcf4d First step in fixing PR8927:
Add a unnamed_addr bit to global variables and functions. This will be used
to indicate that the address is not significant and therefore the constant
or function can be merged with others.

If an optimization pass can show that an address is not used, it can set this.

Examples of things that can have this set by the FE are globals created to
hold string literals and C++ constructors.

Adding unnamed_addr to a non-const global should have no effect unless
an optimization can transform that global into a constant.

Aliases are not allowed to have unnamed_addr since I couldn't figure
out any use for it.

llvm-svn: 123063
2011-01-08 16:42:36 +00:00
..
ADT Add ADT/IntEqClasses.h as a light-weight implementation of EquivalenceClasses.h. 2010-12-21 00:04:46 +00:00
Analysis
ExecutionEngine unittests/CMakeLists.txt: [PR8225] Tweak linking JITTests on MSVC to add JITTests.def. 2010-11-19 03:19:42 +00:00
Support UnitTests/Path: Add magical tests. This will also test identify_magic. 2011-01-06 05:58:02 +00:00
Transforms
VMCore First step in fixing PR8927: 2011-01-08 16:42:36 +00:00
CMakeLists.txt Add ADT/IntEqClasses.h as a light-weight implementation of EquivalenceClasses.h. 2010-12-21 00:04:46 +00:00
Makefile Merge System into Support. 2010-11-29 18:16:10 +00:00
Makefile.unittest unittests/JITTests: Don't use --export-dynamic but --export-all-symbols on cygming. 2010-11-26 09:32:02 +00:00