summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc
Commit message (Collapse)AuthorAgeFilesLines
...
* Tighten up the AnalysisUsage of lots of passes, primarily to correctly ↵Chris Lattner2002-04-281-1/+9
| | | | | | indicate whether or not they invalidate the CFGA llvm-svn: 2386
* Add #include that was removed from TargetMachine.hChris Lattner2002-04-282-0/+2
| | | | llvm-svn: 2381
* Split ConstantVals.h into Constant.h and Constants.hChris Lattner2002-04-283-7/+7
| | | | llvm-svn: 2378
* Simplify codeChris Lattner2002-04-281-15/+5
| | | | | | Remove unneccesary getID variant for module's llvm-svn: 2353
* s/Method/FunctionChris Lattner2002-04-271-1/+1
| | | | llvm-svn: 2336
* * Rename MethodPass class to FunctionPassChris Lattner2002-04-274-33/+33
| | | | | | | | | | | | | | | - Rename runOnMethod to runOnFunction * Transform getAnalysisUsageInfo into getAnalysisUsage - Method is now const - It now takes one AnalysisUsage object to fill in instead of 3 vectors to fill in - Pass's now specify which other passes they _preserve_ not which ones they modify (be conservative!) - A pass can specify that it preserves all analyses (because it never modifies the underlying program) * s/Method/Function/g in other random places as well llvm-svn: 2333
* Use the cast<> operator in favor of C style castsChris Lattner2002-04-271-3/+3
| | | | llvm-svn: 2331
* Change Constant::getNullConstant to Constant::getNullValueChris Lattner2002-04-271-3/+2
| | | | llvm-svn: 2323
* Simplify code a bitChris Lattner2002-04-271-6/+5
| | | | llvm-svn: 2322
* Don't pad spills and temp. stack areas for alignment.Vikram S. Adve2002-04-251-4/+5
| | | | | | | Freeze auto vars and spill areas when their sizes are used for computing other offsets. llvm-svn: 2317
* Major changes to how int and FP arguments are handled. VarargsVikram S. Adve2002-04-251-189/+254
| | | | | | | function calls were simply wrong; other functions were just not using all available registers. llvm-svn: 2316
* Added functions to compute which register, if any, to useVikram S. Adve2002-04-251-15/+20
| | | | | | for a particular argument in a list of arguments. llvm-svn: 2315
* Insert copy operations for FP arguments to a varargs function,Vikram S. Adve2002-04-251-31/+69
| | | | | | | | to copy the FP arg. to an integer. Necessary so that the register allocator has two different live ranges for the FP value and the int. argument. llvm-svn: 2314
* * getAsString requires that the input array is string compatible, soChris Lattner2002-04-181-33/+32
| | | | | | | assert it. * Use WriteAsOperand instead of getStringValue for constants llvm-svn: 2296
* Only print debug message if DEBUG_RA is onChris Lattner2002-04-151-8/+6
| | | | llvm-svn: 2254
* Handle the FP format problem, where outputed FP constants were not preciseChris Lattner2002-04-111-7/+24
| | | | | | enough. This fixes compilation of the health benchmark. llvm-svn: 2228
* Eliminate unneccesary extraneous iteratorsChris Lattner2002-04-091-10/+4
| | | | llvm-svn: 2215
* Add explicit #includes of Function.h to make up for the removed #includeChris Lattner2002-04-091-0/+1
| | | | | | in iOther.h llvm-svn: 2209
* iUse new form of pop_back to make code more conciseChris Lattner2002-04-091-2/+1
| | | | llvm-svn: 2202
* 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
OpenPOWER on IntegriCloud