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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Chris Lattner [Fri, 1 Aug 2003 20:29:18 +0000 (20:29 +0000)]
Use the C++, more portable, deleter
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7483
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 1 Aug 2003 20:28:55 +0000 (20:28 +0000)]
New file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7482
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 1 Aug 2003 19:21:43 +0000 (19:21 +0000)]
Make sure to delete the output file if there is an error
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7481
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 1 Aug 2003 19:16:29 +0000 (19:16 +0000)]
Move #include from a header to here
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7480
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 1 Aug 2003 19:16:18 +0000 (19:16 +0000)]
This file doesn't need this include
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7479
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 1 Aug 2003 16:14:33 +0000 (16:14 +0000)]
Don't emit modules with lots of cruft hanging off of them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7478
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 1 Aug 2003 16:13:49 +0000 (16:13 +0000)]
Parameterize the performFinalCleanups a bit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7477
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Fri, 1 Aug 2003 15:55:53 +0000 (15:55 +0000)]
Add all arithmetic operators to ConstantExprToString().
Note that some generated operators (like &, | or ^) may
not be supported by the assembler -- but if they've got
this far, it's better to generate them and let the assembler decide.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7476
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Fri, 1 Aug 2003 15:54:38 +0000 (15:54 +0000)]
*Both* operands of divide need sign-extension before divide (if smaller
than machine register size), not just the second operand.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7475
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Fri, 1 Aug 2003 15:53:24 +0000 (15:53 +0000)]
Put back the separate pass to decompose multi-dimensional references
since it is *necessary* for correct code generation. Only optional
transformations belong in the PreOpts pass (which needs to be renamed
from PreSelection to PreOpts).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7474
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 1 Aug 2003 06:27:59 +0000 (06:27 +0000)]
add support for emitting register classes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7473
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 1 Aug 2003 06:15:10 +0000 (06:15 +0000)]
Add new getValueAsListInit and getValueAsInt methods
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7472
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 1 Aug 2003 05:59:20 +0000 (05:59 +0000)]
Add the ability to emit register file enums
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7471
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 1 Aug 2003 05:58:58 +0000 (05:58 +0000)]
Fix the way field bit references are resolved, also allow resolution of field references overall!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7470
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 1 Aug 2003 05:18:03 +0000 (05:18 +0000)]
encode size information into each ValueType
Add new RegisterInfo class
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7469
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 1 Aug 2003 04:47:20 +0000 (04:47 +0000)]
Dead code elimination
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7468
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 1 Aug 2003 04:46:24 +0000 (04:46 +0000)]
Add new getValueAsBitsInit 'high-level' method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7467
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 1 Aug 2003 04:39:05 +0000 (04:39 +0000)]
Add file comment
Add register info emitter
Simplify code by using "high-level" methods.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7466
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 1 Aug 2003 04:38:38 +0000 (04:38 +0000)]
Initial checkin of register info emitter
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7465
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 1 Aug 2003 04:38:18 +0000 (04:38 +0000)]
Simplify code to match new interfaces
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7464
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 1 Aug 2003 04:37:57 +0000 (04:37 +0000)]
Switch over to an exception handling model for "high-level" requests.
Add new getValueAsString method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7463
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 1 Aug 2003 04:15:25 +0000 (04:15 +0000)]
Minor cleanups
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7462
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 1 Aug 2003 04:09:58 +0000 (04:09 +0000)]
Factor code out into a new getAllDerivedDefinitions method, which is generally useful
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7461
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 1 Aug 2003 03:48:42 +0000 (03:48 +0000)]
This method is long dead
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7460
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Thu, 31 Jul 2003 20:59:32 +0000 (20:59 +0000)]
Removed the -only-static option as it is no longer required (and didn't work
with the newer version of libtool anyway).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7459
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Thu, 31 Jul 2003 20:58:51 +0000 (20:58 +0000)]
Modified the use of libtool so that we don't compile every file twice.
This can be done using the disable-shared tag that comes with libtool.
This change also required changing how .o libraries are linked.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7458
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 31 Jul 2003 19:38:34 +0000 (19:38 +0000)]
Fix the JIT in the Nightly tester. This was not a fun bug to track down.
See the comments in the patch for details.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7457
91177308-0d34-0410-b5e6-
96231b3b80d8