llvm-6502/unittests/VMCore
Rafael Espindola bea4626f93 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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123063 91177308-0d34-0410-b5e6-96231b3b80d8
2011-01-08 16:42:36 +00:00
..
ConstantsTest.cpp fix PR8867: a crash handling fp128. Thanks to Nick for the testcase. 2010-12-29 01:33:36 +00:00
DerivedTypesTest.cpp unit test to go along with r108610 2010-07-17 06:14:03 +00:00
InstructionsTest.cpp Remove the "ugly" method BranchInst::setUnconditionalDest(). 2011-01-07 20:26:51 +00:00
Makefile
MetadataTest.cpp Make NamedMDNode not be a subclass of Value, and simplify the interface 2010-07-21 23:38:33 +00:00
PassManagerTest.cpp Get rid of static constructors for pass registration. Instead, every pass exposes an initializeMyPassFunction(), which 2010-10-19 17:21:58 +00:00
ValueMapTest.cpp Revert 119600 to unbreak the build. Francois, please investigate. 2010-11-18 01:38:07 +00:00
VerifierTest.cpp First step in fixing PR8927: 2011-01-08 16:42:36 +00:00