oota-llvm.git
20 years agoUpdate the To-Do list according to my notes + assertions
Brian Gaeke [Fri, 6 Aug 2004 04:38:13 +0000 (04:38 +0000)]
Update the To-Do list according to my notes + assertions

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15535 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdded Louis Gerbarg. Louis is given credit in the CREDITS.TXT file, so I
John Criswell [Thu, 5 Aug 2004 23:46:27 +0000 (23:46 +0000)]
Added Louis Gerbarg.  Louis is given credit in the CREDITS.TXT file, so I
assume Louis also holds copyright.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15534 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMore prominantly mention ppc support, more accurately describe its status
Chris Lattner [Thu, 5 Aug 2004 21:53:13 +0000 (21:53 +0000)]
More prominantly mention ppc support, more accurately describe its status

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15533 91177308-0d34-0410-b5e6-96231b3b80d8

20 years ago* Mention PowerPC as new feature, and experimental feature
Misha Brukman [Thu, 5 Aug 2004 21:04:03 +0000 (21:04 +0000)]
* Mention PowerPC as new feature, and experimental feature
* Wrap long lines to 80 cols

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15532 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd additional copyright notice for the PowerPC backend.
John Criswell [Thu, 5 Aug 2004 20:36:00 +0000 (20:36 +0000)]
Add additional copyright notice for the PowerPC backend.
Thanks Nate!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15531 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoSplit out -disable-codegen into -disable-llc and -disable-jit.
Brian Gaeke [Thu, 5 Aug 2004 19:54:59 +0000 (19:54 +0000)]
Split out -disable-codegen into -disable-llc and -disable-jit.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15530 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoWe now have the PowerPC backend, thanks to Nate Begeman and Luis Gerbarg!
Misha Brukman [Thu, 5 Aug 2004 19:09:47 +0000 (19:09 +0000)]
We now have the PowerPC backend, thanks to Nate Begeman and Luis Gerbarg!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15529 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoSimplify makefile by combining all TableGen dependencies into one variable
Misha Brukman [Thu, 5 Aug 2004 18:34:15 +0000 (18:34 +0000)]
Simplify makefile by combining all TableGen dependencies into one variable

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15527 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agowhile we're at it, make the libraries be on separate lines
Chris Lattner [Thu, 5 Aug 2004 18:32:57 +0000 (18:32 +0000)]
while we're at it, make the libraries be on separate lines

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15526 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoLines need to end with \ to make sure they're actually continued
Misha Brukman [Thu, 5 Aug 2004 18:31:33 +0000 (18:31 +0000)]
Lines need to end with \ to make sure they're actually continued

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15525 91177308-0d34-0410-b5e6-96231b3b80d8

