LLVM backend for 6502
Go to file
Chris Lattner f4f6227989 Create an equivalence class of global variables that DSA will never be able
to tell apart anyway, and only track the leader for of these equivalence
classes in our graphs.

This dramatically reduces the number of GlobalValue*'s that appear in scalar
maps, which A) reduces memory usage, by eliminating many many scalarmap entries
and B) reduces time for operations that need to execute an operation for each
global in the scalar map.

As an example, this reduces the memory used to analyze 176.gcc from 1GB to
511MB, which (while it's still way too much) is better because it doesn't hit
swap anymore.  On eon, this shrinks the local graphs from 14MB to 6.8MB,
shrinks the bu+td graphs of povray from 50M to 40M, shrinks the TD graphs of
130.li from 8.8M to 3.6M, etc.

This change also speeds up DSA on large programs where this makes a big
difference.  For example, 130.li goes from 1.17s -> 0.56s, 134.perl goes
from 2.14 -> 0.93s, povray goes from 15.63s->7.99s (!!!).

This also apparently either fixes the problem that caused DSA to crash on
perlbmk and gcc, or it hides it, because DSA now works on these.  These
both take entirely too much time in the TD pass (147s for perl, 538s for
gcc, vs 7.67/5.9s in the bu pass for either one), but this is a known
problem that I'll deal with later.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20696 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-19 22:23:45 +00:00
autoconf Recognize an IA64 when we see one 2005-03-17 20:56:22 +00:00
docs We shall have IA64 as a new experimental backend released with LLVM 1.5 2005-03-18 00:48:56 +00:00
examples add missing copyright header 2005-03-15 15:46:23 +00:00
include/llvm Make each scalar map contain a reference to an equivalence class of global 2005-03-19 22:13:13 +00:00
lib Create an equivalence class of global variables that DSA will never be able 2005-03-19 22:23:45 +00:00
projects Update to reflect various changes in the autoconf directory. THe 2005-02-24 18:53:47 +00:00
runtime Hrm, who knows what 'uint' is, but it seems to work sometimes? Wierd. 2005-01-28 19:37:35 +00:00
test this doesn't fail on the suns either! 2005-03-12 03:43:38 +00:00
tools statically link ia64 into llc 2005-03-17 18:39:06 +00:00
utils spiff up the nightly tester output one more notch 2005-03-17 16:07:45 +00:00
win32 Do #include HashExtras.h with VC++ 2005-03-16 05:49:58 +00:00
.cvsignore
configure Recognize an IA64 when we see one 2005-03-17 20:56:22 +00:00
CREDITS.TXT now the angry bug reports have somewhere to go! 2005-03-17 18:57:02 +00:00
LICENSE.TXT
llvm.spec
llvm.spec.in
Makefile
Makefile.common Update comments to reflect new variable names. Patch contributed by 2005-02-14 16:02:19 +00:00
Makefile.config.in For PR528: 2005-02-24 03:56:32 +00:00
Makefile.rules * Remove extraneous spaces 2005-03-11 04:15:18 +00:00
README.txt

Low Level Virtual Machine (LLVM)
================================

This directory and its subdirectories contain source code for the Low Level 
Virtual Machine, a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments. 

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the HTML documentation provided in docs/index.html for further
assistance with LLVM.