llvm-6502/lib
Chris Lattner 0fd77a579b Rewrite all the 'PromoteLocallyUsedAlloca[s]' logic. With the power of
LargeBlockInfo, we can now dramatically simplify their implementation
and speed them up at the same time.  Now the code has time proportional
to the number of uses of the alloca, not the size of the block.

This also eliminates code that tried to batch up different allocas which
are used in the same blocks, and eliminates the 'retry list' logic which
was baroque and no unneccesary.  In addition to being a speedup for crazy
cases, this is also a nice cleanup:

PromoteMemoryToRegister.cpp |  270 +++++++++++++++-----------------------------
 1 file changed, 96 insertions(+), 174 deletions(-)



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58229 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-27 07:05:53 +00:00
..
Analysis Don't try to create a mask when we don't need one. Fixes a crash. 2008-10-24 06:14:27 +00:00
Archive Initial support for the CMake build system. 2008-09-22 01:08:49 +00:00
AsmParser CMake: Cross-platform support for using pre-generated llvmAsmParser.cpp and llvmAsmParser.h. 2008-10-25 03:19:08 +00:00
Bitcode Make sure to set stdout to binary when writing bitcode files via 2008-10-23 19:37:34 +00:00
CodeGen Increase default setting of tail-merge-threshold to 2008-10-27 02:10:21 +00:00
Debugger Initial support for the CMake build system. 2008-09-22 01:08:49 +00:00
ExecutionEngine Support for allocation of TLS variables in the JIT. Allocation of a global 2008-10-25 15:41:43 +00:00
Linker Make comments and code for QuietWarnings and QuietErrors 2008-10-25 17:57:20 +00:00
Support fix PR2953, an off-by-one error handling formatted i/o. 2008-10-26 19:20:47 +00:00
System Update the stub and callback code to handle lazy compilation. The stub 2008-10-20 21:39:23 +00:00
Target Move the code that adds the DeadMachineInstructionElimPass from 2008-10-25 17:46:52 +00:00
Transforms Rewrite all the 'PromoteLocallyUsedAlloca[s]' logic. With the power of 2008-10-27 07:05:53 +00:00
VMCore Fix type-o in ExprMapKeyType::operator ==(). The "&&" was missing. 2008-10-26 00:19:56 +00:00
Makefile remove attribution from lib Makefiles. 2007-12-29 20:09:26 +00:00