oota-llvm.git
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

20 years agoAdd link for IRC
Chris Lattner [Mon, 2 Aug 2004 21:37:11 +0000 (21:37 +0000)]
Add link for IRC

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

20 years agoWritten by
Chris Lattner [Mon, 2 Aug 2004 21:33:45 +0000 (21:33 +0000)]
Written by

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

20 years agocontinue hacking
Chris Lattner [Mon, 2 Aug 2004 21:32:08 +0000 (21:32 +0000)]
continue hacking

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

20 years agoRevamp the index page
Chris Lattner [Mon, 2 Aug 2004 21:29:20 +0000 (21:29 +0000)]
Revamp the index page

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

20 years ago... now real HTML 4.01 strict!
Chris Lattner [Mon, 2 Aug 2004 20:29:51 +0000 (20:29 +0000)]
... now real HTML 4.01 strict!

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

20 years agoSubstantially hack on and clean up the release notes
Chris Lattner [Mon, 2 Aug 2004 20:28:44 +0000 (20:28 +0000)]
Substantially hack on and clean up the release notes

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

20 years agoHide this option
Chris Lattner [Mon, 2 Aug 2004 20:16:21 +0000 (20:16 +0000)]
Hide this option

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

20 years agoSeparate instruction formats from instruction definitions.
Misha Brukman [Mon, 2 Aug 2004 16:54:54 +0000 (16:54 +0000)]
Separate instruction formats from instruction definitions.

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

20 years agoAdd #include <cstdlib> and abort() to silence a warning
Misha Brukman [Mon, 2 Aug 2004 14:02:21 +0000 (14:02 +0000)]
Add #include <cstdlib> and abort() to silence a warning

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

20 years ago* ceil() requires #include <cmath> for compilation
Misha Brukman [Mon, 2 Aug 2004 13:59:10 +0000 (13:59 +0000)]
* ceil() requires #include <cmath> for compilation
* Alphabetize #includes
* Fix some lines to fit within 80 cols

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

20 years agoThis pass has proven its metal, remove -disable option.
Chris Lattner [Mon, 2 Aug 2004 10:10:08 +0000 (10:10 +0000)]
This pass has proven its metal, remove -disable option.

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

20 years agoFix a regression in InstCombine/xor.ll
Chris Lattner [Sun, 1 Aug 2004 19:42:59 +0000 (19:42 +0000)]
Fix a regression in InstCombine/xor.ll

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

20 years agoFix a warning
Chris Lattner [Sun, 1 Aug 2004 19:31:30 +0000 (19:31 +0000)]
Fix a warning

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

20 years agoAdding ModuloScheduling so that it compiles for everyone.
Tanya Lattner [Sun, 1 Aug 2004 19:00:17 +0000 (19:00 +0000)]
Adding ModuloScheduling so that it compiles for everyone.

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

20 years agoAdding friend MSSchedule for ModuloScheduling pass.
Tanya Lattner [Sun, 1 Aug 2004 18:57:38 +0000 (18:57 +0000)]
Adding friend MSSchedule for ModuloScheduling pass.

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

20 years agoFix warning
Chris Lattner [Sun, 1 Aug 2004 18:17:36 +0000 (18:17 +0000)]
Fix warning

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

20 years agoInitial testcase for bytecode compatibility regression test.
Chris Lattner [Sun, 1 Aug 2004 18:06:28 +0000 (18:06 +0000)]
Initial testcase for bytecode compatibility regression test.

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

20 years agoUpdate.
Reid Spencer [Sun, 1 Aug 2004 16:30:24 +0000 (16:30 +0000)]
Update.

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

20 years agoConvert all I<> instructions to asmformat.
Chris Lattner [Sun, 1 Aug 2004 09:52:59 +0000 (09:52 +0000)]
Convert all I<> instructions to asmformat.
Delete the 'name' field of all instructions that have asmformats.

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

20 years agoDereferencing end() is bad.
Chris Lattner [Sun, 1 Aug 2004 09:51:42 +0000 (09:51 +0000)]
Dereferencing end() is bad.

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

20 years agoAdd some immediate forms, make name optional
Chris Lattner [Sun, 1 Aug 2004 09:36:44 +0000 (09:36 +0000)]
Add some immediate forms, make name optional

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

20 years agoBe picky
Chris Lattner [Sun, 1 Aug 2004 08:55:34 +0000 (08:55 +0000)]
Be picky

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

20 years agoInstructions no longer need to have names.
Chris Lattner [Sun, 1 Aug 2004 08:38:17 +0000 (08:38 +0000)]
Instructions no longer need to have names.

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

