summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc/PrologEpilogCodeInserter.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Factory methods for function passes now return type FunctionPass *.Brian Gaeke2003-08-141-1/+1
| | | | llvm-svn: 7839
* This code doesn't modify the LLVM structure, keep stuff constChris Lattner2003-07-261-2/+2
| | | | llvm-svn: 7343
* * Changed Bcc instructions to behave like BPcc instructionsMisha Brukman2003-06-061-1/+1
| | | | | | | | | * BPA and BPN do not take a %cc register as a parameter * SLL/SRL/SRA{r,i}5 are there for a reason - they are ONLY 32-bit instructions * Likewise, SLL/SRL/SRAX{r,i}6 are only 64-bit * Added WRCCR{r,i} opcodes llvm-svn: 6655
* Added 'r' or 'i' annotations to instructions, as SparcInstr.def has changed.Misha Brukman2003-05-271-8/+8
| | | | llvm-svn: 6373
* Add support for compiling varargs functions.Vikram S. Adve2003-05-251-0/+30
| | | | llvm-svn: 6325
* Sparc instruction opcodes now all live under the `V9' namespace.Misha Brukman2003-05-201-32/+35
| | | | llvm-svn: 6249
* Prune #includesChris Lattner2003-01-151-1/+0
| | | | llvm-svn: 5303
* * Elimiante a bunch of functions from InstrSelectionSupport.h, replacing usersChris Lattner2003-01-151-6/+7
| | | | | | | of them with BUildMI calls instead. * Fix def information in instructions generated by prologepilog inserter llvm-svn: 5287
* Rename MachineInstrInfo -> TargetInstrInfoChris Lattner2003-01-141-1/+1
| | | | llvm-svn: 5272
* * Changes to be a MachineFunctionPassChris Lattner2002-12-281-56/+46
| | | | | | | | * Frame information is now stuck in MachineFunctionInfo instead of directly in MachineFunction. * Don't require a TM as an argument to the ctor llvm-svn: 5172
* Use BuildMI instead of explicit code.Chris Lattner2002-10-281-34/+15
| | | | llvm-svn: 4362
* Rewrote uses of deprecated `MachineFunction::get(BasicBlock *BB)'.Misha Brukman2002-10-281-8/+10
| | | | llvm-svn: 4352
* *** empty log message ***Chris Lattner2002-10-281-1/+0
| | | | llvm-svn: 4323
* Rename MachineCodeForBasicBlock to MachineBasicBlockChris Lattner2002-10-281-3/+3
| | | | llvm-svn: 4318
* Changed `MachineCodeForMethod' to `MachineFunction'.Misha Brukman2002-10-281-3/+3
| | | | llvm-svn: 4301
* Don't use %l0 for large operands to a SAVE since it is needed *before* SAVE!Vikram S. Adve2002-10-131-7/+7
| | | | | | We now use %g1 instead since that is shared and volatile. llvm-svn: 4133
* Move all the code that creates code generation passes from Sparc.cpp toVikram S. Adve2002-09-161-2/+2
| | | | | | | | TargetMachine.cpp, since it is entirely machine-independent. Also, add options to disable optional back-end passes (preselection and instr. scheduling). llvm-svn: 3740
* - Clean up interface to Sparc register handling a bit:Chris Lattner2002-08-121-1/+1
| | | | | | | | | | | | - Eliminate Sparc*Order classes, moving contents to Sparc*Class classes - get register name methods now return const char * const pointers instead of std::string's. - Added file header comments to SparcRegClassInfo.(cpp|h) - Moved BIG constant arrays out of SparcRegClassInfo.h, into SparcRegInfo.cpp. This should allow a LOT of std::string constructors to not have to be called. llvm-svn: 3295
* * Removed extraneous #includesChris Lattner2002-08-091-2/+0
| | | | | | | * Fixed file headers to be consistent with the rest of LLVM * Other minor fixes llvm-svn: 3278
* Bug fix: incorrect SAVE instruction when using register for stack size.Vikram S. Adve2002-08-011-1/+1
| | | | llvm-svn: 3198
* Stop using pseudo-instructions (SETX, SETUW, SETSW)Vikram S. Adve2002-07-101-10/+28
| | | | | | and generate actual machine instruction sequences directly. llvm-svn: 2858
* class MachineCodeForBasicBlock is now an annotation on BasicBlock.Vikram S. Adve2002-07-081-2/+3
| | | | llvm-svn: 2838
* changes to make it compatible with 64bit gccAnand Shukla2002-06-251-1/+1
| | | | llvm-svn: 2791
* MEGAPATCH checkin.Chris Lattner2002-06-251-32/+26
| | | | | | 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/+3
| | | | | | to make debugging output a lot nicer. llvm-svn: 2395
* * Rename MethodPass class to FunctionPassChris Lattner2002-04-271-2/+2
| | | | | | | | | | | | | | | - 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
* 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
* 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
OpenPOWER on IntegriCloud