Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Removed debug info printing | Anand Shukla | 2002-09-17 | 1 | -1/+10 | |
| | | | | llvm-svn: 3778 | |||||
* | Use ulong instead of uint for size expressions. | Vikram S. Adve | 2002-09-16 | 1 | -2/+1 | |
| | | | | llvm-svn: 3744 | |||||
* | Add methods to query about the representation of LLVM quantities (e.g., | Vikram S. Adve | 2002-09-16 | 1 | -0/+79 | |
| | | | | | | | constants). Useful for target-dependent LLVM transformations like Preselection. llvm-svn: 3743 | |||||
* | Don't print out global names unnecesssarily. Also, expose pass | Vikram S. Adve | 2002-09-16 | 1 | -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 to | Vikram S. Adve | 2002-09-16 | 3 | -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 Brukman | 2002-09-14 | 1 | -2/+0 | |
| | | | | llvm-svn: 3714 | |||||
* | - Change getelementptr instruction to use long indexes instead of uint | Chris Lattner | 2002-09-11 | 1 | -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. Adve | 2002-09-09 | 1 | -5/+9 | |
| | | | | | | e.g., cast double to double. llvm-svn: 3633 | |||||
* | Add new function UltraSparcInstrInfo::CreateZeroExtensionInstructions. | Vikram S. Adve | 2002-09-05 | 1 | -1/+17 | |
| | | | | llvm-svn: 3581 | |||||
* | Bug fixes in casting between floats and ints smaller than 64 bits. | Vikram S. Adve | 2002-09-05 | 1 | -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. Adve | 2002-09-05 | 1 | -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. Adve | 2002-09-05 | 1 | -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 Lattner | 2002-09-03 | 4 | -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/Mapping | Anand Shukla | 2002-08-27 | 1 | -0/+191 | |
| | | | | llvm-svn: 3519 | |||||
* | Added getFunctionInfo and MappingInfoForFunction pass, and fixed the earlier ↵ | Anand Shukla | 2002-08-27 | 1 | -3/+3 | |
| | | | | | | error in compiling llvm-svn: 3513 | |||||
* | LoadIdx non-terminal no longer needed. | Vikram S. Adve | 2002-08-24 | 1 | -3/+0 | |
| | | | | llvm-svn: 3499 | |||||
* | Sign-extend values used to index arrays (and Simplify | Vikram S. Adve | 2002-08-24 | 1 | -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 Lattner | 2002-08-22 | 1 | -4/+6 | |
| | | | | llvm-svn: 3488 | |||||
* | Change code to not use the copyOperands method added to User. It's now | Chris Lattner | 2002-08-22 | 1 | -7/+9 | |
| | | | | | | more efficient to boot. llvm-svn: 3453 | |||||
* | Fix two resource names. | Vikram S. Adve | 2002-08-22 | 1 | -2/+2 | |
| | | | | llvm-svn: 3443 | |||||
* | Add AsmPrinter::ConstantExprToString, which writes out a ConstantExpr | Vikram S. Adve | 2002-08-22 | 1 | -1/+74 | |
| | | | | | | as an expression. llvm-svn: 3442 | |||||
* | Eliminate bool, boolreg and boolconst nonterminals, and just use | Vikram S. Adve | 2002-08-22 | 1 | -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. Adve | 2002-08-22 | 1 | -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 Lattner | 2002-08-20 | 1 | -3/+1 | |
| | | | | llvm-svn: 3402 | |||||
* | Revise code generation for unary Not (boolean and bitwise), which is | Vikram S. Adve | 2002-08-15 | 1 | -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. Adve | 2002-08-13 | 1 | -69/+141 | |
| | | | | llvm-svn: 3301 | |||||
* | Handle small unsigned results correctly by clearing high bits. | Vikram S. Adve | 2002-08-13 | 1 | -34/+64 | |
| | | | | | | Bug fixes in casting to signed int values. llvm-svn: 3297 | |||||
* | Build correctly in the face of /shared. | Brian Ensink | 2002-08-12 | 1 | -7/+5 | |
| | | | | | | -Chris llvm-svn: 3296 | |||||
* | - Clean up interface to Sparc register handling a bit: | Chris Lattner | 2002-08-12 | 5 | -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 #includes | Chris Lattner | 2002-08-09 | 5 | -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 Lattner | 2002-08-07 | 1 | -23/+18 | |
| | | | | llvm-svn: 3259 | |||||
* | Fix breakage in the build | Chris Lattner | 2002-08-07 | 1 | -3/+2 | |
| | | | | llvm-svn: 3258 | |||||
* | added Mapping and Function Pass | Mehwish Nagda | 2002-08-05 | 1 | -1/+5 | |
| | | | | llvm-svn: 3251 | |||||
* | Bug fix in CreateCodeToLoadConst(): use sign of dest, not operand, | Vikram S. Adve | 2002-08-04 | 1 | -29/+7 | |
| | | | | | | in choosing how to create int-set instructions. llvm-svn: 3248 | |||||
* | Bug fix in SetOperandsForMemInstr: handle leading zeros correctly | Vikram S. Adve | 2002-08-04 | 1 | -5/+9 | |
| | | | | | | when folding or not folding GEPs. llvm-svn: 3245 | |||||
* | Fix compilation problem. IsIndexZero doesn't exist, use IsZero instead. | Chris Lattner | 2002-08-03 | 1 | -6/+4 | |
| | | | | llvm-svn: 3243 | |||||
* | Simplified handling of array indexes in SetMemOperands_Internal. | Vikram S. Adve | 2002-08-03 | 1 | -77/+62 | |
| | | | | llvm-svn: 3236 | |||||
* | Bug fix: incorrect SAVE instruction when using register for stack size. | Vikram S. Adve | 2002-08-01 | 1 | -1/+1 | |
| | | | | llvm-svn: 3198 | |||||
* | Just improved comments and assertions. | Vikram S. Adve | 2002-07-31 | 1 | -14/+18 | |
| | | | | llvm-svn: 3191 | |||||
* | Add a missing case: converting float/double to unsigned integer types. | Vikram S. Adve | 2002-07-31 | 1 | -77/+73 | |
| | | | | llvm-svn: 3188 | |||||
* | * Move InstructionSelection pass to lib/CodeGen/InstrSelection so it is | Chris Lattner | 2002-07-30 | 1 | -18/+1 | |
| | | | | | | shared by backends. llvm-svn: 3146 | |||||
* | changed implementation of LLVM BYTECODE Length | Mehwish Nagda | 2002-07-25 | 1 | -18/+16 | |
| | | | | llvm-svn: 3089 | |||||
* | GCC 3.1 changes, finally the burm file builds the FIRST time a clean ↵ | Chris Lattner | 2002-07-25 | 5 | -9/+18 | |
| | | | | | | directory is built. llvm-svn: 3073 | |||||
* | *** empty log message *** | Chris Lattner | 2002-07-24 | 3 | -8/+8 | |
| | | | | llvm-svn: 3056 | |||||
* | moved from CodeGen to this dir | Mehwish Nagda | 2002-07-22 | 1 | -0/+11 | |
| | | | | llvm-svn: 2992 | |||||
* | Adding code for outputing length in .s | Anand Shukla | 2002-07-21 | 1 | -2/+20 | |
| | | | | llvm-svn: 2979 | |||||
* | * Make global variables with external linkage get emitted correctly | Chris Lattner | 2002-07-16 | 1 | -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 file | Mehwish Nagda | 2002-07-15 | 1 | -3/+6 | |
| | | | | llvm-svn: 2913 | |||||
* | added std:: to vector | Anand Shukla | 2002-07-11 | 1 | -2/+2 | |
| | | | | llvm-svn: 2874 | |||||
* | Changed interface to insertCallerSavingCode(). | Vikram S. Adve | 2002-07-10 | 1 | -1/+3 | |
| | | | | llvm-svn: 2859 |