20 years agoEliminate 3 of the X86 printImplicit* flags.
Chris Lattner [Sun, 1 Aug 2004 08:23:17 +0000 (08:23 +0000)]
Eliminate 3 of the X86 printImplicit* flags.

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

20 years agoGet rid of 3 of the 4 'printimplicit' flags. Implicit operands are now
Chris Lattner [Sun, 1 Aug 2004 08:22:29 +0000 (08:22 +0000)]
Get rid of 3 of the 4 'printimplicit' flags.  Implicit operands are now
explicitly listed in the asm string.

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

20 years agoConvert more instructions over to the asmprinter
Chris Lattner [Sun, 1 Aug 2004 08:13:11 +0000 (08:13 +0000)]
Convert more instructions over to the asmprinter

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

20 years agoHandle registers a bit more efficiently
Chris Lattner [Sun, 1 Aug 2004 08:12:41 +0000 (08:12 +0000)]
Handle registers a bit more efficiently

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

20 years agogive FP stack registers names
Chris Lattner [Sun, 1 Aug 2004 08:12:13 +0000 (08:12 +0000)]
give FP stack registers names

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

20 years agoSwitch more instructions over to using the asmprinter. Fix bugs in the emission
Chris Lattner [Sun, 1 Aug 2004 07:44:35 +0000 (07:44 +0000)]
Switch more instructions over to using the asmprinter.  Fix bugs in the emission
of in/out instructions (missing %'s on registers).

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

20 years agoThe tblgen'erated asmparser wants a way to print operands.
Chris Lattner [Sun, 1 Aug 2004 07:43:46 +0000 (07:43 +0000)]
The tblgen'erated asmparser wants a way to print operands.

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

20 years agoAdd support for asm printing machine instructions that have operands.
Chris Lattner [Sun, 1 Aug 2004 07:43:02 +0000 (07:43 +0000)]
Add support for asm printing machine instructions that have operands.

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

20 years agoParse the operand list of the instruction. We currently support register and immedia...
Chris Lattner [Sun, 1 Aug 2004 07:42:39 +0000 (07:42 +0000)]
Parse the operand list of the instruction.  We currently support register and immediate operands.

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

20 years agoRename the Printer class -> X86AsmPrinter.
Chris Lattner [Sun, 1 Aug 2004 06:02:08 +0000 (06:02 +0000)]
Rename the Printer class -> X86AsmPrinter.
Include the tablegenerated assembly writer.

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

20 years agoFactor a bunch of the rules and add support for generating the asmwriter.
Chris Lattner [Sun, 1 Aug 2004 06:01:32 +0000 (06:01 +0000)]
Factor a bunch of the rules and add support for generating the asmwriter.

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

20 years agoSpecify an asm string and operands lists for a bunch of instructions.
Chris Lattner [Sun, 1 Aug 2004 06:01:00 +0000 (06:01 +0000)]
Specify an asm string and operands lists for a bunch of instructions.
This only really covers no-operand instructions so far.

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

20 years agoInitial cut at an asm writer emitter. So far, this only handles emission of
Chris Lattner [Sun, 1 Aug 2004 05:59:33 +0000 (05:59 +0000)]
Initial cut at an asm writer emitter.  So far, this only handles emission of
instructions, and only instructions that take no operands at that!

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

20 years agoAdd, and start using, the CodeGenInstruction class. This class represents
Chris Lattner [Sun, 1 Aug 2004 05:04:00 +0000 (05:04 +0000)]
Add, and start using, the CodeGenInstruction class.  This class represents
an instance of the Instruction tablegen class.

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

20 years agoAdd the 'ops' marker, add an AsmString initializer
Chris Lattner [Sun, 1 Aug 2004 04:40:43 +0000 (04:40 +0000)]
Add the 'ops' marker, add an AsmString initializer

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

20 years agoRename CodeGenWrappers.(cpp|h) -> CodeGenTarget.(cpp|h)
Chris Lattner [Sun, 1 Aug 2004 04:04:35 +0000 (04:04 +0000)]
Rename CodeGenWrappers.(cpp|h) -> CodeGenTarget.(cpp|h)

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

20 years agoFinegrainify namespacification
Chris Lattner [Sun, 1 Aug 2004 03:55:39 +0000 (03:55 +0000)]
Finegrainify namespacification

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

20 years agoCompletely disable the pattern isel until it is more substantial.
Chris Lattner [Sun, 1 Aug 2004 03:28:02 +0000 (03:28 +0000)]
Completely disable the pattern isel until it is more substantial.

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

20 years agoEntirely eliminate all patterns and expanders from this file. We shall go
Chris Lattner [Sun, 1 Aug 2004 03:25:01 +0000 (03:25 +0000)]
Entirely eliminate all patterns and expanders from this file.  We shall go
with an incremental approach rather than a revolutionary approach.

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