summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc
Commit message (Collapse)AuthorAgeFilesLines
* Delete NOP instructions as they are eliminated.Chris Lattner2002-04-091-0/+1
| | | | llvm-svn: 2199
* * Add a useful file commentChris Lattner2002-04-091-91/+7
| | | | | | | | * Move InsertPrologEpilogCode class to PrologEpilogCodeInserter.cpp -> Among other things, this eliminates the need for the minstrVec static global array. llvm-svn: 2195
* Move the InsertPrologEpilogCode class out of the Sparc.cpp file into theChris Lattner2002-04-091-81/+0
| | | | | | | | | new PrologEpilogCodeInserter.cpp file, and include the bodies of the GetInstructionsFor(Prolog|Epilog) functions from SparcInstrSelection.cpp into the class. This eliminates the need for a static global vector of instructions and a class of errors that is really unneccesary. llvm-svn: 2194
* Move the InsertPrologEpilogCode class out of the Sparc.cpp file, and includeChris Lattner2002-04-091-0/+153
| | | | | | | | the bodies of the GetInstructionsFor(Prolog|Epilog) functions from SparcInstrSelection.cpp into the class. This eliminates the need for a static global vector of instructions and a class of errors that is really unneccesary. llvm-svn: 2193
* Include prototype for interface to PrologEpilogCodeInserter.cpp fileChris Lattner2002-04-091-0/+2
| | | | llvm-svn: 2192
* Use new higher level isFloatingPoint() functionChris Lattner2002-04-091-1/+1
| | | | llvm-svn: 2191
* Convert AddedInstrMapType to contain AddedInstrns by value instead of byChris Lattner2002-04-091-8/+8
| | | | | | pointer so that they do not all get leaked! llvm-svn: 2188
* s/Method/FunctionChris Lattner2002-04-083-15/+14
| | | | llvm-svn: 2180
* * Move include/llvm/Analysis/SlotCalculator.h to include/llvm/SlotCalculator.hChris Lattner2002-04-071-4/+4
| | | | | | | because the slot calculator is already part of the VMCore library. * Rename incorporateMethod and purgeMethod to *Function llvm-svn: 2154
* Change references to the Method class to be references to the FunctionChris Lattner2002-04-074-108/+110
| | | | | | | class. The Method class is obsolete (renamed) and all references to it are being converted over to Function. llvm-svn: 2144
* s/MethodType/FunctionTypeChris Lattner2002-04-042-7/+5
| | | | llvm-svn: 2115
* Case numbers were not updated when Sparc.burg.in was changedVikram S. Adve2002-04-011-1/+2
| | | | | | to add separate label for bitwise NOT operator. llvm-svn: 2091
* 1. Fix a leftover bug in generating memory instructions.Vikram S. Adve2002-03-311-36/+38
| | | | | | 2. Fix type used for TmpInstruction holding the return address. llvm-svn: 2075
* Added function getCallInstIndirectAddrVal() to set call interferenceVikram S. Adve2002-03-312-1/+11
| | | | | | for that value. llvm-svn: 2074
* Minor cleanup in printing constants. I think this included a bugVikram S. Adve2002-03-311-32/+14
| | | | | | | fix related to putting a read-write variable in a read-only section, but I'm not sure now. llvm-svn: 2073
* Fix CreateUIntSetInstruction() to handle sign extensions correctly.Vikram S. Adve2002-03-311-7/+37
| | | | llvm-svn: 2059
* s/Method/FunctionChris Lattner2002-03-291-1/+2
| | | | llvm-svn: 2035
* Convert to use new style casts instead of direct checkingChris Lattner2002-03-261-2/+2
| | | | llvm-svn: 1990
* Bug re-fix: put back MachineCodeForInstruction::get(*I).dropAllReferences().Vikram S. Adve2002-03-241-5/+8
| | | | | | Also re-enable instr. scheduling pass. llvm-svn: 1966
* Change latencies for Load, Store and Branch instructions.Vikram S. Adve2002-03-241-40/+42
| | | | llvm-svn: 1965
* Major enhancements to how array and structure indices are handled.Vikram S. Adve2002-03-241-148/+182
| | | | | | | | Improve checking for constants in Multiply. Simpler method to keep track of when a node is folded into its parent. Several other bug fixes. llvm-svn: 1964
* Add support for code generation for array references.Vikram S. Adve2002-03-181-481/+607
| | | | | | | | Also, use distinct names for the three types of SetMachineOperand to avoid painful overloading problems and errors. Bug fix in converting-int-to-float. Other minor stuff. llvm-svn: 1896
* Bug fixes for not using unified reg. numbers, and for using theVikram S. Adve2002-03-181-62/+77
| | | | | | | wrong register class for saving CC registers. Also, use distinct names for the three types of SetMachineOperand. llvm-svn: 1895
* Use distinct names for the three types of SetMachineOperand toVikram S. Adve2002-03-181-35/+39
| | | | | | avoid painful overloading problems and errors. llvm-svn: 1893
* Minor fixes.Vikram S. Adve2002-03-181-3/+7
| | | | llvm-svn: 1892
* Handling of global names was severely broken when converting to 2 passes.Vikram S. Adve2002-03-181-28/+61
| | | | | | | Different labels were generated for the same name in different passes. Use an annotation to hold a fixed table of names. llvm-svn: 1891
* Several sundry bug fixes.Vikram S. Adve2002-03-181-15/+23
| | | | llvm-svn: 1890
* Fix include error.Vikram S. Adve2002-03-032-2/+2
| | | | llvm-svn: 1819
* Clean up std namespace issuesChris Lattner2002-02-244-10/+14
| | | | | | Silence warning llvm-svn: 1790
* * Pull BasicBlock::pred_* and BasicBlock::succ_* out of BasicBlock.h and intoChris Lattner2002-02-121-3/+5
| | | | | | | | | llvm/Support/CFG.h * Make pred & succ iterators for intervals global functions * Add #includes that are now neccesary because BasicBlock.h doesn't include InstrTypes.h anymore llvm-svn: 1750
* Method.h no longer includes BasicBlock.hChris Lattner2002-02-121-1/+6
| | | | | | | Method::inst_* is now in llvm/Support/InstIterator.h GraphTraits specializations for BasicBlock and Methods are now in llvm/Support/CFG.h llvm-svn: 1746
* Write llvm bytecode to output .s file as last step of LLC.Chris Lattner2002-02-113-0/+81
| | | | llvm-svn: 1728
* Fix build errorChris Lattner2002-02-111-2/+2
| | | | llvm-svn: 1722
* Convert operand iterator over to work like an STL iteratorChris Lattner2002-02-051-1/+0
| | | | llvm-svn: 1720
* Minor change: Methods that return ValueSet's that are guaranteed to be validChris Lattner2002-02-051-16/+16
| | | | | | return references instead of pointers. llvm-svn: 1719
* * Code CleanupsChris Lattner2002-02-052-16/+14
| | | | | | * Removal dependencies on Type.h & remove uses of getTypeID() llvm-svn: 1718
* * Eliminate the LiveVarSet class, making applyTranferFuncForMInst a staticChris Lattner2002-02-052-9/+8
| | | | | | | | | | function in the one .cpp file that uses it. Use ValueSet's instead. * Prepare to delete LiveVarSet.h & LiveVarSet.cpp * Eliminate the ValueSet class, making all old member functions into global templates that will eventually be moved to Support. * Eliminate some irrelevant const's llvm-svn: 1712
* * Code CleanupsChris Lattner2002-02-051-33/+17
| | | | | | * Introduce RAV to allow stream I/O instead of using printValue llvm-svn: 1710
* The interface to instruction scheduling is now just a call to get the pass.Chris Lattner2002-02-041-12/+1
| | | | llvm-svn: 1702
* * ValueSet interface converted from add/remove to insert/eraseChris Lattner2002-02-041-2/+2
| | | | llvm-svn: 1690
* Convert RegisterAllocator interface to opaque pass type, so that users do notChris Lattner2002-02-041-1/+1
| | | | | | need to know _anything_ about RegAlloc to use it. Well in the end maybe. llvm-svn: 1681
* EmitAssembly doesn't need an UltraSparc, it can do with any TargetMachineChris Lattner2002-02-041-4/+4
| | | | llvm-svn: 1680
* * Minor cleanupsChris Lattner2002-02-045-535/+347
| | | | | | | | | | * Reduce number of #includes * Remove blatently misleading qualifiers (how do you have an inlined pure virtual function?) * Remove unnecesary & ignored qualifiers (const int argument vs int argument) * SparcInternals.h now no longer #includes RegClass.h or SparcRegClassInfo.h * Pull inlined functions out of .h file if they are virtual and interfere with dependencies llvm-svn: 1677
* SparcRegInfo does NOT need anything about instruction scheduling.Chris Lattner2002-02-041-1/+0
| | | | llvm-svn: 1670
* Pull all of the scheduling related stuff out of Sparc.cpp into it's own fileChris Lattner2002-02-042-734/+744
| | | | llvm-svn: 1668
* Split RegisterAllocation stuff OUT of Sparc.cpp into a well defined passChris Lattner2002-02-041-27/+2
| | | | | | that has a very minimal interface (like it should have). llvm-svn: 1667
* Move a ton of tables out of SparcInternals.h and move them to Sparc.cpp.Chris Lattner2002-02-042-687/+686
| | | | | | | Eventually they will probably get moved again, but at least now they aren't having to be compiled by 7 different .cpp files... llvm-svn: 1666
* Convert sparc backend over to use pass based compilation structure.Chris Lattner2002-02-031-29/+9
| | | | | | Try to decouple stuff as much as possible. llvm-svn: 1664
* Convert sparc backend over to use pass based compilation structure.Chris Lattner2002-02-031-96/+119
| | | | | | | Convert some stages into passes in preparation for more splitting up. Try to decouple stuff as much as possible. llvm-svn: 1663
* Convert assembly emission over to a two pass approach.Chris Lattner2002-02-031-172/+217
| | | | llvm-svn: 1662
OpenPOWER on IntegriCloud