OSDN Git Service
Chris Lattner [Fri, 13 Aug 2004 02:43:19 +0000 (02:43 +0000)]
Add value mapper support for select constant exprs. This should fix a bug
Nate ran into when bugpointing siod. This fix should go into LLVM 1.3
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15712
91177308-0d34-0410-b5e6-
96231b3b80d8
Nate Begeman [Fri, 13 Aug 2004 02:20:47 +0000 (02:20 +0000)]
Longs are in one register on PowerPC 64; use appropriate instructions to operate on them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15711
91177308-0d34-0410-b5e6-
96231b3b80d8
Nate Begeman [Fri, 13 Aug 2004 02:19:26 +0000 (02:19 +0000)]
Add some more 64 bit instructions we need for the PowerPC-64 ISel to the tablegen files
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15710
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Thu, 12 Aug 2004 20:16:08 +0000 (20:16 +0000)]
Wrap long lines and try to fill the 80 chars per line so that we don't have too
many short lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15706
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Thu, 12 Aug 2004 19:58:43 +0000 (19:58 +0000)]
* Escape &, <, and >
* Wrap code in <tt> or for larger blocks, <div class="doc_text">
* Wrap lines at 80 cols
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15705
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 12 Aug 2004 19:12:28 +0000 (19:12 +0000)]
Add description of packed type support.
Patch contributed by Brad Jones!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15704
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 12 Aug 2004 19:06:24 +0000 (19:06 +0000)]
Add information on adding a derived type to LLVM, patch contributed by
Brad Jones!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15703
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 12 Aug 2004 19:01:55 +0000 (19:01 +0000)]
Allow targets to specify particular stack slots that certain physregs must
be spilled into.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15702
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 12 Aug 2004 19:01:14 +0000 (19:01 +0000)]
Split saveCallerSavedRegisters into two methods for clarity, and add comments.
Add support for targets that must spill certain physregs at certain locations.
Patch contributed by Nate Begeman, slightly hacked by me.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15701
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 12 Aug 2004 18:37:15 +0000 (18:37 +0000)]
Remove dead methods
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15698
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 12 Aug 2004 18:36:28 +0000 (18:36 +0000)]
Fix warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15697
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 12 Aug 2004 18:29:05 +0000 (18:29 +0000)]
Instead of a virtual method call, lets try a direct constant reference
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15696
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 12 Aug 2004 18:20:55 +0000 (18:20 +0000)]
Virtual method calls are overrated
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15695
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 12 Aug 2004 18:20:41 +0000 (18:20 +0000)]
Virtual method calls are overrated.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15694
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 12 Aug 2004 18:10:18 +0000 (18:10 +0000)]
Forward substitute some constants into their users
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15693
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 12 Aug 2004 18:06:35 +0000 (18:06 +0000)]
The only target that uses this code (v9) always has argsOnStackHaveFixedSize
set to true (obviously)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15692
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 12 Aug 2004 17:58:27 +0000 (17:58 +0000)]
Remove dead methods
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15691
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 12 Aug 2004 17:56:01 +0000 (17:56 +0000)]
When we want a constant, just use it, instead of calling through layers of
virtual methods and register name mapping functions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15690
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 12 Aug 2004 17:52:47 +0000 (17:52 +0000)]
Convert to unix line format.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15689
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Thu, 12 Aug 2004 17:16:43 +0000 (17:16 +0000)]
Disable PPC64 backend by default because LLC cannot choose automatically between
SparcV9 and PowerPC64 without target triples, since they are both 64-bit
big-endian targets.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15688
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 12 Aug 2004 05:45:09 +0000 (05:45 +0000)]
This patch makes the inliner refuse to inline functions that have alloca
instructions in the body of the function (not the entry block). This fixes
test/Programs/SingleSource/Regression/C/2004-08-12-InlinerAndAllocas.c
and test/Programs/External/SPEC/CINT2000/176.gcc on zion.
This should obviously be pulled into 1.3.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15684
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Thu, 12 Aug 2004 03:30:03 +0000 (03:30 +0000)]
* Correct 64-bit version: blr 1 (not 0)
* BuildMI() can build 0-param instructions (e.g., NOP)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15681
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Thu, 12 Aug 2004 03:28:47 +0000 (03:28 +0000)]
* Print out full names for non-GPR or -FPR registers
* BuildMI() really *does* handle 0 params!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15680
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 12 Aug 2004 03:17:02 +0000 (03:17 +0000)]
Fix code extraction of unwind blocks. This fixed bugs that bugpoint can
run into. This should go into 1.3
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15679
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Thu, 12 Aug 2004 02:53:01 +0000 (02:53 +0000)]
* Pointers are 8 bytes, hence cLong type on 64-bit PPC
* Fix loading of GlobalValues
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15678
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Thu, 12 Aug 2004 02:51:38 +0000 (02:51 +0000)]
Eliminate special-casing 14-bit immediate load/store opcodes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15677
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 12 Aug 2004 02:44:23 +0000 (02:44 +0000)]
Hrm, this pass didn't compile. This bugfix should go into 1.3!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15676
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 12 Aug 2004 02:36:50 +0000 (02:36 +0000)]
If the block extractor fails, actually emit the bc file that failed to extract
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15675
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Thu, 12 Aug 2004 01:01:13 +0000 (01:01 +0000)]
Correctly print out ASCII literal strings on AIX
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15674
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Thu, 12 Aug 2004 00:10:01 +0000 (00:10 +0000)]
Mark R2 as available for allocation on Darwin/PPC32, but not AIX/PPC64
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15673
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 11 Aug 2004 23:47:08 +0000 (23:47 +0000)]
* Move AIX into the llvm namespace to be accessed from RegisterInfo
* Mark InstrInfo with 32 vs. 64 bit flag
* Enable the 64-bit isel and asm printer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15672
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 11 Aug 2004 23:45:43 +0000 (23:45 +0000)]
Set the is64bit flag and propagate it to PowerPCRegisterInfo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15671
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 11 Aug 2004 23:44:55 +0000 (23:44 +0000)]
* Set the is64bit boolean flag in PowerPCRegisterInfo
* Doubles are 8 bytes in 64-bit PowerPC, and use the general register class
* Use double-word loads and stores for restoring from/saving to stack
* Do not allocate R2 if compiling for AIX
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15670
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 11 Aug 2004 23:42:15 +0000 (23:42 +0000)]
64-bit instruction selector and AIX-specific 64-bit asm printer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15669
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 11 Aug 2004 23:33:34 +0000 (23:33 +0000)]
Fix names of 64-bit CMP*D* opcodes, add LWA and STD* opcodes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15668
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 11 Aug 2004 20:56:14 +0000 (20:56 +0000)]
Add support for 64-bit CMPDI, CMPLDI, and CMPLD opcodes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15667
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 11 Aug 2004 15:54:36 +0000 (15:54 +0000)]
Add doubleword load/store (64-bit only).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15665
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 11 Aug 2004 14:16:34 +0000 (14:16 +0000)]
Simple hand-coded tests to aid in early development of backends, along with a
Makefile to run ad-hoc tests easily.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15664
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 11 Aug 2004 13:35:44 +0000 (13:35 +0000)]
Hyphenate ##-bit and remove first-person from comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15663
91177308-0d34-0410-b5e6-
96231b3b80d8
Nate Begeman [Wed, 11 Aug 2004 07:40:04 +0000 (07:40 +0000)]
Clean up 32/64bit and Darwin/AIX split. Next steps: 64 bit ISel, AIX asm printer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15662
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 11 Aug 2004 07:34:50 +0000 (07:34 +0000)]
Fix a case where constantexprs could leak into the PPC isel.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15661
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 11 Aug 2004 07:12:04 +0000 (07:12 +0000)]
Remove a bunch of ad-hoc target-specific flags that were only used by the
old asmprinter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15660
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 11 Aug 2004 07:07:14 +0000 (07:07 +0000)]
Remove a dead method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15659
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 11 Aug 2004 07:02:04 +0000 (07:02 +0000)]
Finally, the entire instruction asmprinter is now generated from tblgen, woo!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15658
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 11 Aug 2004 06:59:12 +0000 (06:59 +0000)]
Add asmprintergen support for the last X86 instruction that needs it: pcrelative calls.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15657
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 11 Aug 2004 06:55:12 +0000 (06:55 +0000)]
This file is long dead
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15656
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 11 Aug 2004 06:50:10 +0000 (06:50 +0000)]
Scrunch memoperands, add a few more for floating point memops
Eliminate the FPI*m classes, converting them to use FPI instead.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15655
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 11 Aug 2004 06:09:55 +0000 (06:09 +0000)]
Move hacks up
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15654
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 11 Aug 2004 05:54:16 +0000 (05:54 +0000)]
Make FPI take asm string and operand list
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15653
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 11 Aug 2004 05:31:07 +0000 (05:31 +0000)]
Nuke the Im*i* patterns, by asmprintergenifying all users.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15652
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 11 Aug 2004 05:07:25 +0000 (05:07 +0000)]
X86 instructions that read-modify-write memory are not LLVM two-address instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15651
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 11 Aug 2004 04:31:00 +0000 (04:31 +0000)]
Get rid of the Im8, Im16, Im32 classes, converting more instructions over to
asmprintergeneration
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15650
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 11 Aug 2004 04:08:36 +0000 (04:08 +0000)]
Fix minor bug in previous checkin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15649
91177308-0d34-0410-b5e6-
96231b3b80d8
Nate Begeman [Wed, 11 Aug 2004 03:30:55 +0000 (03:30 +0000)]
Fix 255.vortex by using getClassB instead of getClass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15648
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 11 Aug 2004 02:26:39 +0000 (02:26 +0000)]
Remove dead method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15647
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 11 Aug 2004 02:25:00 +0000 (02:25 +0000)]
Convert asmprinter to new style of instruction printer
Start asmprintergen'ifying machine instrs with memory operands.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15646
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 11 Aug 2004 02:23:23 +0000 (02:23 +0000)]
change how we invoke the printer. Instead of passing in the MO directly,
pass in the MI, operand number, and the type of the operand.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15645
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 11 Aug 2004 02:22:39 +0000 (02:22 +0000)]
Start parsing more information from the Operand information
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15644
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 11 Aug 2004 01:53:58 +0000 (01:53 +0000)]
Remove special case hacks
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15643
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 11 Aug 2004 01:53:34 +0000 (01:53 +0000)]
Fill out immediate operand classes, add a new Operand class
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15642
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 11 Aug 2004 00:50:51 +0000 (00:50 +0000)]
Fix InstCombine/2004-08-10-BoolSetCC.ll, a bug that is miscompiling
176.gcc. Note that this is apparently not the only bug miscompiling gcc
though. :(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15639
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 11 Aug 2004 00:49:50 +0000 (00:49 +0000)]
New testcase that instcombine is getting wrong
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15637
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 11 Aug 2004 00:11:25 +0000 (00:11 +0000)]
Breaking up the PowerPC target into 32- and 64-bit subparts, Part III: the rest.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15636
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 11 Aug 2004 00:10:41 +0000 (00:10 +0000)]
Breaking up the PowerPC target into 32- and 64-bit subparts: Part II: 64-bit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15635
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 11 Aug 2004 00:09:42 +0000 (00:09 +0000)]
Breaking up the PowerPC target into 32- and 64-bit subparts, Part I: 32-bit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15634
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 10 Aug 2004 23:10:25 +0000 (23:10 +0000)]
Implement new constructor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15633
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 10 Aug 2004 23:10:21 +0000 (23:10 +0000)]
Add new constructor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15632
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 10 Aug 2004 22:47:03 +0000 (22:47 +0000)]
Renamed PPC32 (namespace for regs, opcodes) to PPC to include 64-bit targets
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15631
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 10 Aug 2004 21:24:44 +0000 (21:24 +0000)]
* Fix file header to use tablegen emacs mode instead of c++
* Wrap long line to 80 cols
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15630
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Aug 2004 21:21:30 +0000 (21:21 +0000)]
This is purely a formatting patch that gets us closer to the mecca of fitting
X86InstrInfo.td into 80 columns
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15629
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Aug 2004 21:02:13 +0000 (21:02 +0000)]
Drop the first argument of FPI, and asmprinterify fxch
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15628
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 10 Aug 2004 20:54:58 +0000 (20:54 +0000)]
Deleted commented-out code as we now get namespace directly, add comments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15627
91177308-0d34-0410-b5e6-
96231b3b80d8
Nate Begeman [Tue, 10 Aug 2004 20:42:36 +0000 (20:42 +0000)]
Fix casts of float to unsigned long
Replace STDX (store 64 bit int indexed) with STFDX (store double indexed)
Fix latent bug in indexed load generation
Generate indexed loads and stores in many more cases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15626
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 10 Aug 2004 20:28:13 +0000 (20:28 +0000)]
Fix file header comment: update filename, set tablegen emacs mode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15625
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Aug 2004 20:17:41 +0000 (20:17 +0000)]
This purely mechanical patch gives the "I" tblgen class operand list and asm
string operands, and adjusts all users to pass them in instead of using II.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15624
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 10 Aug 2004 19:18:51 +0000 (19:18 +0000)]
Fix a copy & paste error .. correct the description of the program.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15623
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 10 Aug 2004 19:14:36 +0000 (19:14 +0000)]
Adding a simple example of how to use the JIT.
Contributed by Valery A. Khamenya. THANKS, Valery!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15622
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Aug 2004 19:06:36 +0000 (19:06 +0000)]
Convert Ii32 instructions over to use the asmprinter generator
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15621
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 10 Aug 2004 19:03:31 +0000 (19:03 +0000)]
DForm 5/6 extended mneumonics take 3 arguments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15620
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 10 Aug 2004 18:31:01 +0000 (18:31 +0000)]
Use the target name instead of hard-coding SparcV9.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15616
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 10 Aug 2004 18:15:31 +0000 (18:15 +0000)]
* Instruction definitions moved to SparcV9InstrInfo.td for consistency
* Defined PHI instruction and SparcV9 subclass of Target
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15615
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 10 Aug 2004 18:14:04 +0000 (18:14 +0000)]
Renamed SparcV9_Reg.td -> SparcV9RegisterInfo.td for consistency.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15614
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 10 Aug 2004 18:07:55 +0000 (18:07 +0000)]
Fix DForm_4: format is `op r, r, i'
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15613
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 10 Aug 2004 17:37:14 +0000 (17:37 +0000)]
Fix comment header, specify type of file `tablegen'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15612
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 10 Aug 2004 16:40:56 +0000 (16:40 +0000)]
Finish HTMLizing the document. Configuration section is very crufty.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15611
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 10 Aug 2004 16:38:18 +0000 (16:38 +0000)]
Fixed some spellos and grammaros.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15610
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 10 Aug 2004 16:29:18 +0000 (16:29 +0000)]
Move CompilerDriver.h here.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15609
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 10 Aug 2004 16:27:08 +0000 (16:27 +0000)]
Initial makefile for the LLVM Compiler Driver.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15608
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 10 Aug 2004 16:26:01 +0000 (16:26 +0000)]
First "do nothing" version of the LLVM Compiler Driver. This version just
processes command line arguments and allows --help to be used.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15607
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Aug 2004 16:22:02 +0000 (16:22 +0000)]
Convert the Ii16 instructions over
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15606
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Aug 2004 16:09:54 +0000 (16:09 +0000)]
Convert all Ii8 instructions over to the autogenerated asmprinter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15605
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 10 Aug 2004 15:29:15 +0000 (15:29 +0000)]
Define the target name so we can use it via TableGen.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15604
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Aug 2004 15:05:18 +0000 (15:05 +0000)]
This was a good idea, but until this does not break the build of
lib/Target/Sparc, we should not use it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15603
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Aug 2004 00:19:16 +0000 (00:19 +0000)]
Paper over CBackend/2004-08-09-va-end-null.ll
Note that this indicates a serious problem with the way we are emitting varargs,
but this should not be properly fixed until after 1.3.
This patch SHOULD go into 1.3.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15602
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 9 Aug 2004 23:56:17 +0000 (23:56 +0000)]
This testcase causes the CBE to generate code that is not legal C.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15601
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Mon, 9 Aug 2004 23:03:59 +0000 (23:03 +0000)]
Stub definition of the PowerPC CodeEmitter class; this isn't functional (yet).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15600
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Mon, 9 Aug 2004 22:27:45 +0000 (22:27 +0000)]
CodePrinter -> AsmPrinter
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15599
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 9 Aug 2004 21:05:48 +0000 (21:05 +0000)]
Fix InstCombine/2004-08-09-RemInfLoop.llx
This should go into the 1.3 branch
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15593
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 9 Aug 2004 21:03:35 +0000 (21:03 +0000)]
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15592
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Mon, 9 Aug 2004 20:23:44 +0000 (20:23 +0000)]
Do not mention Chris in public Makefiles
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15591
91177308-0d34-0410-b5e6-
96231b3b80d8