oota-llvm.git
21 years agoAdded declaration of mergeInGlobalsGraph
Sumant Kowshik [Tue, 5 Aug 2003 17:06:18 +0000 (17:06 +0000)]
Added declaration of mergeInGlobalsGraph

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

21 years agoAdded function mergeInGlobalsGraph which merges in the entire globals graph with...
Sumant Kowshik [Tue, 5 Aug 2003 17:04:41 +0000 (17:04 +0000)]
Added function mergeInGlobalsGraph which merges in the entire globals graph with the graph of a function

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

21 years agoMajor bug fixes including a memory leak and tracking some exceptional conditions...
Sumant Kowshik [Tue, 5 Aug 2003 17:01:54 +0000 (17:01 +0000)]
Major bug fixes including a memory leak and tracking some exceptional conditions. Also added support for including global and indirect call information in the DS graphs used by the pool allocation

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

21 years agoSpecify DEBUG_TYPE's for the JIT debug messages
Chris Lattner [Tue, 5 Aug 2003 17:00:32 +0000 (17:00 +0000)]
Specify DEBUG_TYPE's for the JIT debug messages

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

21 years agoThis method has now been changed to preserve flags for us!
Chris Lattner [Tue, 5 Aug 2003 16:59:24 +0000 (16:59 +0000)]
This method has now been changed to preserve flags for us!

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

21 years agoAll callers of these methods actually wanted them to preserve the flags,
Chris Lattner [Tue, 5 Aug 2003 16:58:46 +0000 (16:58 +0000)]
All callers of these methods actually wanted them to preserve the flags,
so get rid of the def/use parameters that were getting passed in.

**** This now changes the semantics of these methods to preserve the flags,
     not clobber them!

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

21 years agoAdded the declaration of InlineIndirectCalls
Sumant Kowshik [Tue, 5 Aug 2003 16:56:59 +0000 (16:56 +0000)]
Added the declaration of InlineIndirectCalls

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

21 years agoFactor shared code
Chris Lattner [Tue, 5 Aug 2003 16:34:44 +0000 (16:34 +0000)]
Factor shared code

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

21 years agoFix bug: SimplifyCFG/2003-08-05-InvokeCrash.ll
Chris Lattner [Tue, 5 Aug 2003 16:27:44 +0000 (16:27 +0000)]
Fix bug: SimplifyCFG/2003-08-05-InvokeCrash.ll
Fix bug: SimplifyCFG/2003-08-05-MishandleInvoke.ll

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

21 years agonew testcases that simplifycfg breaks
Chris Lattner [Tue, 5 Aug 2003 16:11:36 +0000 (16:11 +0000)]
new testcases that simplifycfg breaks

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

21 years ago* Removed `using' declaration, now use full namespace qualifier std::string
Misha Brukman [Tue, 5 Aug 2003 16:01:50 +0000 (16:01 +0000)]
* Removed `using' declaration, now use full namespace qualifier std::string
* Simplified code by using an inline function instead of copy-pasted code

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

21 years agoIf we're debugging the SimplifyCFG pass, we _REALLY_ don't want to use it for
Chris Lattner [Tue, 5 Aug 2003 15:51:05 +0000 (15:51 +0000)]
If we're debugging the SimplifyCFG pass, we _REALLY_ don't want to use it for
narrowing, no matter what.

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

21 years agoImplement TODO: print out short form of Invoke if possible
Chris Lattner [Tue, 5 Aug 2003 15:34:45 +0000 (15:34 +0000)]
Implement TODO: print out short form of Invoke if possible

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

21 years agoOnly test the vector of functions if it is non-empty.
Misha Brukman [Tue, 5 Aug 2003 15:26:21 +0000 (15:26 +0000)]
Only test the vector of functions if it is non-empty.

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

21 years agoStop special-casing annul and predict bits (which are Sparc-specific anyway)
Misha Brukman [Tue, 5 Aug 2003 14:35:35 +0000 (14:35 +0000)]
Stop special-casing annul and predict bits (which are Sparc-specific anyway)
since those bits are now hard-coded in Sparc*.td files.

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

