summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc/Sparc.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Great renaming: Sparc --> SparcV9Brian Gaeke2004-02-251-238/+0
| | | | llvm-svn: 11826
* Doxygenify comments.Misha Brukman2004-02-091-12/+9
| | | | llvm-svn: 11252
* Remove dump-input option.Brian Gaeke2004-01-131-14/+2
| | | | | | Make addPassesToEmitAssembly() look slightly more like addPassesToJITCompile(). llvm-svn: 10818
* Clean up a lot of the code I added yesterday by exposing the IntrinsicLoweringChris Lattner2003-12-281-9/+4
| | | | | | implementation from the TargetMachine directly. llvm-svn: 10636
* Eliminate some code that is not needed now that we have the intrinsic ↵Chris Lattner2003-12-281-7/+14
| | | | | | lowering pass llvm-svn: 10628
* Really release memory used by functions. Patch by Chris.Misha Brukman2003-12-221-0/+1
| | | | llvm-svn: 10572
* Hoist some sparc specific code into the sparc targetChris Lattner2003-12-201-5/+50
| | | | llvm-svn: 10554
* Rip JIT specific stuff out of TargetMachine, as per PR176Chris Lattner2003-12-201-15/+10
| | | | llvm-svn: 10542
* Reorganized the Sparc backend to be more modular -- each differentMisha Brukman2003-12-171-92/+30
| | | | | | | | | | | | | implementation of a Target{RegInfo, InstrInfo, Machine, etc} now has a separate header and a separate implementation file. This means that instead of a massive SparcInternals.h that forces a recompilation of the whole target whenever a minor detail is changed, you should only recompile a few files. Note that SparcInternals.h is still around; its contents should be minimized. llvm-svn: 10500
* * Put command-line switches in their own namespaceMisha Brukman2003-11-131-17/+16
| | | | | | * Pass creation functions are no longer in the UltraSparc class llvm-svn: 9950
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-111-0/+4
| | | | llvm-svn: 9903
* For some reason, LICM and GCSE like to crash the FunctionPassManager when theyMisha Brukman2003-11-081-2/+4
| | | | | | are being added as FunctionPasses... Sigh. llvm-svn: 9798
* PreSelection is not optional, it performs a necessary and vital transformationMisha Brukman2003-11-071-12/+15
| | | | | | | | | for the Sparc backend: breaking up constant expressions. Thus, we cannot have it guarded by a conditional, it should never be disabled. Also, it's now available for the JIT since it is a FunctionPass. llvm-svn: 9791
* Goodbye, AddRegNumToValuesBrian Gaeke2003-10-201-4/+0
| | | | llvm-svn: 9309
* Added LLVM project notice to the top of every C++ source file.John Criswell2003-10-201-0/+7
| | | | | | Header files will be on the way. llvm-svn: 9298
* Remove extra blank line.Brian Gaeke2003-10-171-1/+0
| | | | llvm-svn: 9196
* Add support for the Invoke instruction by using the LowerInvoke passChris Lattner2003-10-051-0/+6
| | | | llvm-svn: 8872
* Make sure to get the definition of getRegisterAllocatorChris Lattner2003-09-301-0/+1
| | | | llvm-svn: 8801
* RegisterAllocation.h is going awayChris Lattner2003-09-301-1/+0
| | | | llvm-svn: 8795
* Fix a typo in Sparc.cpp.Brian Gaeke2003-09-181-6/+4
| | | | | | | Update names of some pass creator fns in addPassesToEmitAssembly(). FunctionInfo is gone. llvm-svn: 8599
* No longer provide an optinfo, noone uses itChris Lattner2003-09-011-2/+1
| | | | llvm-svn: 8311
* Move private interfaces into private .h fileChris Lattner2003-09-011-2/+0
| | | | llvm-svn: 8306
* Targets should configure themselves based on a Module, not some wierd flagsChris Lattner2003-08-241-1/+1
| | | | llvm-svn: 8132
* Rename -emitmaps to -enable-mapsBrian Gaeke2003-08-161-1/+1
| | | | llvm-svn: 7913
* Unbreak SPARC backend: addPassesToJITCompile andBrian Gaeke2003-08-141-1/+1
| | | | | | addPassesToEmitMachineCode now both take a FunctionPassManager. llvm-svn: 7837
* Adjust files for move of mapping info stuff into the Sparc directoryChris Lattner2003-08-131-4/+3
| | | | llvm-svn: 7802
* Disable emitting LLVM-to-MI maps, by default.Vikram S. Adve2003-08-121-9/+15
| | | | | | Add -emitmaps options to turn this back on. llvm-svn: 7774
* Changing command-line option formats to be more consistent with LLVM style.Misha Brukman2003-08-061-3/+3
| | | | llvm-svn: 7658
* * Renamed option from `nopreselect' to `nopreopt' since it disables more thanMisha Brukman2003-08-061-6/+10
| | | | | | | | just PreSelection * Wrapped code at 80 columns * Added the DecomposeMultiDimRefs Pass to the JIT compilation path llvm-svn: 7657
* Put back the separate pass to decompose multi-dimensional referencesVikram S. Adve2003-08-011-0/+3
| | | | | | | | since it is *necessary* for correct code generation. Only optional transformations belong in the PreOpts pass (which needs to be renamed from PreSelection to PreOpts). llvm-svn: 7474
* Rename 'dump-asm' to 'dump-input' and really print it just before code-gen.Vikram S. Adve2003-07-291-6/+6
| | | | llvm-svn: 7394
* lib/Target/Sparc/Sparc.cpp:Brian Gaeke2003-06-181-1/+22
| | | | | | | | | | | | | | | | | | | | | Move LowerAllocations, PrintFunction, and SymbolStripping passes, and the corresponding -disable-strip and -d options, over here to the SPARC target-specific bits of llc. Rename -d to -dump-asm. tools/llc/Makefile: Reindent. Add x86 library so that llc compiles again. tools/llc/llc.cpp: Remove support for running arbitrary optimization passes. Use opt instead. Remove LowerAllocations, PrintFunction, and SymbolStripping passes, as noted above. Allow user to select a backend (x86 or SPARC); default to guessing from the endianness/pointer size of the input bytecode file. Fix typos. Delete empty .s file and exit with error status if target does not support static compilation. llvm-svn: 6776
* Rename FInfo.cpp to FunctionInfo.cpp, eliminate FInfo.hChris Lattner2003-06-161-2/+0
| | | | llvm-svn: 6712
* * Removed PreSelection pass because that is now done in the JITMisha Brukman2003-06-061-22/+10
| | | | | | | * Removed instruction scheduling as it is too slow to run in a JIT environment * Removed other passes because they aren't necessary and can slow JIT down llvm-svn: 6652
* lib/CodeGen/Mapping/MappingInfo.cpp:Brian Gaeke2003-06-041-1/+1
| | | | | | | | | | | | | | | | | | | | Update file comment to contain a bunch of the overview mapping-info documentation previously buried within the file. Remove some unnecessary include/using stmts. Rename pass to MappingInfoCollector. Rewrite a lot of it so it doesn't use global instance variables and so it outputs into MappingInfo objects and then dumps those out, instead of going straight to an assembly file. Change name of factory to getMappingInfoCollector. Fold prologue & epilogue writers into MappingInfo methods. lib/Target/Sparc/FInfo.cpp: Correct file comment to reflect above change lib/Target/Sparc/Sparc.cpp: Change name of factory to getMappingInfoCollector. llvm-svn: 6617
* Enabling some of these passes causes lli to breakMisha Brukman2003-05-311-0/+6
| | | | llvm-svn: 6457
* Make LLI behave just like LLC with regard to the compile passes it uses.Misha Brukman2003-05-301-0/+15
| | | | llvm-svn: 6444
* * Allow passing in an unsigned configuration to allocateSparcTargetMachine()Misha Brukman2003-05-271-10/+35
| | | | | | | | a default value is set in the header file. * Fixed some code layout to make it more consistent with the rest of codebase * Added addPassesToJITCompile() with relevant passes llvm-svn: 6369
* Remove two fields from TargetData which are target specific.Chris Lattner2003-04-261-1/+1
| | | | llvm-svn: 5963
* Add support for the Switch instruction by running the lowerSwitch pass firstChris Lattner2003-04-231-0/+3
| | | | llvm-svn: 5867
* Rename MachineInstrInfo -> TargetInstrInfoChris Lattner2003-01-141-2/+2
| | | | llvm-svn: 5272
* * Frame & const pool info is no longer directly in MachineFunctionChris Lattner2002-12-281-8/+10
| | | | llvm-svn: 5173
* Sparc is not little endianChris Lattner2002-12-241-1/+1
| | | | llvm-svn: 5129
* Initialize implicit uses/defs fields for sparc backend to empty listChris Lattner2002-12-031-1/+3
| | | | llvm-svn: 4876
* Reassociate pass now worksChris Lattner2002-10-311-1/+1
| | | | llvm-svn: 4473
* Sparc backend doesn't use target specific flags yetChris Lattner2002-10-301-1/+1
| | | | llvm-svn: 4440
* * Privatize the TargetNameChris Lattner2002-10-291-6/+2
| | | | | | | * Move optSizeForSubWordData to TargetData * Remove unused fields llvm-svn: 4417
* Allow TargetMachine to refuse static code genChris Lattner2002-10-291-1/+2
| | | | llvm-svn: 4415
* Rename Sparc.h to TargetMachineImpls.hChris Lattner2002-10-291-1/+1
| | | | llvm-svn: 4407
* MachineInstrInfo doesn't need a TargetMachineChris Lattner2002-10-291-1/+0
| | | | llvm-svn: 4372
OpenPOWER on IntegriCloud