Chris Lattner
5fc855775d
Add support for reading bytecode files with compactiontables for bytecode files.
...
This shrinks the bytecode file for 176.gcc by about 200K (10%), and 254.gap by
about 167K, a 25% reduction. There is still a lot of room for improvement in
the encoding of the compaction table.
llvm-svn: 10914
2004-01-18 21:08:15 +00:00
Chris Lattner
30009bbba7
Add support for building the compactiontable for bytecode files. This shrinks
...
the bytecode file for 176.gcc by about 200K (10%), and 254.gap by about 167K,
a 25% reduction. There is still a lot of room for improvement in the encoding
of the compaction table.
llvm-svn: 10913
2004-01-18 21:07:07 +00:00
Chris Lattner
695d454b4f
Add support for representing the "compaction table"
...
Change protected members to private. Nothing should subclass SlotCalculator
llvm-svn: 10912
2004-01-18 21:03:49 +00:00
Chris Lattner
95c8aa8570
Eliminate special case handling for CPR's
...
Fix some problem cases where I was building the slot calculator in bytecode
writer mode instead of asmwriter mode.
llvm-svn: 10911
2004-01-18 21:03:06 +00:00
Chris Lattner
f4e422b82d
Clarify situation w.r.t the -lowerinvoke pass.
...
llvm-svn: 10909
2004-01-18 20:13:43 +00:00
Chris Lattner
630c3ddea0
Bytecode format for LLVM 1.2 no longer explicitly encodes zeros in primitive
...
type planes. This saves about 5k on 176.gcc, and is needed for a subsequent
patch of mine I'm working on.
llvm-svn: 10908
2004-01-17 23:25:43 +00:00
Chris Lattner
9108f1462c
fix copy-and-pasto
...
llvm-svn: 10907
2004-01-17 22:48:06 +00:00
Chris Lattner
c5d5cc7b8f
Revision of Brian's threading support library to be a bit more generic and
...
platform independent. This code is completely untested (but never used),
and needs autoconf support for detecting pthreads, but it's a start, and
deletes two emails from my inbox. :)
llvm-svn: 10906
2004-01-17 19:54:29 +00:00
Chris Lattner
83e7633d7c
This file goes away
...
llvm-svn: 10905
2004-01-17 19:35:57 +00:00
Brian Gaeke
d78dc95b86
Add a fixed bug
...
llvm-svn: 10904
2004-01-16 21:55:04 +00:00
John Criswell
3db2f0725d
Remove the use of LLVMGCCARCH. Instead, query the compiler for the
...
location of libgcc.a; that will tell us the name of the directory to find
the libraries that we're looking for.
llvm-svn: 10903
2004-01-16 21:53:23 +00:00
Brian Gaeke
60044e6f18
Remove some whitespace and fix up some comments.
...
Take settings of LCC and LCC1XX from configure.
llvm-svn: 10902
2004-01-16 21:31:34 +00:00
Brian Gaeke
deffc81af0
Get paths to cc1 and cc1plus by asking llvm-gcc, and AC_SUBST them.
...
llvm-svn: 10901
2004-01-16 21:31:22 +00:00
Brian Gaeke
155c7ebe11
Regenerated using autoconf-2.57.
...
llvm-svn: 10900
2004-01-16 21:31:21 +00:00
Brian Gaeke
d296bb2203
Take settings of LCC and LCC1XX from configure.
...
llvm-svn: 10899
2004-01-16 21:31:20 +00:00
Brian Gaeke
448e89cd43
Clarify comment.
...
llvm-svn: 10898
2004-01-16 21:13:10 +00:00
Brian Gaeke
3e83be326d
I'm fairly certain this was just a typo.
...
llvm-svn: 10897
2004-01-16 21:12:34 +00:00
Alkis Evlogimenos
7f300c9ea6
Handle printing of intervals that are not assign to any physical
...
register yet (2nd try).
llvm-svn: 10896
2004-01-16 20:33:13 +00:00
Alkis Evlogimenos
e03ef29452
Handle printing of intervals that are not assign to any physical
...
register yet.
llvm-svn: 10895
2004-01-16 20:29:42 +00:00
Alkis Evlogimenos
38f0f867b3
Fold open interval ends handling into
...
LiveIntervals::Interval::expiredAt() and simplify regalloc code.
llvm-svn: 10894
2004-01-16 20:17:05 +00:00
Alkis Evlogimenos
ed3c0a91b0
Add asserts to previous change.
...
llvm-svn: 10893
2004-01-16 16:23:23 +00:00
Alkis Evlogimenos
61db3621bd
Use a list instead of a vector to store intervals. This will be needed
...
when we join intervals and one of the two will need to be removed.
llvm-svn: 10892
2004-01-16 16:06:59 +00:00
Misha Brukman
bbc01f7b77
Use the LLVM standard name mangling infrastructure instead of reinventing the
...
wheel.
llvm-svn: 10891
2004-01-15 22:44:19 +00:00
Brian Gaeke
d22e443f1e
This is my script for narrowing down miscompilations to a single file.
...
llvm-svn: 10890
2004-01-15 22:35:43 +00:00
Chris Lattner
cce1db873e
If these blocks are empty, there is no reason to even emit the bytecode blocks.
...
This saves about 15K in 176.gcc, coupled with another patch that I'm working on.
llvm-svn: 10889
2004-01-15 21:06:57 +00:00
Chris Lattner
6e293222c3
Cleanups & efficiency improvements
...
llvm-svn: 10888
2004-01-15 20:24:09 +00:00
Misha Brukman
51525067d7
Put stylesheet after the title.
...
llvm-svn: 10887
2004-01-15 19:04:12 +00:00
Misha Brukman
e7aaa4afb9
* HTML 4.01 Strict DTD compliance
...
* Added icons to check document easily
llvm-svn: 10886
2004-01-15 19:03:47 +00:00
Chris Lattner
ba62115c2d
The bcwriter does not want ConstantPointerRef's to be indexed, and the asmwriter never did!
...
llvm-svn: 10885
2004-01-15 18:47:15 +00:00
Chris Lattner
44232deeda
ConstantPointerRef's are no longer emitted. This saves 20028 bytes in the
...
bytecode files when compiling 176.gcc, but more importantly will make it
easier to eliminate CPR's in the future (no new .bc revision will be
required to support them)
llvm-svn: 10884
2004-01-15 18:46:56 +00:00
Chris Lattner
844284aabe
Allow bytecode files to refer directly to global values as constants, instead
...
of forcing them to go through ConstantPointerRef's. This allows bytecode
files to mirror .ll files, allows more efficient encoding, and makes it easier
to eventually eliminate CPR's.
llvm-svn: 10883
2004-01-15 18:45:25 +00:00
Chris Lattner
5aea209da6
Fix more breakage with string change.
...
llvm-svn: 10882
2004-01-15 18:39:06 +00:00
Misha Brukman
bd78003c0d
* HTML 4.01 Strict DTD compliance
...
* Use stylesheets instead of adhoc formatting
* Fix broken links in doxygen due to llvm namespace
llvm-svn: 10881
2004-01-15 18:34:11 +00:00
Brian Gaeke
1459ac52af
Include TargetRegInfo.h and declare SparcTargetMachine forward, to make this
...
header more easily includable.
llvm-svn: 10880
2004-01-15 18:17:07 +00:00
Brian Gaeke
13203c0416
Make this assertion more self-explanatory.
...
llvm-svn: 10879
2004-01-15 18:15:58 +00:00
Chris Lattner
bde8112534
Hrm, thanks to misha for paying attention to my foolishness!
...
llvm-svn: 10878
2004-01-15 17:59:29 +00:00
Chris Lattner
ea4fbc9c68
PR73 is finally fixed
...
llvm-svn: 10877
2004-01-15 17:55:21 +00:00
Chris Lattner
04fe1058c2
Fix PR73: bytecode format inconsistent
...
llvm-svn: 10876
2004-01-15 17:55:09 +00:00
Chris Lattner
921cc4fd17
Fix PR73
...
llvm-svn: 10875
2004-01-15 17:55:01 +00:00
Chris Lattner
91f2cd914c
Fix brokenness in my last checking
...
llvm-svn: 10874
2004-01-15 16:56:15 +00:00
Brian Gaeke
1c65ca3a84
Remove configure support for endianness checking, the need for which
...
Chris has helpfully expunged.
llvm-svn: 10873
2004-01-15 06:22:37 +00:00
Chris Lattner
0184383aa7
Remove ENDIAN_* support. LLVM does not need it anymore.
...
llvm-svn: 10872
2004-01-15 06:13:58 +00:00
Chris Lattner
ed98fd7216
Change all of the bytecode reader primitives to throw exceptions instead of
...
returning error codes. Because they don't return an error code, they can
return the value read, which simplifies the code and makes the reader more
efficient (yaay!).
Also eliminate the special case code for little endian machines.
llvm-svn: 10871
2004-01-15 06:13:09 +00:00
Chris Lattner
4d2cf11dbb
Remove the optimization that depends on ENDIAN_LITTLE: it's not worth it.
...
llvm-svn: 10870
2004-01-15 06:11:30 +00:00
Chris Lattner
4a78294f54
Remove broken doxygen comments
...
llvm-svn: 10869
2004-01-15 04:37:10 +00:00
Misha Brukman
53aa160002
* Conform to HTML 4.01 strict DTD
...
* Use stylesheets instead of hard-coding formatting
llvm-svn: 10868
2004-01-15 00:14:41 +00:00
Misha Brukman
0b4edc1455
Make the stylesheet conform to CSS standard.
...
llvm-svn: 10867
2004-01-15 00:13:59 +00:00
Chris Lattner
71acf2763d
Improve comments, add support for remembering the constants strings that
...
are to be emitted.
llvm-svn: 10866
2004-01-14 23:37:43 +00:00
Chris Lattner
7ad2ec9e20
add support for -- for symmetry
...
llvm-svn: 10865
2004-01-14 23:37:22 +00:00
Chris Lattner
106bba1e9b
The new bytecode format supports emitting strings a special case. This is
...
intended to save size (and does on small programs), but on big programs it
actually increases the size of the program slightly. The deal is that many
functions end up using the characters that the string contained, and the
characters are no longer in the global constant table, so they have to be
emitted in function specific constant pools.
This pessimization will be fixed in subsequent patches.
llvm-svn: 10864
2004-01-14 23:36:54 +00:00