21 years ago* Set annul bit to be 0, because the Sparc backend currently does not use it.
Misha Brukman [Tue, 5 Aug 2003 14:34:38 +0000 (14:34 +0000)]
* Set annul bit to be 0, because the Sparc backend currently does not use it.
* Use the name of the predict field instead of just the const 1 in the
  Instruction.

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

21 years agoFix bugs handling ESP in alloca references
Chris Lattner [Tue, 5 Aug 2003 04:13:58 +0000 (04:13 +0000)]
Fix bugs handling ESP in alloca references

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

21 years agoNo functional changes, comment the fix I just put in
Chris Lattner [Tue, 5 Aug 2003 03:59:01 +0000 (03:59 +0000)]
No functional changes, comment the fix I just put in

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

21 years agoThe CodeEmitterGenerator used to consider ANY uninitialized field as being an
Chris Lattner [Tue, 5 Aug 2003 03:53:04 +0000 (03:53 +0000)]
The CodeEmitterGenerator used to consider ANY uninitialized field as being an
operand (unless it's annul or predict).  Now we only consider fields to be
operands if they are uninitialized AND used in the "Inst" field.

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

21 years agoRevert previous change, and be really anal about what physical registers can do.
Chris Lattner [Tue, 5 Aug 2003 00:49:09 +0000 (00:49 +0000)]
Revert previous change, and be really anal about what physical registers can do.

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

21 years agoThis is the real fix for the previous register allocator problem.
Chris Lattner [Tue, 5 Aug 2003 00:48:47 +0000 (00:48 +0000)]
This is the real fix for the previous register allocator problem.
Physical registers should not float around.

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

21 years agoReformatted code to match the prevalent LLVM style; fit code into 80 columns.
Misha Brukman [Tue, 5 Aug 2003 00:02:06 +0000 (00:02 +0000)]
Reformatted code to match the prevalent LLVM style; fit code into 80 columns.

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

21 years agoElectricFence found this bug where we were reading past the vector boundary.
Misha Brukman [Mon, 4 Aug 2003 23:48:40 +0000 (23:48 +0000)]
ElectricFence found this bug where we were reading past the vector boundary.

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

21 years agoDon't bother calculating info unless its needed. May reduce number of stack slots...
Chris Lattner [Mon, 4 Aug 2003 23:42:37 +0000 (23:42 +0000)]
Don't bother calculating info unless its needed.  May reduce number of stack slots created.

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

21 years ago* Fix spelling of 'necessary'
Chris Lattner [Mon, 4 Aug 2003 23:36:39 +0000 (23:36 +0000)]
* Fix spelling of 'necessary'
* Add a lot more DEBUG output, which is better structured than before
* Fix bug: Jello/2003-08-04-PhysRegLiveFailure.llx

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

21 years agoNew testcase, identified by Vikram, reduced by Brian
Chris Lattner [Mon, 4 Aug 2003 23:28:44 +0000 (23:28 +0000)]
New testcase, identified by Vikram, reduced by Brian

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

21 years agoAdd patterns for (mov R, R) (mov R, I) and subtracts. The moves are to enable
Chris Lattner [Mon, 4 Aug 2003 21:18:19 +0000 (21:18 +0000)]
Add patterns for (mov R, R) (mov R, I) and subtracts.  The moves are to enable
testing, the subtracts are because I was in the neighborhood.

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

21 years agoChange comments into something that TableGen can read!
Chris Lattner [Mon, 4 Aug 2003 21:08:29 +0000 (21:08 +0000)]
Change comments into something that TableGen can read!

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

21 years agoAllow instructions to have a DAG pattern associated with them.
Chris Lattner [Mon, 4 Aug 2003 21:07:37 +0000 (21:07 +0000)]
Allow instructions to have a DAG pattern associated with them.
Define a few preliminary node types.

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

21 years agoRename register classes to be upper case to make it obvious that they are X86
Chris Lattner [Mon, 4 Aug 2003 20:58:29 +0000 (20:58 +0000)]
Rename register classes to be upper case to make it obvious that they are X86
specific in the tree patterns

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

21 years agoParse DAG patterns
Chris Lattner [Mon, 4 Aug 2003 20:44:43 +0000 (20:44 +0000)]
Parse DAG patterns

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

21 years agoadd support for DagInit initializers, which represent DAG patterns
Chris Lattner [Mon, 4 Aug 2003 20:44:17 +0000 (20:44 +0000)]
add support for DagInit initializers, which represent DAG patterns

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

21 years agoNew testcase
Chris Lattner [Mon, 4 Aug 2003 20:43:48 +0000 (20:43 +0000)]
New testcase

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

21 years agoUpdate file header comment
Chris Lattner [Mon, 4 Aug 2003 20:08:28 +0000 (20:08 +0000)]
Update file header comment

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

21 years agoUrg, do not print "foo has changed" messages
Chris Lattner [Mon, 4 Aug 2003 20:07:01 +0000 (20:07 +0000)]
Urg, do not print "foo has changed" messages

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

21 years agoWhile I'm looking at it, line up the SED lines
Chris Lattner [Mon, 4 Aug 2003 19:48:10 +0000 (19:48 +0000)]
While I'm looking at it, line up the SED lines

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

21 years ago* Don't print out HOW we are running Flex unless in verbose mode. We already
Chris Lattner [Mon, 4 Aug 2003 19:47:06 +0000 (19:47 +0000)]
* Don't print out HOW we are running Flex unless in verbose mode.  We already
  hide the bison command line.
* If running flex or bison gives us the files we already have, don't overwrite
  the ones we have, which cause unnecessary compilation.  I demand the ability
  to make meaningless changes without penalty!

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

21 years agoDo not attempt to reduce a test case if it is an empty set.
Misha Brukman [Mon, 4 Aug 2003 19:03:42 +0000 (19:03 +0000)]
Do not attempt to reduce a test case if it is an empty set.

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

21 years agoAdded code that ensures that we don't try to reduce an empty vector of basic
John Criswell [Mon, 4 Aug 2003 18:24:31 +0000 (18:24 +0000)]
Added code that ensures that we don't try to reduce an empty vector of basic
blocks.
This fixes the bugpoint regressions.

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

21 years agoThere is nothing special about noops anymore
Chris Lattner [Mon, 4 Aug 2003 05:11:37 +0000 (05:11 +0000)]
There is nothing special about noops anymore

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

21 years agoThere is nothing special about noops now
Chris Lattner [Mon, 4 Aug 2003 05:11:19 +0000 (05:11 +0000)]
There is nothing special about noops now

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

21 years agoTransition complete, remove the obsolete 'set' keyword
Chris Lattner [Mon, 4 Aug 2003 05:04:52 +0000 (05:04 +0000)]
Transition complete, remove the obsolete 'set' keyword

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

21 years agoTransition to using 'let X = y' instead of 'set X = y'.
Chris Lattner [Mon, 4 Aug 2003 05:03:18 +0000 (05:03 +0000)]
Transition to using 'let X = y' instead of 'set X = y'.

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

21 years agotransition to using let instead of set
Chris Lattner [Mon, 4 Aug 2003 04:59:56 +0000 (04:59 +0000)]
transition to using let instead of set

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

21 years agoTransition to using let instead of set
Chris Lattner [Mon, 4 Aug 2003 04:58:12 +0000 (04:58 +0000)]
Transition to using let instead of set

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

21 years agoStart transitioning towards using 'let X = y in' statements, instead of 'set X =...
Chris Lattner [Mon, 4 Aug 2003 04:56:53 +0000 (04:56 +0000)]
Start transitioning towards using 'let X = y in' statements, instead of 'set X = y in'.

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

21 years agoIt appears that somehow we forgot to add support for code variables.
Chris Lattner [Mon, 4 Aug 2003 04:53:50 +0000 (04:53 +0000)]
It appears that somehow we forgot to add support for code variables.
Fix bug: TableGen/2003-08-03-PassCode.td

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

21 years agoNew testcase
Chris Lattner [Mon, 4 Aug 2003 04:53:13 +0000 (04:53 +0000)]
New testcase

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

21 years agoAdd initial support for a new 'dag' type
Chris Lattner [Mon, 4 Aug 2003 04:50:57 +0000 (04:50 +0000)]
Add initial support for a new 'dag' type

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

21 years agoFix Bug: test/Regression/Jello/2003-08-03-CallArgLiveRanges.llx
Chris Lattner [Mon, 4 Aug 2003 02:12:48 +0000 (02:12 +0000)]
Fix Bug: test/Regression/Jello/2003-08-03-CallArgLiveRanges.llx

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

21 years agoNew testcase
Chris Lattner [Mon, 4 Aug 2003 02:11:05 +0000 (02:11 +0000)]
New testcase

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

21 years agoSimplify some constant expressions
Chris Lattner [Mon, 4 Aug 2003 01:04:59 +0000 (01:04 +0000)]
Simplify some constant expressions

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

21 years agoMake sure to flush the output stream so that we get incremental updates
Chris Lattner [Mon, 4 Aug 2003 00:56:43 +0000 (00:56 +0000)]
Make sure to flush the output stream so that we get incremental updates

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

21 years agoPrint accurate run instructions for when testing LLC
Chris Lattner [Mon, 4 Aug 2003 00:56:27 +0000 (00:56 +0000)]
Print accurate run instructions for when testing LLC

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

21 years agoRemove illegal, unsupported escapes. This fixes program: Ptrdist-bc
Chris Lattner [Sun, 3 Aug 2003 23:42:17 +0000 (23:42 +0000)]
Remove illegal, unsupported escapes.  This fixes program: Ptrdist-bc

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

21 years ago* Sort #includes, remove dupliates
Chris Lattner [Sun, 3 Aug 2003 23:37:09 +0000 (23:37 +0000)]
* Sort #includes, remove dupliates
* Use .zero to emit padding between struct elements
* Emit .comm symbols when we can, this dramatically reduces the amount of gunk we have to print
* Print global variable identifiers next to initializer more nicely.

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

21 years agoFix problem I introduced in bugpoint with the cleanup functions
Chris Lattner [Sun, 3 Aug 2003 22:29:43 +0000 (22:29 +0000)]
Fix problem I introduced in bugpoint with the cleanup functions

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

21 years agoAllow registers to specify a custom name
Chris Lattner [Sun, 3 Aug 2003 22:14:50 +0000 (22:14 +0000)]
Allow registers to specify a custom name

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

21 years agoSpecify custom name for registers to get the ()'s in the name.
Chris Lattner [Sun, 3 Aug 2003 22:12:47 +0000 (22:12 +0000)]
Specify custom name for registers to get the ()'s in the name.

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

21 years agoAllow specifying custom names for registers
Chris Lattner [Sun, 3 Aug 2003 22:12:37 +0000 (22:12 +0000)]
Allow specifying custom names for registers

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

21 years agoadd new --gen-instr-desc option
Chris Lattner [Sun, 3 Aug 2003 21:58:28 +0000 (21:58 +0000)]
add new --gen-instr-desc option

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

21 years agoAdd new Record::getValueAsBit method
Chris Lattner [Sun, 3 Aug 2003 21:58:13 +0000 (21:58 +0000)]
Add new Record::getValueAsBit method

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

21 years agoFinish the instruction info emitter
Chris Lattner [Sun, 3 Aug 2003 21:57:51 +0000 (21:57 +0000)]
Finish the instruction info emitter

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

21 years agoStart using tablegen'd instruction enum list
Chris Lattner [Sun, 3 Aug 2003 21:57:05 +0000 (21:57 +0000)]
Start using tablegen'd instruction enum list

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

21 years agoResort tables
Chris Lattner [Sun, 3 Aug 2003 21:56:36 +0000 (21:56 +0000)]
Resort tables

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

21 years agoLump the base opcode in with the X86 TargetSpecific flags
Chris Lattner [Sun, 3 Aug 2003 21:56:22 +0000 (21:56 +0000)]
Lump the base opcode in with the X86 TargetSpecific flags

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

21 years ago* Start using tablegen'd instruction descriptions
Chris Lattner [Sun, 3 Aug 2003 21:55:55 +0000 (21:55 +0000)]
* Start using tablegen'd instruction descriptions
* Fix bug in the createNOP method, which was not marking the operands of the
  generated XCHG as useanddef.  I don't think this method is actually used,
  so it wasn't breaking anything, but it should be fixed anyway...

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

21 years agoStart using tablegenerated instruction descriptions
Chris Lattner [Sun, 3 Aug 2003 21:54:59 +0000 (21:54 +0000)]
Start using tablegenerated instruction descriptions

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

21 years agoAdd new TableGen instruction definitions
Chris Lattner [Sun, 3 Aug 2003 21:54:21 +0000 (21:54 +0000)]
Add new TableGen instruction definitions

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

21 years agoRemove the old .def file, it is now obsolete
Chris Lattner [Sun, 3 Aug 2003 21:54:06 +0000 (21:54 +0000)]
Remove the old .def file, it is now obsolete

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

21 years agoRearrange fields yet again: Don't instantiate these lists ONCE PER INSTRUCTION.
Chris Lattner [Sun, 3 Aug 2003 21:52:28 +0000 (21:52 +0000)]
Rearrange fields yet again: Don't instantiate these lists ONCE PER INSTRUCTION.

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

21 years agoSimplify code, eliminating the need for the X86 isVoid target instr flag
Chris Lattner [Sun, 3 Aug 2003 21:51:45 +0000 (21:51 +0000)]
Simplify code, eliminating the need for the X86 isVoid target instr flag

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

21 years agoSet debug types
Chris Lattner [Sun, 3 Aug 2003 21:47:31 +0000 (21:47 +0000)]
Set debug types

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

21 years agoSet debug types
Chris Lattner [Sun, 3 Aug 2003 21:14:38 +0000 (21:14 +0000)]
Set debug types

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

21 years agoRemove using decl
Chris Lattner [Sun, 3 Aug 2003 20:24:29 +0000 (20:24 +0000)]
Remove using decl

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

21 years agoThe NOOP instruction is no longer needed. Instead, use the
Chris Lattner [Sun, 3 Aug 2003 18:52:15 +0000 (18:52 +0000)]
The NOOP instruction is no longer needed.  Instead, use the
TargetInstrInfo::isNOPinstr method

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

21 years agoOk, try #2, this time I'll not be stupid
Chris Lattner [Sun, 3 Aug 2003 18:33:24 +0000 (18:33 +0000)]
Ok, try #2, this time I'll not be stupid

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

21 years agoWe know we have a mklib file, ignore it please CVS!
Chris Lattner [Sun, 3 Aug 2003 18:32:10 +0000 (18:32 +0000)]
We know we have a mklib file, ignore it please CVS!

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

21 years agoCVS, please don't tell us that we have a new config.h file, everyone knows that.
Chris Lattner [Sun, 3 Aug 2003 18:31:38 +0000 (18:31 +0000)]
CVS, please don't tell us that we have a new config.h file, everyone knows that.

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

21 years agoFix bug: TableGen/IntBitInit.td
Chris Lattner [Sun, 3 Aug 2003 18:29:51 +0000 (18:29 +0000)]
Fix bug: TableGen/IntBitInit.td

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

21 years agoNew testcase
Chris Lattner [Sun, 3 Aug 2003 18:28:09 +0000 (18:28 +0000)]
New testcase

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

21 years agoFix bug: TableGen/BitsInitOverflow.td
Chris Lattner [Sun, 3 Aug 2003 18:24:34 +0000 (18:24 +0000)]
Fix bug: TableGen/BitsInitOverflow.td

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

21 years agoAdd Target class for X86 target
Chris Lattner [Sun, 3 Aug 2003 18:19:37 +0000 (18:19 +0000)]
Add Target class for X86 target

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

21 years agoThe RegisterInfo class is obsolete
Chris Lattner [Sun, 3 Aug 2003 18:18:48 +0000 (18:18 +0000)]
The RegisterInfo class is obsolete

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

21 years agoRemove the RegisterInfo class in favor of a general Target class. Add instrinfo...
Chris Lattner [Sun, 3 Aug 2003 18:18:31 +0000 (18:18 +0000)]
Remove the RegisterInfo class in favor of a general Target class.  Add instrinfo stuff

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

21 years ago* Changes to allow lists of any type
Chris Lattner [Sun, 3 Aug 2003 18:17:54 +0000 (18:17 +0000)]
* Changes to allow lists of any type
* Reorganize Target class a bit
* Fix string out of range access bug

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

21 years agoChanges to allow lists of any type
Chris Lattner [Sun, 3 Aug 2003 18:17:22 +0000 (18:17 +0000)]
Changes to allow lists of any type

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

21 years agoexpand contraction
Chris Lattner [Sun, 3 Aug 2003 18:12:59 +0000 (18:12 +0000)]
expand contraction

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

21 years agoNew testcase
Chris Lattner [Sun, 3 Aug 2003 17:47:52 +0000 (17:47 +0000)]
New testcase

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

21 years agoAdd support for instruction enum emission
Chris Lattner [Sun, 3 Aug 2003 17:24:20 +0000 (17:24 +0000)]
Add support for instruction enum emission

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

21 years agoInitial checkin of Instruction emitter, which just produces enum values so far
Chris Lattner [Sun, 3 Aug 2003 17:24:10 +0000 (17:24 +0000)]
Initial checkin of Instruction emitter, which just produces enum values so far

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

21 years agoRemove dead private:
Chris Lattner [Sun, 3 Aug 2003 16:30:24 +0000 (16:30 +0000)]
Remove dead private:

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

21 years agoTell CVS to ignore all .inc files
Chris Lattner [Sun, 3 Aug 2003 15:50:17 +0000 (15:50 +0000)]
Tell CVS to ignore all .inc files

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

21 years agoSwitch over to tablegen generated header files
Chris Lattner [Sun, 3 Aug 2003 15:48:55 +0000 (15:48 +0000)]
Switch over to tablegen generated header files

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

21 years agoSwitch over to TableGen generated register file description
Chris Lattner [Sun, 3 Aug 2003 15:48:14 +0000 (15:48 +0000)]
Switch over to TableGen generated register file description

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

21 years agoInitial checkin of X86.td file
Chris Lattner [Sun, 3 Aug 2003 15:47:49 +0000 (15:47 +0000)]
Initial checkin of X86.td file

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

21 years agoInitial checkin of X86 Register File description
Chris Lattner [Sun, 3 Aug 2003 15:47:25 +0000 (15:47 +0000)]
Initial checkin of X86 Register File description

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

21 years agoMake the register numbers line up more frequently
Chris Lattner [Sun, 3 Aug 2003 15:40:38 +0000 (15:40 +0000)]
Make the register numbers line up more frequently

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

21 years agoAllow an external 'set' command to set multiple values in the same command.
Chris Lattner [Sun, 3 Aug 2003 13:58:01 +0000 (13:58 +0000)]
Allow an external 'set' command to set multiple values in the same command.
Allow redefinitions of variables as long as they are of the same type.

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

21 years agoFinish the register info emitter
Chris Lattner [Sun, 3 Aug 2003 13:52:02 +0000 (13:52 +0000)]
Finish the register info emitter

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