20 years ago* Add PowerPC library to LLC
Misha Brukman [Thu, 5 Aug 2004 18:24:11 +0000 (18:24 +0000)]
* Add PowerPC library to LLC
* Fit used libraries on a few lines

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15524 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoPowerPC is a real target now.
Misha Brukman [Thu, 5 Aug 2004 18:22:30 +0000 (18:22 +0000)]
PowerPC is a real target now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15522 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoThis file is obsolete
Chris Lattner [Thu, 5 Aug 2004 17:45:32 +0000 (17:45 +0000)]
This file is obsolete

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15521 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMake GlobalVariable constructor assert when an initializer is of
Alkis Evlogimenos [Thu, 5 Aug 2004 11:28:34 +0000 (11:28 +0000)]
Make GlobalVariable constructor assert when an initializer is of
incorrect type.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15519 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agosparcv9select is history.
Brian Gaeke [Thu, 5 Aug 2004 05:17:19 +0000 (05:17 +0000)]
sparcv9select is history.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15516 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoC++ support does not live in the C runtime any longer
Chris Lattner [Thu, 5 Aug 2004 02:28:17 +0000 (02:28 +0000)]
C++ support does not live in the C runtime any longer

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15515 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoTwo files are moved to libstdc++, and a NOTE gets added
Chris Lattner [Thu, 5 Aug 2004 02:27:28 +0000 (02:27 +0000)]
Two files are moved to libstdc++, and a NOTE gets added

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15514 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd missing copyrights
Chris Lattner [Thu, 5 Aug 2004 00:20:51 +0000 (00:20 +0000)]
Add missing copyrights

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15513 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoTurn a use of intptr_t into a reinterpret_cast<uint64_t> instead to get
Reid Spencer [Wed, 4 Aug 2004 22:56:46 +0000 (22:56 +0000)]
Turn a use of intptr_t into a reinterpret_cast<uint64_t> instead to get
rid of compilation warnings on some platforms.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15512 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix another minor problem that exists if you ahve multiple functions with
Chris Lattner [Wed, 4 Aug 2004 22:39:54 +0000 (22:39 +0000)]
Fix another minor problem that exists if you ahve multiple functions with
nonunifiable types but the same name.  Down with PR411!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15511 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix a typeo
Chris Lattner [Wed, 4 Aug 2004 22:29:05 +0000 (22:29 +0000)]
Fix a typeo

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15510 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd a hack to work around a problem my changes exposed
Chris Lattner [Wed, 4 Aug 2004 22:26:13 +0000 (22:26 +0000)]
Add a hack to work around a problem my changes exposed

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15509 91177308-0d34-0410-b5e6-96231b3b80d8

20 years ago* Added documentation in the file header
Misha Brukman [Wed, 4 Aug 2004 22:07:54 +0000 (22:07 +0000)]
* Added documentation in the file header
* Shorten assert() text to make it fit within 80 cols

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15508 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoSurround code element with <tt> tags
Misha Brukman [Wed, 4 Aug 2004 22:00:05 +0000 (22:00 +0000)]
Surround code element with <tt> tags

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15507 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoHand-propagate the constant TARGET_NAME which was making lines wrap anyway
Misha Brukman [Wed, 4 Aug 2004 21:48:45 +0000 (21:48 +0000)]
Hand-propagate the constant TARGET_NAME which was making lines wrap anyway

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15506 91177308-0d34-0410-b5e6-96231b3b80d8

20 years ago* Remove unnecessary comment
Misha Brukman [Wed, 4 Aug 2004 21:48:00 +0000 (21:48 +0000)]
* Remove unnecessary comment
* Fix alignment of code
* Tabs to spaces

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15505 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAlign dependencies so they don't hurt the eyes to look at them
Misha Brukman [Wed, 4 Aug 2004 21:37:41 +0000 (21:37 +0000)]
Align dependencies so they don't hurt the eyes to look at them

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15504 91177308-0d34-0410-b5e6-96231b3b80d8

