summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc
Commit message (Collapse)AuthorAgeFilesLines
...
* Removed debug info printingAnand Shukla2002-09-171-1/+10
| | | | llvm-svn: 3778
* Use ulong instead of uint for size expressions.Vikram S. Adve2002-09-161-2/+1
| | | | llvm-svn: 3744
* 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
* Don't print out global names unnecesssarily. Also, expose passVikram S. Adve2002-09-161-3/+4
| | | | | | constructors so passes can be inserted by TargetMachine.cpp. llvm-svn: 3742
* Move all the code that creates code generation passes from Sparc.cpp toVikram S. Adve2002-09-163-106/+82
| | | | | | | | TargetMachine.cpp, since it is entirely machine-independent. Also, add options to disable optional back-end passes (preselection and instr. scheduling). llvm-svn: 3740
* Again, including Module makes Function unnecessary.Misha Brukman2002-09-141-2/+0
| | | | llvm-svn: 3714
* - Change getelementptr instruction to use long indexes instead of uintChris Lattner2002-09-111-13/+2
| | | | | | indexes for sequential types. llvm-svn: 3683
* Silly bug fix: Machine code vector could be empty for a no-op cast instruction,Vikram S. Adve2002-09-091-5/+9
| | | | | | e.g., cast double to double. llvm-svn: 3633
* Add new function UltraSparcInstrInfo::CreateZeroExtensionInstructions.Vikram S. Adve2002-09-051-1/+17
| | | | llvm-svn: 3581
* 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
* -- Use size of pointer element type instead of pointer type in array offsets!Vikram S. Adve2002-09-051-27/+46
| | | | | | | -- A few bug fixes in casting between floats and ints. -- Use SRL reg, 0 instead of AND reg, 0xffffffff to clear high 32 bits. llvm-svn: 3579
* -- Bug fix: use byte offsets not typed offsets in output assembly!Vikram S. Adve2002-09-051-19/+24
| | | | | | | -- Add support for ConstantExpr constants (only cast and add operators so far) -- Avoid generating label Bbss.bss, which sometimes came out twice. llvm-svn: 3578
* - Renamed Type::isIntegral() to Type::isInteger()Chris Lattner2002-09-034-28/+21
| | | | | | | - Added new method Type::isIntegral() that is the same as isInteger, but also accepts bool. llvm-svn: 3574
* moved this file from lib/Reoptimizer/MappingAnand Shukla2002-08-271-0/+191
| | | | llvm-svn: 3519
* Added getFunctionInfo and MappingInfoForFunction pass, and fixed the earlier ↵Anand Shukla2002-08-271-3/+3
| | | | | | error in compiling llvm-svn: 3513
* LoadIdx non-terminal no longer needed.Vikram S. Adve2002-08-241-3/+0
| | | | llvm-svn: 3499
* Sign-extend values used to index arrays (and SimplifyVikram S. Adve2002-08-241-89/+28
| | | | | | | | SetOperandsForMemInstr significantly). Load and Store no longer have any indices. Eliminate spurious sign-extension on a cast to float/double. llvm-svn: 3498
* Eliminated the MemAccessInst class, folding contents into GEP class.Chris Lattner2002-08-221-4/+6
| | | | llvm-svn: 3488
* Change code to not use the copyOperands method added to User. It's nowChris Lattner2002-08-221-7/+9
| | | | | | more efficient to boot. llvm-svn: 3453
* Fix two resource names.Vikram S. Adve2002-08-221-2/+2
| | | | llvm-svn: 3443
* Add AsmPrinter::ConstantExprToString, which writes out a ConstantExprVikram S. Adve2002-08-221-1/+74
| | | | | | as an expression. llvm-svn: 3442
* Eliminate bool, boolreg and boolconst nonterminals, and just useVikram S. Adve2002-08-221-17/+11
| | | | | | reg and Constant instead. llvm-svn: 3441
* Change rules for Not, since it is now implemented as Xor(reg,11..1).Vikram S. Adve2002-08-221-48/+54
| | | | | | | Eliminate bool, boolreg and boolconst nonterminals, and just use reg and Constant instead. llvm-svn: 3440
* This case JUST handles constantpointer nulls, not all pointers.Chris Lattner2002-08-201-3/+1
| | | | llvm-svn: 3402
* Revise code generation for unary Not (boolean and bitwise), which isVikram S. Adve2002-08-151-24/+46
| | | | | | no longer a separate instruction but is instead implemented with XOR. llvm-svn: 3342
* Several bug fixes in casting to signed int values.Vikram S. Adve2002-08-131-69/+141
| | | | llvm-svn: 3301
* Handle small unsigned results correctly by clearing high bits.Vikram S. Adve2002-08-131-34/+64
| | | | | | Bug fixes in casting to signed int values. llvm-svn: 3297
* Build correctly in the face of /shared.Brian Ensink2002-08-121-7/+5
| | | | | | -Chris llvm-svn: 3296
* - Clean up interface to Sparc register handling a bit:Chris Lattner2002-08-125-186/+170
| | | | | | | | | | | | - 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-095-63/+31
| | | | | | | * Fixed file headers to be consistent with the rest of LLVM * Other minor fixes llvm-svn: 3278
* Merge three loops into one.Chris Lattner2002-08-071-23/+18
| | | | llvm-svn: 3259
* 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
* 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
* Bug fix in SetOperandsForMemInstr: handle leading zeros correctlyVikram S. Adve2002-08-041-5/+9
| | | | | | when folding or not folding GEPs. llvm-svn: 3245
* Fix compilation problem. IsIndexZero doesn't exist, use IsZero instead.Chris Lattner2002-08-031-6/+4
| | | | llvm-svn: 3243
* Simplified handling of array indexes in SetMemOperands_Internal.Vikram S. Adve2002-08-031-77/+62
| | | | llvm-svn: 3236
* Bug fix: incorrect SAVE instruction when using register for stack size.Vikram S. Adve2002-08-011-1/+1
| | | | llvm-svn: 3198
* Just improved comments and assertions.Vikram S. Adve2002-07-311-14/+18
| | | | llvm-svn: 3191
* Add a missing case: converting float/double to unsigned integer types.Vikram S. Adve2002-07-311-77/+73
| | | | llvm-svn: 3188
* * Move InstructionSelection pass to lib/CodeGen/InstrSelection so it isChris Lattner2002-07-301-18/+1
| | | | | | shared by backends. llvm-svn: 3146
* changed implementation of LLVM BYTECODE LengthMehwish Nagda2002-07-251-18/+16
| | | | llvm-svn: 3089
* GCC 3.1 changes, finally the burm file builds the FIRST time a clean ↵Chris Lattner2002-07-255-9/+18
| | | | | | directory is built. llvm-svn: 3073
* *** empty log message ***Chris Lattner2002-07-243-8/+8
| | | | llvm-svn: 3056
* moved from CodeGen to this dirMehwish Nagda2002-07-221-0/+11
| | | | llvm-svn: 2992
* Adding code for outputing length in .sAnand Shukla2002-07-211-2/+20
| | | | llvm-svn: 2979
* * Make global variables with external linkage get emitted correctlyChris Lattner2002-07-161-13/+14
| | | | | | | * Do NOT add a prefix to global variables that are external * Add newline after emitting a constpointerref llvm-svn: 2925
* Added the Mapping Pass to out put Mapping Info to .s fileMehwish Nagda2002-07-151-3/+6
| | | | llvm-svn: 2913
* 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
OpenPOWER on IntegriCloud