1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/lib/AsmParser
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
..
CMakeLists.txt Revert "CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally." 2010-09-13 23:59:48 +00:00
LLLexer.cpp First step in fixing PR8927: 2011-01-08 16:42:36 +00:00
LLLexer.h Push twines deeper into SourceMgr's error handling methods. 2010-09-27 17:42:11 +00:00
LLParser.cpp First step in fixing PR8927: 2011-01-08 16:42:36 +00:00
LLParser.h Push twines deeper into SourceMgr's error handling methods. 2010-09-27 17:42:11 +00:00
LLToken.h First step in fixing PR8927: 2011-01-08 16:42:36 +00:00
Makefile
Parser.cpp MemoryBuffer now return an error_code and returns a OwningPtr<MemoryBuffer> via an out parm. 2010-12-16 03:29:14 +00:00