summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* -- fixed a ret val bugRuchira Sasanka2001-09-191-1/+18
| | | | llvm-svn: 652
* Seperate instruction definitions into new SparcInstr.def fileChris Lattner2001-09-194-774/+455
| | | | | | | Move contents of SparcMachineInstrDesc[] out of SparcInternals.h into Sparc.cpp llvm-svn: 644
* Add EmitAssembly to mfChris Lattner2001-09-191-1/+1
| | | | llvm-svn: 637
* First cut at assembly outputChris Lattner2001-09-191-0/+213
| | | | llvm-svn: 636
* Add emitAssemblyMethod to TargetMachineChris Lattner2001-09-191-9/+11
| | | | llvm-svn: 635
* -- ruchiraRuchira Sasanka2001-09-186-481/+920
| | | | llvm-svn: 632
* Remove extraneous #includesChris Lattner2001-09-181-3/+0
| | | | llvm-svn: 627
* Renamed a header file.Vikram S. Adve2001-09-181-1/+1
| | | | llvm-svn: 619
* Make class TargetMachine the common interface to all target-dependentVikram S. Adve2001-09-181-21/+29
| | | | | | | | information, including instr, sched, and reg information. This allows us to allocate them all in one place and use them much more uniformly. llvm-svn: 618
* Allow pointer constants as well as integer and booleans.Vikram S. Adve2001-09-181-36/+69
| | | | | | Skip over list nodes in ForwardOperand. llvm-svn: 617
* Make class TargetMachine the common interface to all target-dependentVikram S. Adve2001-09-181-49/+64
| | | | | | | | information, including instr, sched, and reg information. Rename files to match the primary classes they provide. Commented out call to register allocation until more tests run correctly. llvm-svn: 616
* modified printing of debug messagesRuchira Sasanka2001-09-153-117/+4
| | | | llvm-svn: 593
* added register allocation codeRuchira Sasanka2001-09-155-25/+515
| | | | llvm-svn: 585
* *** empty log message ***Ruchira Sasanka2001-09-141-1/+16
| | | | llvm-svn: 579
* Add support for loading and storing pointers...Chris Lattner2001-09-141-42/+34
| | | | llvm-svn: 575
* Fix a bug that caused a crash if a setcc had zero uses.Chris Lattner2001-09-141-1/+1
| | | | llvm-svn: 574
* Chris seems fond of #include <vector>. Fix these. Also convert use list inChris Lattner2001-09-143-21/+8
| | | | | | | | Value to a vector instead of a list. Move SchedGraph.h & SchedPriorities.h into lib/CodeGen/InstrScheduling llvm-svn: 572
OpenPOWER on IntegriCloud