llvm-6502/lib/Transforms
Chris Lattner 36ba5006df Implement a refinement to the mem2reg algorithm for cases where an alloca
has a single def.  In this case, look for uses that are dominated by the def
and attempt to rewrite them to directly use the stored value.

This speeds up mem2reg on these values and reduces the number of phi nodes
inserted.  This should address PR665.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24411 91177308-0d34-0410-b5e6-96231b3b80d8
2005-11-18 07:31:42 +00:00
..
Hello Remove trailing whitespace 2005-04-21 23:48:37 +00:00
Instrumentation Remove some beta code that no longer has an owner. 2005-10-24 02:32:41 +00:00
IPO Add support alignment of allocation instructions. 2005-11-05 09:21:28 +00:00
Scalar This was checking the wrong GEP expression. Fixing this fixes a gccas crash 2005-11-17 19:35:42 +00:00
Utils Implement a refinement to the mem2reg algorithm for cases where an alloca 2005-11-18 07:31:42 +00:00
ExprTypeConvert.cpp Now that instcombine does this xform, remove it from the -raise pass 2005-10-29 04:40:23 +00:00
LevelRaise.cpp ConvertibleToGEP always returns 0, remove some old crufty code which 2005-07-26 16:38:28 +00:00
Makefile DONT_BUILD_RELINKED is gone and implied by BUILD_ARCHIVE now 2005-10-24 02:26:13 +00:00
TransformInternals.cpp Remove dead #include 2005-10-29 04:41:30 +00:00
TransformInternals.h ConvertibleToGEP always returns 0, remove some old crufty code which 2005-07-26 16:38:28 +00:00