Chris Lattner
28c7ae5697
Nuke commented out stuff
...
llvm-svn: 16017
2004-08-24 08:18:27 +00:00
Brian Gaeke
f5231a42d5
bug fixed
...
llvm-svn: 16016
2004-08-24 07:43:48 +00:00
Brian Gaeke
e45386ab6e
note pr#
...
llvm-svn: 16015
2004-08-24 07:28:45 +00:00
Brian Gaeke
e91606291d
This code is dodgy, but the guaranteed assertion failure doesn't help anything.
...
llvm-svn: 16014
2004-08-24 06:41:40 +00:00
Brian Gaeke
ae3378f354
Fix bug in PhyRegAlloc::setCallInterferences() handling call through a
...
null pointer.
llvm-svn: 16013
2004-08-24 06:41:39 +00:00
Brian Gaeke
a4eb36282c
Revise head-of-file comment.
...
Eliminate some excess whitespace.
Fix bug in CallArgsDescriptor::get() handling call through a null pointer.
llvm-svn: 16012
2004-08-24 06:41:38 +00:00
Reid Spencer
7bb492ce48
Actually get the URL to my notes page correct.
...
llvm-svn: 16011
2004-08-24 05:40:25 +00:00
Reid Spencer
3ea54b0e0c
Correct my home page. Shorten my entry. Reference home page in description.
...
llvm-svn: 16010
2004-08-24 05:21:49 +00:00
Misha Brukman
c1ffd4e3b0
Change LVN -> Load-VN since that's the name of the cmdline switch
...
llvm-svn: 16009
2004-08-24 04:13:17 +00:00
Misha Brukman
cbda53fd58
Fix some grammar.
...
llvm-svn: 16008
2004-08-24 02:23:58 +00:00
Misha Brukman
e8231a380b
Added DSE, LICM, LVN, PRE, SCCP, and SSA
...
llvm-svn: 16007
2004-08-24 01:57:02 +00:00
Chris Lattner
05d5a44c02
Do not use .xword and friends to emit zeros on V9. Apparently there are issues
...
with emitting .xwords when not on an 8-byte boundary (.xword 0 is not the
same as 8 .byte 0's). Because we do not know when or when we are not aligned,
just emit bytes like the old V9 asmprinter did.
llvm-svn: 16006
2004-08-24 00:26:11 +00:00
Brian Gaeke
069b8ec2f4
A PR60 test case
...
llvm-svn: 16005
2004-08-23 20:49:33 +00:00
Misha Brukman
7d57943fb9
Document 'gmake install' vs. 'install-bytecode' (used for bytecode libs)
...
llvm-svn: 16004
2004-08-23 20:25:33 +00:00
Reid Spencer
5395049c0c
Moved small examples from /projects/SmallExamples to /examples.
...
Made the "ModuleMaker" into an example since its just one source file.
llvm-svn: 16003
2004-08-23 19:29:54 +00:00
Reid Spencer
8a934d5632
Moved the "SmallExamples" out of the /projects directory and into a new
...
/examples directory. History was maintained. These programs do not need to
be configured but things in /projects must be.
llvm-svn: 16002
2004-08-23 19:28:39 +00:00
Reid Spencer
80e10495c9
Fix Title line
...
Make the "DIRS" option descend any directory with a Makefile.
llvm-svn: 16001
2004-08-23 18:06:31 +00:00
Misha Brukman
fb7d96a4b5
Note: do not use GNU binutils under AIX, they're not stable.
...
llvm-svn: 16000
2004-08-23 17:54:45 +00:00
Reid Spencer
5fce8b675d
Change the makefile back so it descends any directory with a Makefile.
...
llvm-svn: 15999
2004-08-23 17:47:16 +00:00
Reid Spencer
1a74834506
Many useful corrections resulting from Chris Lattner's review. Thanks Chris!
...
Misha: you're next. :)
llvm-svn: 15996
2004-08-22 18:06:59 +00:00
Reid Spencer
da175fc4f5
Provide support for retaining the version number found in a config file.
...
llvm-svn: 15995
2004-08-22 18:03:25 +00:00
Reid Spencer
a0a8121591
Add the VERSION token.
...
llvm-svn: 15994
2004-08-22 18:02:41 +00:00
Reid Spencer
d4455d815e
Add support for version numbers.
...
Allow CRLF as a line terminator (as well as plain LF)
llvm-svn: 15993
2004-08-22 18:02:13 +00:00
Reid Spencer
59652b454a
Shorten lines so this file can be used as the documentation example
...
directly. Remove -pre (experimental pass).
llvm-svn: 15992
2004-08-22 18:01:19 +00:00
Nate Begeman
0069f07741
Kill a majority of unnecessary sign extensions for byte loads
...
llvm-svn: 15991
2004-08-22 08:10:15 +00:00
Nate Begeman
72ec463dc7
Don't hard code the offset of the saved R31 in functions with frame pointers
...
llvm-svn: 15990
2004-08-22 08:09:17 +00:00
Misha Brukman
3d24bdbb1d
Bytecode libraries are installed with `make install-bytecode'
...
llvm-svn: 15989
2004-08-21 23:40:49 +00:00
Reid Spencer
7c4d8f246f
First complete version. The details of configuration are now correctly
...
stated. PLEASE REVIEW THIS DOCUMENT NOW! :)
llvm-svn: 15988
2004-08-21 22:37:42 +00:00
Reid Spencer
7117a132ea
Initial checkin of a pass to lower packed operations to scalars operations.
...
This also registers the pass with opt with a -lower-packed command line
option.
Patch contributed by Brad Jones.
llvm-svn: 15987
2004-08-21 21:39:24 +00:00
Reid Spencer
be70baea8a
Correct to change interface of the analyzer.
...
llvm-svn: 15986
2004-08-21 21:00:24 +00:00
Reid Spencer
d7d70bdccb
Bytecode Analyzer Cleanup:
...
- Rearrange output order to make more sense
- Make only the function level output count as "detailed"
- Output dump output directly to stream, don't buffer it.
- Fix counting of block sizes
- Implement new handlers for number of types, dependent libs, target triple
- Compute the size of block headers.
llvm-svn: 15985
2004-08-21 20:58:19 +00:00
Reid Spencer
4c9c991659
Get rid of an extraneous local variable.
...
llvm-svn: 15984
2004-08-21 20:53:56 +00:00
Reid Spencer
84d4e1b105
Two Changes:
...
- Pass the output stream to the analyzer so it can write its output there
directly instead of buffering it.
- Don't pass a boolean to ParseBytecode because its not needed any more.
llvm-svn: 15983
2004-08-21 20:52:03 +00:00
Reid Spencer
c0868628e0
Add boolean file format flags in preparation for version 5 bytecode.
...
Remove the "processFunctions" boolean from ParseBytecode as it is no
longer needed. This is part of avoiding double reading of functions
when analyzing bytecode.
llvm-svn: 15982
2004-08-21 20:50:49 +00:00
Reid Spencer
09976167c1
Bytecode Reader Cleanup:
...
- provide the correct conversion for ModuleBlockID in read_block (a potential
bug but not actually exploited because reading module block ids doesn't
use read_block).
- install support for handleTypeList handler
- install support for handleDependentLibrary handler
- install support for handleTargetTriple handler
- clean up comments, output strings,
- ensure that processing function arguments doesn't SIGSEGV if one of the
arguments is a null pointer (yeah, it happened .. weird)
- prepare for version 5 bytecode by documenting what will change.
llvm-svn: 15981
2004-08-21 20:49:23 +00:00
Reid Spencer
0d6613d183
Dump the DependentLibsBlockID, its not a block, its just a list inside the
...
globals info block. Add an enumerator for getting the number of enumerators
so we can range check in assertions.
llvm-svn: 15980
2004-08-21 20:42:28 +00:00
Nate Begeman
e6aace2ecb
Back out branchless SetCC code. While it helped a lot in some cases, it
...
hurt a lot in others. Instead, improve branching version of SetCC and
Select instructions. The old code will be in CVS should we ever need to
dig it up again.
llvm-svn: 15979
2004-08-21 20:42:14 +00:00
Reid Spencer
d73bd282d7
Add new methods:
...
- get the total number of types in the global type list
- handle dependent libraries
- handle target triple
llvm-svn: 15978
2004-08-21 20:41:12 +00:00
Reid Spencer
f6a56abd4d
Bytecode Analyzer cleanup:
...
- don't save the "dump" output, just emit it
- record the bc version number
- record info about the dependent libraries and target triple
- use the correct enumeration as the index on the block size map
llvm-svn: 15977
2004-08-21 20:40:08 +00:00
Chris Lattner
e35741184e
Alignment is now in bits.
...
llvm-svn: 15976
2004-08-21 20:15:25 +00:00
Chris Lattner
15593f74c1
Switch from bytes to bits for alignment.
...
Also, change GPRC for PPC32 to align on 32-bit boundary instead of 64-bit
llvm-svn: 15975
2004-08-21 20:14:40 +00:00
Chris Lattner
64d3bc5e85
Switch from bytes to bits for alignment for consistency
...
llvm-svn: 15974
2004-08-21 20:14:13 +00:00
Chris Lattner
4427fd9a3c
Reduce uses of getRegClass
...
llvm-svn: 15973
2004-08-21 20:13:52 +00:00
Chris Lattner
ac0dba87bd
Convert regclass alignment from bytes to bites
...
llvm-svn: 15972
2004-08-21 20:13:09 +00:00
Chris Lattner
484126d8f8
Convert bytes to bits in alignment
...
llvm-svn: 15971
2004-08-21 20:09:46 +00:00
Chris Lattner
0df8bcf2fa
Register info alignment is in bits, frame object alignment is (currently) in
...
bytes.
llvm-svn: 15970
2004-08-21 20:04:59 +00:00
Chris Lattner
e88b8e3471
Make alignment be in bits, just like size is
...
llvm-svn: 15969
2004-08-21 20:00:36 +00:00
Chris Lattner
db3e26f50a
Reduce uses of getRegClass
...
llvm-svn: 15968
2004-08-21 19:51:17 +00:00
Chris Lattner
7ead36e4a4
Now that we have per-register spill size/alignment info, remove more uses
...
of getRegClass
llvm-svn: 15967
2004-08-21 19:45:10 +00:00
Chris Lattner
d4ec8aeb62
Infer the spillsize/alignment of a register based on the register classes
...
it is embedded into.
llvm-svn: 15966
2004-08-21 19:42:03 +00:00