20 years ago* Convert C++ comments to C
Misha Brukman [Wed, 4 Aug 2004 21:19:49 +0000 (21:19 +0000)]
* Convert C++ comments to C
* Add UIUC copyright notice headers

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15503 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoShared libraries are usually prepended with `lib'
Misha Brukman [Wed, 4 Aug 2004 21:19:27 +0000 (21:19 +0000)]
Shared libraries are usually prepended with `lib'

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15502 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRemove unused instruction classes
Misha Brukman [Wed, 4 Aug 2004 21:18:57 +0000 (21:18 +0000)]
Remove unused instruction classes

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15501 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMake tablegen targets depend on PowerPCInstrFormats.td as well
Misha Brukman [Wed, 4 Aug 2004 21:18:36 +0000 (21:18 +0000)]
Make tablegen targets depend on PowerPCInstrFormats.td as well

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15500 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix a latent bug exposed by my recent changes
Chris Lattner [Wed, 4 Aug 2004 18:50:09 +0000 (18:50 +0000)]
Fix a latent bug exposed by my recent changes

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15498 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMove method out of line
Chris Lattner [Wed, 4 Aug 2004 18:49:52 +0000 (18:49 +0000)]
Move method out of line

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15497 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoIt is not possible to catch SIGKILL, don't bother trying.
Chris Lattner [Wed, 4 Aug 2004 18:14:24 +0000 (18:14 +0000)]
It is not possible to catch SIGKILL, don't bother trying.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15496 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agogetValues does not exist
Chris Lattner [Wed, 4 Aug 2004 17:29:14 +0000 (17:29 +0000)]
getValues does not exist

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15495 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agogetValues is gone
Chris Lattner [Wed, 4 Aug 2004 17:27:27 +0000 (17:27 +0000)]
getValues is gone

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15494 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoClean up whitespace.
Alkis Evlogimenos [Wed, 4 Aug 2004 09:46:56 +0000 (09:46 +0000)]
Clean up whitespace.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15490 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoConvert indentation to 2 spaces.
Alkis Evlogimenos [Wed, 4 Aug 2004 09:46:26 +0000 (09:46 +0000)]
Convert indentation to 2 spaces.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15489 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRemove uneeded getValues() functions.
Alkis Evlogimenos [Wed, 4 Aug 2004 08:47:21 +0000 (08:47 +0000)]
Remove uneeded getValues() functions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15488 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoStop using getValues().
Alkis Evlogimenos [Wed, 4 Aug 2004 08:44:43 +0000 (08:44 +0000)]
Stop using getValues().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15487 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix a major regression in my previous checkin
Chris Lattner [Wed, 4 Aug 2004 08:30:43 +0000 (08:30 +0000)]
Fix a major regression in my previous checkin

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15486 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoStop using getValues().
Alkis Evlogimenos [Wed, 4 Aug 2004 08:08:13 +0000 (08:08 +0000)]
Stop using getValues().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15485 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agogetResultPos() is dead.
Brian Gaeke [Wed, 4 Aug 2004 08:06:30 +0000 (08:06 +0000)]
getResultPos() is dead.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15484 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoGet rid of the only use of TargetInstrInfo::getResultPos(), a deprecated method.
Brian Gaeke [Wed, 4 Aug 2004 08:05:27 +0000 (08:05 +0000)]
Get rid of the only use of TargetInstrInfo::getResultPos(), a deprecated method.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15483 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoStop using getValues().
Alkis Evlogimenos [Wed, 4 Aug 2004 08:02:59 +0000 (08:02 +0000)]
Stop using getValues().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15482 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd note
Chris Lattner [Wed, 4 Aug 2004 08:00:45 +0000 (08:00 +0000)]
Add note

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15481 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFindGlobalNamed used to take 2.92s out of 8.39s running a profile build of
Chris Lattner [Wed, 4 Aug 2004 07:44:58 +0000 (07:44 +0000)]
FindGlobalNamed used to take 2.92s out of 8.39s running a profile build of
gccld -disable-opt on 252.eon.

This patch deletes it and replaces it with a map.  The proper fix for this
is to fix PR411, but this will do in the short term.

