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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 years agoFix typeos in comments
Chris Lattner [Sun, 3 Aug 2003 13:50:14 +0000 (13:50 +0000)]
Fix typeos in comments

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

20 years agoMake it easier to debug by exposing a temporary
Chris Lattner [Sun, 3 Aug 2003 13:49:25 +0000 (13:49 +0000)]
Make it easier to debug by exposing a temporary

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

20 years agoWrap at 80 columns
Chris Lattner [Sun, 3 Aug 2003 13:49:03 +0000 (13:49 +0000)]
Wrap at 80 columns

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

20 years agoAdd new method
Chris Lattner [Sat, 2 Aug 2003 01:27:37 +0000 (01:27 +0000)]
Add new method

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

20 years agoFix problem executing the CBE
Chris Lattner [Fri, 1 Aug 2003 23:29:59 +0000 (23:29 +0000)]
Fix problem executing the CBE

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

20 years agoFix a bug
Chris Lattner [Fri, 1 Aug 2003 22:26:27 +0000 (22:26 +0000)]
Fix a bug

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

20 years agoRename fields
Chris Lattner [Fri, 1 Aug 2003 22:21:49 +0000 (22:21 +0000)]
Rename fields

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

20 years agoMove DEBUG to Debug.h
Chris Lattner [Fri, 1 Aug 2003 22:21:34 +0000 (22:21 +0000)]
Move DEBUG to Debug.h

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

20 years agoUpdate information about the new DEBUG_TYPE macro
Chris Lattner [Fri, 1 Aug 2003 22:20:59 +0000 (22:20 +0000)]
Update information about the new DEBUG_TYPE macro

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

20 years agoDEBUG got moved to Debug.h
Chris Lattner [Fri, 1 Aug 2003 22:19:03 +0000 (22:19 +0000)]
DEBUG got moved to Debug.h

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

20 years agoMove debug functionality to Debug.cpp/Debug.h
Chris Lattner [Fri, 1 Aug 2003 22:15:41 +0000 (22:15 +0000)]
Move debug functionality to Debug.cpp/Debug.h

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

20 years agoDescribe the value name
Chris Lattner [Fri, 1 Aug 2003 22:15:15 +0000 (22:15 +0000)]
Describe the value name

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

20 years agoDEBUG got moved to Support/Debug.h
Chris Lattner [Fri, 1 Aug 2003 22:15:03 +0000 (22:15 +0000)]
DEBUG got moved to Support/Debug.h

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

20 years agoDEBUG got moved to Debug.h
Chris Lattner [Fri, 1 Aug 2003 22:13:59 +0000 (22:13 +0000)]
DEBUG got moved to Debug.h

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

20 years agoMove debugging support out of Statistic.h into Debug.h, implement the new DEBUG_TYPE...
Chris Lattner [Fri, 1 Aug 2003 22:12:40 +0000 (22:12 +0000)]
Move debugging support out of Statistic.h into Debug.h, implement the new DEBUG_TYPE facilities

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

20 years agoIncluding statistics into an anonymous namespace that gets #included into
Chris Lattner [Fri, 1 Aug 2003 22:12:07 +0000 (22:12 +0000)]
Including statistics into an anonymous namespace that gets #included into
every file is a bad idea.

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

20 years agoFix <>'s in HTML
Chris Lattner [Fri, 1 Aug 2003 21:30:37 +0000 (21:30 +0000)]
Fix <>'s in HTML

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

20 years agoCheck in the implementation of the FileUtilities!
Chris Lattner [Fri, 1 Aug 2003 21:16:14 +0000 (21:16 +0000)]
Check in the implementation of the FileUtilities!

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

20 years agoTablegen should only replace the output if it changes
Chris Lattner [Fri, 1 Aug 2003 20:35:01 +0000 (20:35 +0000)]
Tablegen should only replace the output if it changes

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

20 years agoRemove makefile complexity by always running tablegen with its final output
Chris Lattner [Fri, 1 Aug 2003 20:34:56 +0000 (20:34 +0000)]
Remove makefile complexity by always running tablegen with its final output
directory.

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

20 years agoUse the new FileUtilities library to do diff'ing of files
Chris Lattner [Fri, 1 Aug 2003 20:29:45 +0000 (20:29 +0000)]
Use the new FileUtilities library to do diff'ing of files

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