summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
Commit message (Collapse)AuthorAgeFilesLines
* 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-022-5/+4
| | | | 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-012-3/+3
| | | | | | 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 files to match the primary classes they provide.Vikram S. Adve2001-09-181-175/+0
| | | | llvm-svn: 620
* 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
* Renamed files to match the main classes they provide.Vikram S. Adve2001-09-183-20/+218
| | | | | | Some other minor changes. llvm-svn: 615
* 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
* Add a commentChris Lattner2001-09-141-0/+1
| | | | llvm-svn: 571
* Break scheduling infrastructure out of TargetMachine.cpp into SchedInfo.cppChris Lattner2001-09-142-212/+185
| | | | llvm-svn: 569
* Split Target/Machine.h into three files:Chris Lattner2001-09-141-0/+1
| | | | | | | | | * Machine.h * InstInfo.h * SchedInfo.h TODO: Split out reg info stuff llvm-svn: 567
* Make a new llvm/Target #include directory.Chris Lattner2001-09-145-6/+463
| | | | | | | | Move files from lib/CodeGen/TargetMachine to lib/Target Move TargetData.h and TargetMachine.h to Target/{Data.h|Machine.h} Prepare to split TargetMachine.h into several smaller files llvm-svn: 566
* Checkin changes to:Chris Lattner2001-09-142-12/+39
| | | | | | | | | 1. Clean up the TargetMachine structure. No more wierd pointers that have to be cast around and taken care of by the target. 2. Instruction Scheduling now takes the schedinfo as an argument. The same should be done with the instinfo, it just isn't now. llvm-svn: 565
* Move files to new sparc directoryChris Lattner2001-09-143-0/+1839
| | | | llvm-svn: 563
* Move the sparc target to a new lib/Target directoryChris Lattner2001-09-141-4/+1
| | | | llvm-svn: 562
* Move files.Chris Lattner2001-09-144-0/+2454
llvm-svn: 561
OpenPOWER on IntegriCloud