gccld on eon now takes 5.51s, which is 50% faster than before this patch. :)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15480 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agosparcv9select is history
Brian Gaeke [Wed, 4 Aug 2004 07:39:21 +0000 (07:39 +0000)]
sparcv9select is history

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15479 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agolibsparcv9select is history
Brian Gaeke [Wed, 4 Aug 2004 07:38:52 +0000 (07:38 +0000)]
libsparcv9select is history

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15478 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoThese headers have been moved/merged into other files.
Brian Gaeke [Wed, 4 Aug 2004 07:37:56 +0000 (07:37 +0000)]
These headers have been moved/merged into other files.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15477 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoInclude SparcV9TmpInstr.h to pick up the def. of TmpInstruction,
Brian Gaeke [Wed, 4 Aug 2004 07:34:57 +0000 (07:34 +0000)]
Include SparcV9TmpInstr.h to pick up the def. of TmpInstruction,
instead of InstrSelection.h, which is dead.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15476 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoTighten up some whitespace. Include SparcV9TmpInstr.h to pick up
Brian Gaeke [Wed, 4 Aug 2004 07:34:44 +0000 (07:34 +0000)]
Tighten up some whitespace.  Include SparcV9TmpInstr.h to pick up
the def. of TmpInstruction, instead of InstrSelection.h, which is
dead.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15475 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoInclude SparcV9BurgISel.h, to pick up the definition of
Brian Gaeke [Wed, 4 Aug 2004 07:30:04 +0000 (07:30 +0000)]
Include SparcV9BurgISel.h, to pick up the definition of
createSparcV9BurgInstSelector().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15474 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoInclude SparcV9TmpInstr.h instead of llvm/CodeGen/InstrSelection.h, to pick
Brian Gaeke [Wed, 4 Aug 2004 07:29:53 +0000 (07:29 +0000)]
Include SparcV9TmpInstr.h instead of llvm/CodeGen/InstrSelection.h, to pick
up the definition of class TmpInstruction.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15473 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoInclude SparcV9BurgISel.h, because PreSelection uses routines from within
Brian Gaeke [Wed, 4 Aug 2004 07:29:40 +0000 (07:29 +0000)]
Include SparcV9BurgISel.h, because PreSelection uses routines from within
the SparcV9 BURG instruction selector.  Eww!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15472 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd a Doxygen comment, and inline the constructor (which is now almost empty).
Brian Gaeke [Wed, 4 Aug 2004 07:29:28 +0000 (07:29 +0000)]
Add a Doxygen comment, and inline the constructor (which is now almost empty).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15471 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoThe InstrForest data type has moved from llvm/CodeGen/InstrForest.h
Brian Gaeke [Wed, 4 Aug 2004 07:29:16 +0000 (07:29 +0000)]
The InstrForest data type has moved from llvm/CodeGen/InstrForest.h
to SparcV9InstrForest.h.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15470 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd a new file containing just TmpInstruction and its implementation.
Brian Gaeke [Wed, 4 Aug 2004 07:29:04 +0000 (07:29 +0000)]
Add a new file containing just TmpInstruction and its implementation.
Many other pieces of the SparcV9 backend want to use TmpInstruction, but
don't need any other instruction selector baggage.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15469 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAll the SparcV9 BURG instruction selector pieces have been collected into the
Brian Gaeke [Wed, 4 Aug 2004 07:28:51 +0000 (07:28 +0000)]
All the SparcV9 BURG instruction selector pieces have been collected into the
new file SparcV9BurgISel.cpp, with exposed interfaces in SparcV9BurgISel.h.
The InstrSelection directory is now dead.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15468 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoI swear I compiled this, really I did.
Chris Lattner [Wed, 4 Aug 2004 07:28:06 +0000 (07:28 +0000)]
I swear I compiled this, really I did.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15467 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFactor some code out, no substantial change.
Chris Lattner [Wed, 4 Aug 2004 07:05:54 +0000 (07:05 +0000)]
Factor some code out, no substantial change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15466 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoConcisify some code
Chris Lattner [Wed, 4 Aug 2004 06:05:47 +0000 (06:05 +0000)]
Concisify some code
Do not call FindGlobalNamed when we know we will ignore the result (because
we are not going to link a static symbol anyway).  This speeds up
gccld -disable-opt on 252.eon from 8.63s to 8.39s.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15465 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix linkage types
Chris Lattner [Wed, 4 Aug 2004 05:10:48 +0000 (05:10 +0000)]
Fix linkage types

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15464 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoImplement a FIXME, by not searching linearly through a map to remove an
Chris Lattner [Wed, 4 Aug 2004 04:48:01 +0000 (04:48 +0000)]
Implement a FIXME, by not searching linearly through a map to remove an
element.  This speeds up the bytecode reader from 12.86s to 8.72s on 252.eon.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15463 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoNew methods
Chris Lattner [Wed, 4 Aug 2004 04:45:42 +0000 (04:45 +0000)]
New methods

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15462 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMinor efficiency improvements
Chris Lattner [Wed, 4 Aug 2004 04:45:29 +0000 (04:45 +0000)]
Minor efficiency improvements

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15461 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoSquelch warnings in release mode
Chris Lattner [Wed, 4 Aug 2004 03:51:55 +0000 (03:51 +0000)]
Squelch warnings in release mode

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15460 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoNow that ConstantPointerRef is gone, it is the case that all operands of constants
Chris Lattner [Wed, 4 Aug 2004 02:43:00 +0000 (02:43 +0000)]
Now that ConstantPointerRef is gone, it is the case that all operands of constants
are themselves constants.  This should allow us to reduce a significant amount
of casting in the sourcebase.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15459 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd a special version of getType for ConstantPointerNull, exposing the fact
Chris Lattner [Wed, 4 Aug 2004 02:42:17 +0000 (02:42 +0000)]
Add a special version of getType for ConstantPointerNull, exposing the fact
that all Null pointers have pointer type

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15458 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd a cast
Chris Lattner [Wed, 4 Aug 2004 02:27:17 +0000 (02:27 +0000)]
Add a cast

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15457 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdded note for PR413
Reid Spencer [Wed, 4 Aug 2004 00:43:50 +0000 (00:43 +0000)]
Added note for PR413
Tools now respond to the --version option.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15456 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoChange SymbolTable::insertEntry to be more careful about how many map
Chris Lattner [Wed, 4 Aug 2004 00:37:31 +0000 (00:37 +0000)]
Change SymbolTable::insertEntry to be more careful about how many map
lookups it does.  This shaves another 5% off of bcreading 252.eon.  Note that
the proper solution to this problem is to fix PR411, but that will have to
wait until later.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15455 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd a --version option for every tool that prints out:
Reid Spencer [Wed, 4 Aug 2004 00:36:06 +0000 (00:36 +0000)]
Add a --version option for every tool that prints out:
Low Level Virtual Machine ($PACKAGE_NAME) $PACKAGE_VERSION

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15454 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoChange the package identification to use one less level of quoting so that
Reid Spencer [Wed, 4 Aug 2004 00:34:49 +0000 (00:34 +0000)]
Change the package identification to use one less level of quoting so that
PACKAGE_VERSION = "1.3" instead of "[1.3]". Rebuild configure script.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15453 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMake getGlobalTableValue not use getTypeSlot, this speeds up the bc reader
Chris Lattner [Wed, 4 Aug 2004 00:19:23 +0000 (00:19 +0000)]
Make getGlobalTableValue not use getTypeSlot, this speeds up the bc reader
by 5% on eon

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15452 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoThe Type* is redundant with the TypeSlot
Chris Lattner [Wed, 4 Aug 2004 00:18:37 +0000 (00:18 +0000)]
The Type* is redundant with the TypeSlot

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15451 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoDo not do a linear std::find to reconstruct information we had, but later threw
Chris Lattner [Tue, 3 Aug 2004 23:41:28 +0000 (23:41 +0000)]
Do not do a linear std::find to reconstruct information we had, but later threw
away.  This speeds up by .bc reader by 30% in a profile build on 252.eon.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15450 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoLine length <= 80 cols.
Reid Spencer [Tue, 3 Aug 2004 20:57:56 +0000 (20:57 +0000)]
Line length <= 80 cols.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15449 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix some indentation (so brg can test commit script).
Reid Spencer [Tue, 3 Aug 2004 20:33:56 +0000 (20:33 +0000)]
Fix some indentation (so brg can test commit script).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15448 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRemove unused opcodes.
Misha Brukman [Tue, 3 Aug 2004 20:23:44 +0000 (20:23 +0000)]
Remove unused opcodes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15447 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix line lengths.
Reid Spencer [Tue, 3 Aug 2004 20:21:05 +0000 (20:21 +0000)]
Fix line lengths.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15446 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoTesting the commit-diffs script again.
Brian Gaeke [Tue, 3 Aug 2004 20:14:03 +0000 (20:14 +0000)]
Testing the commit-diffs script again.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15445 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoLet's try it again.
Brian Gaeke [Tue, 3 Aug 2004 20:02:52 +0000 (20:02 +0000)]
Let's try it again.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15444 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAnother test.
Brian Gaeke [Tue, 3 Aug 2004 20:01:10 +0000 (20:01 +0000)]
Another test.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15443 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoTesting...one more time.
Brian Gaeke [Tue, 3 Aug 2004 20:00:04 +0000 (20:00 +0000)]
Testing...one more time.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15442 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoProperly wrap some lines.
Reid Spencer [Tue, 3 Aug 2004 19:20:18 +0000 (19:20 +0000)]
Properly wrap some lines.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15440 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdded llvmcs to my list.
Reid Spencer [Tue, 3 Aug 2004 19:13:16 +0000 (19:13 +0000)]
Added llvmcs to my list.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15439 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoTesting... One more time...
Brian Gaeke [Tue, 3 Aug 2004 19:07:20 +0000 (19:07 +0000)]
Testing... One more time...

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15438 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoJust testing
Brian Gaeke [Tue, 3 Aug 2004 19:06:08 +0000 (19:06 +0000)]
Just testing

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15437 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agotesting
Brian Gaeke [Tue, 3 Aug 2004 19:04:14 +0000 (19:04 +0000)]
testing

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15436 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoTesting commit-diffs.pl
Brian Gaeke [Tue, 3 Aug 2004 18:59:19 +0000 (18:59 +0000)]
Testing commit-diffs.pl

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15435 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMoved into SparcV9 directory
Chris Lattner [Tue, 3 Aug 2004 04:15:32 +0000 (04:15 +0000)]
Moved into SparcV9 directory

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15430 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMove this file out of the top-level docs directory
Chris Lattner [Tue, 3 Aug 2004 04:15:02 +0000 (04:15 +0000)]
Move this file out of the top-level docs directory

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15429 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoSimplify the first example, as the LLVM IR interfaces have evolved. Other
Chris Lattner [Tue, 3 Aug 2004 00:17:21 +0000 (00:17 +0000)]
Simplify the first example, as the LLVM IR interfaces have evolved.  Other
examples in this doc could also be simplified dramatically in similar ways.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15428 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoUse the new prcontext script.
John Criswell [Mon, 2 Aug 2004 22:31:58 +0000 (22:31 +0000)]
Use the new prcontext script.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15427 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd support for using the prcontext python script instead of grep -C.
John Criswell [Mon, 2 Aug 2004 22:29:38 +0000 (22:29 +0000)]
Add support for using the prcontext python script instead of grep -C.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15426 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoNew python script that print a specified number of lines surrounding a
John Criswell [Mon, 2 Aug 2004 22:28:50 +0000 (22:28 +0000)]
New python script that print a specified number of lines surrounding a
located pattern.
In other words, grep -C for Solaris.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15425 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoSet a variable so that we can find the python interpreter.
John Criswell [Mon, 2 Aug 2004 22:24:39 +0000 (22:24 +0000)]
Set a variable so that we can find the python interpreter.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15424 91177308-0d34-0410-b5e6-96231b3b80d8

20 years ago* Use simpler instruction templates to define instructions
Misha Brukman [Mon, 2 Aug 2004 21:58:52 +0000 (21:58 +0000)]
* Use simpler instruction templates to define instructions
* Fix several extended opcodes

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15423 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoReplace patterns 0, 4, and 5 with simpler heirarchical definitions that use the
Misha Brukman [Mon, 2 Aug 2004 21:56:35 +0000 (21:56 +0000)]
Replace patterns 0, 4, and 5 with simpler heirarchical definitions that use the
official PowerPC instruction format lingo: X- and D-form.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15422 91177308-0d34-0410-b5e6-96231b3b80d8