summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc/SparcInstrInfo.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Use BuildMI moreChris Lattner2003-01-151-26/+15
| | | | llvm-svn: 5299
* Use BuildMI more, Create*Instruction lessChris Lattner2003-01-151-21/+17
| | | | llvm-svn: 5291
* * Elimiante a bunch of functions from InstrSelectionSupport.h, replacing usersChris Lattner2003-01-151-33/+26
| | | | | | | of them with BUildMI calls instead. * Fix def information in instructions generated by prologepilog inserter llvm-svn: 5287
* Rename MachineInstrInfo -> TargetInstrInfoChris Lattner2003-01-141-4/+4
| | | | llvm-svn: 5272
* * TargetData is no longer directly accessable from TargetMachineChris Lattner2002-12-281-8/+9
| | | | | | * Constpool & frame info is no longer directly in MachineFunction llvm-svn: 5174
* MachineInstrInfo doesn't need a TargetMachineChris Lattner2002-10-291-2/+2
| | | | llvm-svn: 4372
* Changed `MachineCodeForMethod' to `MachineFunction'.Misha Brukman2002-10-281-10/+10
| | | | llvm-svn: 4301
* - Rename Instruction::First*Op to *OpsBegin, and Num*Ops to *OpsEnd toChris Lattner2002-10-131-8/+8
| | | | | | reflect the fact that it's a range being defined. llvm-svn: 4147
* Make sure to handle small negative values hiding as large unsigned longs --Vikram S. Adve2002-10-131-4/+10
| | | | | | this is a common case created by the front-end. llvm-svn: 4127
* Modify operand order for Create{Sign,Zero}ExtensionInstructions.Vikram S. Adve2002-09-271-17/+17
| | | | llvm-svn: 3960
* Add methods to query about the representation of LLVM quantities (e.g.,Vikram S. Adve2002-09-161-0/+79
| | | | | | | constants). Useful for target-dependent LLVM transformations like Preselection. llvm-svn: 3743
* Bug fixes in casting between floats and ints smaller than 64 bits.Vikram S. Adve2002-09-051-48/+102
| | | | | | Add UltraSparcInstrInfo::CreateZeroExtensionInstructions to help with that. llvm-svn: 3580
* - Renamed Type::isIntegral() to Type::isInteger()Chris Lattner2002-09-031-5/+5
| | | | | | | - Added new method Type::isIntegral() that is the same as isInteger, but also accepts bool. llvm-svn: 3574
* Several bug fixes in casting to signed int values.Vikram S. Adve2002-08-131-69/+141
| | | | llvm-svn: 3301
* * Removed extraneous #includesChris Lattner2002-08-091-26/+14
| | | | | | | * Fixed file headers to be consistent with the rest of LLVM * Other minor fixes llvm-svn: 3278
* Bug fix in CreateCodeToLoadConst(): use sign of dest, not operand,Vikram S. Adve2002-08-041-29/+7
| | | | | | in choosing how to create int-set instructions. llvm-svn: 3248
* Just improved comments and assertions.Vikram S. Adve2002-07-311-14/+18
| | | | llvm-svn: 3191
* GCC 3.1 changes, finally the burm file builds the FIRST time a clean ↵Chris Lattner2002-07-251-1/+1
| | | | | | directory is built. llvm-svn: 3073
* Major overhaul to stop using pseudo-instructions (SETX, SETUW, SETSW)Vikram S. Adve2002-07-101-110/+207
| | | | | | | | | | | and generate actual machine instruction sequences directly. Also a couple of bug fixes in code for putting constants into registers: -- Do *not* sign-extend unsigned constant that is shorter than int reg size -- Fix handling of address constant (a GlobalValue) vs. constant that must be loaded. llvm-svn: 2856
* Remove diff-cluttering tagsChris Lattner2002-06-301-1/+0
| | | | llvm-svn: 2808
* changes to make it compatible with 64bit gccAnand Shukla2002-06-251-1/+1
| | | | llvm-svn: 2791
* Numerous bug fixes:Vikram S. Adve2002-05-191-85/+212
| | | | | | | | | | | | | | | | | | | | | | | | -- 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
* Replace all usages of Type::isPointerType with isa<PointerType>Chris Lattner2002-05-061-4/+4
| | | | llvm-svn: 2486
* Eliminate duplicate or unneccesary #include'sChris Lattner2002-04-291-1/+0
| | | | llvm-svn: 2397
* Split ConstantVals.h into Constant.h and Constants.hChris Lattner2002-04-281-1/+1
| | | | llvm-svn: 2378
* Change references to the Method class to be references to the FunctionChris Lattner2002-04-071-15/+15
| | | | | | | class. The Method class is obsolete (renamed) and all references to it are being converted over to Function. llvm-svn: 2144
* Fix CreateUIntSetInstruction() to handle sign extensions correctly.Vikram S. Adve2002-03-311-7/+37
| | | | llvm-svn: 2059
* 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
* * Switch to new TmpInstruction modelChris Lattner2002-02-031-9/+5
| | | | llvm-svn: 1654
* Changes to build successfully with GCC 3.02Chris Lattner2002-01-201-19/+15
| | | | llvm-svn: 1503
* Remove int hack to allow unsigned numbers greater than 2^63 - 1...Vikram S. Adve2001-12-151-6/+35
| | | | llvm-svn: 1483
* Rename ConstPoolVal -> ConstantChris Lattner2001-12-031-5/+5
| | | | | | | Rename ConstPool* -> Constant* Rename ConstPoolVals.h -> ConstantVals.h llvm-svn: 1407
* Fix int->float conversion.Vikram S. Adve2001-11-151-3/+4
| | | | llvm-svn: 1314
* Added function UltraSparcInstrInfo::CreateCodeToCopyFloatToInt.Vikram S. Adve2001-11-091-19/+53
| | | | llvm-svn: 1226
* Added new function UltraSparcInstrInfo::CreateCodeToCopyIntToFloat.Vikram S. Adve2001-11-081-6/+64
| | | | | | Also major overhaul of how stack frame is managed. llvm-svn: 1193
* Generate SETX for 64-bit integers!Vikram S. Adve2001-10-281-8/+28
| | | | llvm-svn: 1007
* Moved implementation of class UltraSparcInstrInfo here.Vikram S. Adve2001-10-181-0/+143
llvm-svn: 861
OpenPOWER on IntegriCloud