summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc/SparcInternals.h
Commit message (Collapse)AuthorAgeFilesLines
...
* - 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-11/+7
| | | | | | | * Fixed file headers to be consistent with the rest of LLVM * Other minor fixes llvm-svn: 3278
* GCC 3.1 changes, finally the burm file builds the FIRST time a clean ↵Chris Lattner2002-07-251-0/+1
| | | | | | directory is built. llvm-svn: 3073
* added std:: to vectorAnand Shukla2002-07-111-2/+2
| | | | llvm-svn: 2874
* Changed interface to insertCallerSavingCode().Vikram S. Adve2002-07-101-1/+3
| | | | llvm-svn: 2859
* Numerous changes in interface to class SparcRegInfo corresponding toVikram S. Adve2002-07-081-75/+78
| | | | | | | | changes in class MachineRegInfo (see MachineRegInfo.h for details). Added {LD,ST}[X]FSR instructions. llvm-svn: 2839
* Remove diff-cluttering tagsChris Lattner2002-06-301-1/+0
| | | | llvm-svn: 2808
* changes to make it compatible with 64bit gccAnand Shukla2002-06-251-4/+4
| | | | llvm-svn: 2791
* Numerous bug fixes:Vikram S. Adve2002-05-191-50/+73
| | | | | | | | | | | | | | | | | | | | | | | | -- correct sign extensions for integer casts and for shift-by-constant instructions generated for integer multiply -- passing FP arguments to functions with more than 6 arguments -- passing FP arguments to varargs functions -- passing FP arguments to functions with no prototypes -- incorrect stack frame size when padding a section -- folding getelementptr operations with mixed array and struct indexes -- use uint64_t instead of uint for constant offsets in mem operands -- incorrect coloring for CC registers (both int and FP): interferences were being completely ignored for int CC and were considered but no spills were marked for fp CC! Also some code improvements: -- better interface to generating machine instr for common cases (many places still need to be updated to use this interface) -- annotations on MachineInstr to communicate information from one codegen phase to another (now used to pass information about CALL/JMPLCALL operands from selection to register allocation) -- all sizes and offests in class TargetData are uint64_t instead of uint llvm-svn: 2640
* Eliminate duplicate or unneccesary #include'sChris Lattner2002-04-291-1/+0
| | | | llvm-svn: 2397
* * Rename MethodPass class to FunctionPassChris Lattner2002-04-271-17/+17
| | | | | | | | | | | | | | | - 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
* 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
* Include prototype for interface to PrologEpilogCodeInserter.cpp fileChris Lattner2002-04-091-0/+2
| | | | llvm-svn: 2192
* s/Method/FunctionChris Lattner2002-04-081-6/+6
| | | | llvm-svn: 2180
* Added function getCallInstIndirectAddrVal() to set call interferenceVikram S. Adve2002-03-311-1/+3
| | | | | | for that value. llvm-svn: 2074
* s/Method/FunctionChris Lattner2002-03-291-1/+2
| | | | llvm-svn: 2035
* Several sundry bug fixes.Vikram S. Adve2002-03-181-15/+23
| | | | llvm-svn: 1890
* Clean up std namespace issuesChris Lattner2002-02-241-1/+1
| | | | | | Silence warning llvm-svn: 1790
* Write llvm bytecode to output .s file as last step of LLC.Chris Lattner2002-02-111-0/+1
| | | | llvm-svn: 1728
* * Minor cleanupsChris Lattner2002-02-041-198/+62
| | | | | | | | | | * 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
* Move a ton of tables out of SparcInternals.h and move them to Sparc.cpp.Chris Lattner2002-02-041-687/+1
| | | | | | | 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
* Implement new method by method assembly output & memory releasingChris Lattner2002-02-031-1/+13
| | | | llvm-svn: 1656
* Changes to build successfully with GCC 3.02Chris Lattner2002-01-201-19/+21
| | | | llvm-svn: 1503
* removed SizeOfStackOperand constant from the SparcRegInfo class - no longer usedRuchira Sasanka2002-01-071-2/+1
| | | | | | by code. llvm-svn: 1497
* Added more commentsRuchira Sasanka2002-01-071-42/+102
| | | | llvm-svn: 1496
* Added comments and correct logic for finding register sizes.Ruchira Sasanka2002-01-071-10/+19
| | | | llvm-svn: 1494
* Add function returning which operand holds immediate constantVikram S. Adve2001-11-141-0/+16
| | | | | | for a given opcode. llvm-svn: 1307
* When allocating space on stack for writing a register,Vikram S. Adve2001-11-121-0/+2
| | | | | | | use the size of the register, not the size of the Value type, to get the right alignment. llvm-svn: 1284
* Added phi elimination codeRuchira Sasanka2001-11-121-1/+10
| | | | llvm-svn: 1265
* Down-growing offsets from FP should start at 0, not -1.Vikram S. Adve2001-11-111-1/+1
| | | | llvm-svn: 1255
* Corrected reodering code for instructions inserted before callsRuchira Sasanka2001-11-101-1/+28
| | | | llvm-svn: 1252
* Added code for correct reordering of call argumentsRuchira Sasanka2001-11-091-0/+4
| | | | llvm-svn: 1234
* Bug fix: Need to include the stack offset "bias" in assembly code itself.Vikram S. Adve2001-11-091-8/+39
| | | | | | | Added class UltraSparcCacheInfo. Added function to convert float to int by copying via memory. llvm-svn: 1224
* Use MachineFrameInfo as base class of UltraSparcFrameInfo, and madeVikram S. Adve2001-11-081-24/+102
| | | | | | a major overhaul of this class and how stack frames are managed. llvm-svn: 1191
* Killing warningsChris Lattner2001-11-071-0/+1
| | | | llvm-svn: 1175
* Squelch warnings about not returning a valueChris Lattner2001-11-071-3/+4
| | | | llvm-svn: 1173
* Fixed instruction information for RDCCR and WRCCR.Vikram S. Adve2001-11-041-7/+16
| | | | | | | | Fixed selection to create a TmpInstruction for each integer CC register (since it is an implicit side-effect, unlike FP CC registers which are explicit operands). llvm-svn: 1120
* Added code to support correct saving of %ccr across callsRuchira Sasanka2001-11-031-3/+5
| | | | llvm-svn: 1111
* Arranged stack frame - needs furhter organizationRuchira Sasanka2001-11-031-0/+3
| | | | | | Moved InsertCallerSaveInstr to the SparcRegInfo.cpp llvm-svn: 1106
* Added support for spillingRuchira Sasanka2001-10-281-4/+27
| | | | llvm-svn: 992
* Reordered a couple of registers to simplify some new checks.Vikram S. Adve2001-10-221-7/+41
| | | | | | | Added code to map between caller's and callee's register windows. Added frame layout class. llvm-svn: 937
* Added support for both call/jmpl instructionsRuchira Sasanka2001-10-211-1/+7
| | | | llvm-svn: 930
* Added virtual function to generate an instruction sequence toVikram S. Adve2001-10-181-4/+13
| | | | | | load a constant into a register. llvm-svn: 862
* Added support for caller savingRuchira Sasanka2001-10-161-8/+32
| | | | llvm-svn: 847
* Output to cerr rather than cout so that debug info doesn't mess up assembly ↵Chris Lattner2001-10-151-4/+1
| | | | | | generation llvm-svn: 840
* updated suggesting/coloring of call & return args & implicit operandsRuchira Sasanka2001-10-151-7/+14
| | | | llvm-svn: 830
* Be const correctChris Lattner2001-10-151-1/+1
| | | | llvm-svn: 826
* Fix broken #endifChris Lattner2001-10-131-1/+1
| | | | llvm-svn: 768
* added suggesting color supportRuchira Sasanka2001-09-301-16/+120
| | | | llvm-svn: 673
OpenPOWER on IntegriCloud