llvm-6502/lib
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
..
Analysis post-dom-frontiers requires proper post-dominance 2005-11-18 07:28:26 +00:00
Archive
AsmParser
Bytecode
CodeGen Allow targets to custom legalize leaf nodes like GlobalAddress. 2005-11-17 06:41:44 +00:00
Debugger tell selectiondag when we're debugging 2005-11-16 07:21:47 +00:00
ExecutionEngine
Linker
Support indicate when a tool is a debug build. 2005-11-16 06:36:47 +00:00
System instead of using mstats, use malloc_zone_statistics which returns numbers 2005-11-14 07:27:56 +00:00
Target add more patterns, patch by Evan Cheng. 2005-11-18 01:04:42 +00:00
Transforms Implement a refinement to the mem2reg algorithm for cases where an alloca 2005-11-18 07:31:42 +00:00
VMCore This requires proper dominance 2005-11-18 07:27:53 +00:00
Makefile