llvm-6502/lib/Transforms
Rafael Espindola c0916d30e0 llvm-extract was unable to handle aliases. It would leave a copy on the
output of both

llvm-extract foo.ll -func=bar
and
llvm-extract foo.ll -func=bar -delete

so the two new files could not be linked together anymore. With this change
alias are handled almost like functions and global variables. Almost because
with alias we cannot just clear the initializer/body, we have to create a new
declaration and replace the alias with it.

The net result is that now the output of the above commands can be linked
even if foo.ll has aliases.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166907 91177308-0d34-0410-b5e6-96231b3b80d8
2012-10-29 00:27:55 +00:00
..
Hello Since the Hello pass is built as a loadable dynamic library, don't try to convert it to new-style registration yet. 2010-10-07 00:31:16 +00:00
InstCombine Add some cleanup to the DataLayout changes requested by Chandler. 2012-10-24 18:36:13 +00:00
Instrumentation Back out r166591, not sure why this made it through since I cancelled the command. Bleh, sorry about this! 2012-10-24 17:25:11 +00:00
IPO llvm-extract was unable to handle aliases. It would leave a copy on the 2012-10-29 00:27:55 +00:00
Scalar LoopIdiom: Add checks to avoid turning memmove into an infinite loop. 2012-10-27 15:18:28 +00:00
Utils LoopSimplify: Preserve DependenceAnalysis. 2012-10-26 17:40:50 +00:00
Vectorize Update BBVectorize to use the new VTTI instr. cost interfaces. 2012-10-27 04:33:48 +00:00
CMakeLists.txt Add a basic-block autovectorization pass. 2012-02-01 03:51:43 +00:00
LLVMBuild.txt Add a basic-block autovectorization pass. 2012-02-01 03:51:43 +00:00
Makefile Add a basic-block autovectorization pass. 2012-02-01 03:51:43 +00:00