summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc/Sparc.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Move machine code generation/destruction passes out of Sparc.cpp becauseChris Lattner2002-10-281-44/+2
| | | | | | they are generic llvm-svn: 4310
* Move addPassesToEmitAssembly from TargetMachine to UltraSparc because itChris Lattner2002-10-281-0/+119
| | | | | | really is sparc specific. llvm-svn: 4308
* Changed `MachineCodeForMethod' to `MachineFunction'.Misha Brukman2002-10-281-5/+5
| | | | llvm-svn: 4301
* Prune #includesChris Lattner2002-10-251-2/+0
| | | | llvm-svn: 4277
* Added class MachineOptInfo as interface to target-specificVikram S. Adve2002-09-201-1/+2
| | | | | | | routines supporting machine code optimization. Also added method MachineInstrInfo::getNOPOpCode(). llvm-svn: 3845
* Move all the code that creates code generation passes from Sparc.cpp toVikram S. Adve2002-09-161-89/+3
| | | | | | | | TargetMachine.cpp, since it is entirely machine-independent. Also, add options to disable optional back-end passes (preselection and instr. scheduling). llvm-svn: 3740
* Added getFunctionInfo and MappingInfoForFunction pass, and fixed the earlier ↵Anand Shukla2002-08-271-3/+3
| | | | | | error in compiling llvm-svn: 3513
* Fix breakage in the buildChris Lattner2002-08-071-3/+2
| | | | llvm-svn: 3258
* added Mapping and Function PassMehwish Nagda2002-08-051-1/+5
| | | | llvm-svn: 3251
* * Move InstructionSelection pass to lib/CodeGen/InstrSelection so it isChris Lattner2002-07-301-18/+1
| | | | | | shared by backends. llvm-svn: 3146
* GCC 3.1 changes, finally the burm file builds the FIRST time a clean ↵Chris Lattner2002-07-251-2/+2
| | | | | | directory is built. llvm-svn: 3073
* Added the Mapping Pass to out put Mapping Info to .s fileMehwish Nagda2002-07-151-3/+6
| | | | llvm-svn: 2913
* MEGAPATCH checkin.Chris Lattner2002-06-251-16/+13
| | | | | | For details, See: docs/2002-06-25-MegaPatchInfo.txt llvm-svn: 2778
* Add new optional getPassName() virtual function that a Pass can overrideChris Lattner2002-04-291-0/+9
| | | | | | to make debugging output a lot nicer. llvm-svn: 2395
* * Rename MethodPass class to FunctionPassChris Lattner2002-04-271-7/+7
| | | | | | | | | | | | | | | - 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
* 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
OpenPOWER on IntegriCloud