summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc
Commit message (Collapse)AuthorAgeFilesLines
...
* Corrected a bug in SparcRegInfo.cpp - to add inserted instructions before a ↵Ruchira Sasanka2001-10-232-17/+16
| | | | | | return llvm-svn: 969
* UNUSED.Vikram S. Adve2001-10-221-240/+0
| | | | llvm-svn: 944
* Split JMPL into JMPLCALL and JMPLRET.Vikram S. Adve2001-10-221-1/+2
| | | | llvm-svn: 943
* Added a frame layout class, and code to insert prolog/epilog code.Vikram S. Adve2001-10-221-15/+143
| | | | llvm-svn: 942
* Reordered registers slightly to simplify a new check.Vikram S. Adve2001-10-221-3/+14
| | | | | | Added a function to map between the caller's and callee's register windows. llvm-svn: 941
* Split JMPL into JMPLCALL and JMPLRET so that IsCall and IsReturn canVikram S. Adve2001-10-221-11/+9
| | | | | | be used to distinguish those uses of the `jmpl' instruction. llvm-svn: 940
* Added functions to generate prolog and epilog code.Vikram S. Adve2001-10-221-116/+149
| | | | | | Use JMPLRET instead of RETURN for method returns so that llvm-svn: 939
* Added SAVE and RESTORE. Duplicated JMPL into JMPLCALL and JMPLRET,Vikram S. Adve2001-10-221-1/+6
| | | | | | which have the same opcode and operands but different flags. llvm-svn: 938
* Reordered a couple of registers to simplify some new checks.Vikram S. Adve2001-10-221-7/+41
| | | | | | | Added code to map between caller's and callee's register windows. Added frame layout class. llvm-svn: 937
* Added support for both call/jmpl instructionsRuchira Sasanka2001-10-212-92/+219
| | | | llvm-svn: 930
* Fixed printing of offset operand for RETURN instruction.Vikram S. Adve2001-10-201-1/+12
| | | | llvm-svn: 928
* Use CALL for direct function calls; JMPL for indirect ones.Vikram S. Adve2001-10-201-19/+26
| | | | llvm-svn: 927
* Minor bug fix in printing operands of JMPL.Vikram S. Adve2001-10-201-2/+2
| | | | llvm-svn: 926
* Added code so that colorIGNode does not unnecessarily reserve unusableRuchira Sasanka2001-10-192-8/+18
| | | | | | Suggested colors for neighbors. llvm-svn: 921
* Corrected call interference bug - suggested color not allocated ifRuchira Sasanka2001-10-191-14/+45
| | | | | | volatile and there are call interferences llvm-svn: 918
* Added support for condition code loading/stroing in methods cpReg2Reg etc.Ruchira Sasanka2001-10-182-2/+8
| | | | llvm-svn: 911
* Change Sources specifier to ExtraSourcesChris Lattner2001-10-181-1/+1
| | | | llvm-svn: 874
* 1. Move most of the constant-fixup code into machine-independent fileVikram S. Adve2001-10-181-395/+42
| | | | | | | | InstrSelectionSupport.cpp. It now happens in a bottom-up pass on each BURG tree after the original top-down selection pass on the tree. 2. Handle global values as constants (viz., constant addresses). llvm-svn: 868
* Sparc-specific code shared between local files.Vikram S. Adve2001-10-181-0/+61
| | | | llvm-svn: 864
* Moved implementation of class UltraSparcInstrInfo to SparcInstrInfo.cpp.Vikram S. Adve2001-10-181-19/+0
| | | | llvm-svn: 863
* Added virtual function to generate an instruction sequence toVikram S. Adve2001-10-181-4/+13
| | | | | | load a constant into a register. llvm-svn: 862
* Moved implementation of class UltraSparcInstrInfo here.Vikram S. Adve2001-10-181-0/+143
| | | | llvm-svn: 861
* Only list automatically generated .cpp files.Vikram S. Adve2001-10-171-7/+1
| | | | llvm-svn: 854
* Added support for caller savingRuchira Sasanka2001-10-163-12/+158
| | | | llvm-svn: 847
* Emit the proper .type declarations to tell the debugger what a function isChris Lattner2001-10-151-0/+1
| | | | llvm-svn: 845
* Handle abnormal jmpl syntax correctlyChris Lattner2001-10-151-35/+50
| | | | llvm-svn: 844
* Output to cerr rather than cout so that debug info doesn't mess up assembly ↵Chris Lattner2001-10-154-39/+29
| | | | | | generation llvm-svn: 840
* updated suggesting/coloring of call & return args & implicit operandsRuchira Sasanka2001-10-154-232/+218
| | | | llvm-svn: 830
* Be const correctChris Lattner2001-10-152-4/+4
| | | | llvm-svn: 826
* Forward operands into implicit uses as well as explicit ones.Vikram S. Adve2001-10-141-3/+8
| | | | llvm-svn: 808
* Two bug fixes that were suppressing some "load-constant-into-register" instrs.Vikram S. Adve2001-10-141-2/+2
| | | | llvm-svn: 795
* Move the burg file to here. Add .in suffix to indicate that it getsChris Lattner2001-10-141-0/+309
| | | | | | preprocessed before burg gets to it llvm-svn: 794
* Make the sparc.burg file be a little more flexible and rubust in the fact ofChris Lattner2001-10-142-6/+11
| | | | | | | | renumbering of instructions. It is still horribly broken and grossly dependant on the number of instructions, but now it is a least a little better. Oh yeah it also works now. llvm-svn: 793
* Fix broken #endifChris Lattner2001-10-131-1/+1
| | | | llvm-svn: 768
* * Add #includeChris Lattner2001-10-131-3/+3
| | | | | | | * Fix #endif problems * Change to getCalledValue instead of getCalledMethod llvm-svn: 767
* Record implicitRefs for each machine instruction instead ofVikram S. Adve2001-10-111-39/+32
| | | | | | each VM instruction. llvm-svn: 725
* Insert code to load constants used as Call or Return arguments.Vikram S. Adve2001-10-101-39/+94
| | | | | | Also, note return value of a Call as an "implicitUse". llvm-svn: 720
* --removed %g regs being allocated - fix laterRuchira Sasanka2001-10-091-5/+6
| | | | llvm-svn: 714
* * Both Method & GlobalVariable now subclass GlobalValueChris Lattner2001-10-031-1/+1
| | | | | | | | * ConstPoolPointerReference now represents a pointer to a GlobalValue * Methods name references are now explicit pointers to methods * Rename Value::GlobalVal to Value::GlobalVariableVal to avoid confusion llvm-svn: 703
* Commit more code over to new cast styleChris Lattner2001-10-021-2/+1
| | | | llvm-svn: 697
* Convert more code to use new style castsChris Lattner2001-10-011-11/+11
| | | | | | Eliminate old style casts from value.h llvm-svn: 696
* Add more support for new style castsChris Lattner2001-10-011-2/+2
| | | | | | Convert more code to use them llvm-svn: 695
* Add support for new style castsChris Lattner2001-10-011-2/+2
| | | | llvm-svn: 694
* Fix emission of return instructionsChris Lattner2001-10-011-0/+2
| | | | llvm-svn: 688
* Several fixes:Vikram S. Adve2001-10-011-1222/+1301
| | | | | | | | | | | | (1) Avoid hard-coding some register numbers. (2) Fix some incorrect branch opcodes. (3) Don't try to move int register to float register! (4) If an operand being forwarded is a constant and it doesn't fit into the immed field of the copy machine instruction, then generate a load-constant instead of a copy. (5) Use (unsigned long) 0 for copying a pointer via "add 0, ptr -> ptr2". llvm-svn: 683
* Change latency of setuw and setsw to 2 cycles.Vikram S. Adve2001-09-301-4/+5
| | | | llvm-svn: 681
* added suggesting color supportRuchira Sasanka2001-09-301-16/+120
| | | | llvm-svn: 673
* added support for suggesting colorsRuchira Sasanka2001-09-303-340/+684
| | | | llvm-svn: 671
* * Properly escape function namesChris Lattner2001-09-281-3/+23
| | | | | | * Ignore %xcc argument on conditional branches llvm-svn: 663
* Check in bug fix for vadveChris Lattner2001-09-281-2/+2
| | | | llvm-svn: 662
OpenPOWER on IntegriCloud