llvm-6502/lib
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
..
Analysis use isNullValue() to simplify code, add an assert. 2011-01-06 22:24:29 +00:00
Archive MemoryBuffer now return an error_code and returns a OwningPtr<MemoryBuffer> via an out parm. 2010-12-16 03:29:14 +00:00
AsmParser First step in fixing PR8927: 2011-01-08 16:42:36 +00:00
Bitcode First step in fixing PR8927: 2011-01-08 16:42:36 +00:00
CodeGen Recognize inline asm 'rev /bin/bash, ' as a bswap intrinsic call. 2011-01-08 01:24:27 +00:00
CompilerDriver Support/PathV1: Deprecate get{Basename,Dirname,Suffix}. 2010-12-18 22:23:07 +00:00
ExecutionEngine Remove unneeded zero arrays. 2010-12-04 15:28:22 +00:00
Linker Revamp the ValueMapper interfaces in a couple ways: 2011-01-08 08:15:20 +00:00
MC Fix PR8878. 2011-01-01 19:05:35 +00:00
Object Fix mismatched new[]/delete. 2010-12-17 09:56:50 +00:00
Support Fixed parsing of hex floats. 2011-01-06 16:55:14 +00:00
Target Recognize inline asm 'rev /bin/bash, ' as a bswap intrinsic call. 2011-01-08 01:24:27 +00:00
Transforms Contract subloop bodies. However, it is still important to visit the phis at the 2011-01-08 15:52:22 +00:00
VMCore First step in fixing PR8927: 2011-01-08 16:42:36 +00:00
Makefile Add LLVMObject Library. 2010-11-15 03:21:41 +00:00