| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Several bug fixes in casting to signed int values. | Vikram S. Adve | 2002-08-13 | 1 | -69/+141 |
| | | | | | llvm-svn: 3301 | ||||
| * | - Rename ConstantGenericIntegral -> ConstantIntegral | Chris Lattner | 2002-08-13 | 1 | -3/+3 |
| | | | | | llvm-svn: 3300 | ||||
| * | - Rename ConstantGenericIntegral -> ConstantIntegral | Chris Lattner | 2002-08-13 | 1 | -27/+104 |
| | | | | | | | | - Add new methods to ConstantIntegral: getMaxValue, getMinValue, getAllOnesValue llvm-svn: 3299 | ||||
| * | 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 | ||||
| * | - Added a new superclass of ConstantBool/ConstantInt: ConstantGenericIntegral | Chris Lattner | 2002-08-12 | 1 | -2/+8 |
| | | | | | | | - Moved InstCombine: isMaxValue, isMinValue, isAllOnesValue to Constants.h llvm-svn: 3293 | ||||
| * | * Factor a bunch of code by using ReplaceInstUsesWith | Chris Lattner | 2002-08-12 | 1 | -163/+51 |
| | | | | | | | * Move isMaxValue, isMinValue, isAllOnesValue to Constants.h llvm-svn: 3290 | ||||
| * | Remove some extraneous #includes | Chris Lattner | 2002-08-12 | 1 | -2/+0 |
| | | | | | llvm-svn: 3289 | ||||
| * | Changes to make GlobalValueRefMap not derive from std::map. | Chris Lattner | 2002-08-12 | 1 | -10/+13 |
| | | | | | llvm-svn: 3288 | ||||
| * | New functionality for instcombine: | Chris Lattner | 2002-08-09 | 1 | -28/+213 |
| | | | | | | | | | | | | | | | | | | * New ReplaceInstUsesWith function to factor out tons of common code This needs to be used more in the future still, but it's a good start * New InsertNewInstBefore to allow multi-instruction replacements * Change getMaxValue functions to isAllOnesValue function, which doesn't have to CREATE/lookup a new constant. Also the name is accurate * Add new isMaxValue, isMinValue, isMaxValueMinusOne, isMinValuePlusOne functions: This should be moved to Constant* classes eventually * Implement xor X, ALLONES -> not X * Fold ALL setcc's of booleans away * Handle various SetCC's for integers against values at the end of their ranges, possibly off by one. This implements the setcc-strength-reduce.ll testcase. llvm-svn: 3286 | ||||
| * | *** empty log message *** | Chris Lattner | 2002-08-09 | 1 | -5/+5 |
| | | | | | llvm-svn: 3282 | ||||
| * | UnaryOperator::create should take a name just like BinaryOperator::create | Chris Lattner | 2002-08-09 | 1 | -13/+3 |
| | | | | | llvm-svn: 3279 | ||||
| * | * Removed extraneous #includes | Chris Lattner | 2002-08-09 | 9 | -114/+47 |
| | | | | | | | | * Fixed file headers to be consistent with the rest of LLVM * Other minor fixes llvm-svn: 3278 | ||||
| * | * Removed extraneous #includes | Chris Lattner | 2002-08-09 | 6 | -63/+28 |
| | | | | | | | | * Fixed file headers to be consistent with the rest of LLVM * Other minor fixes llvm-svn: 3277 | ||||
| * | We are using std::vector, so remove extraneous namespace prefixes | Chris Lattner | 2002-08-09 | 1 | -8/+7 |
| | | | | | llvm-svn: 3275 | ||||
| * | Very minor cleanups | Chris Lattner | 2002-08-09 | 1 | -23/+15 |
| | | | | | llvm-svn: 3271 | ||||
| * | Initial checkin of the "Hello World" Pass. | Chris Lattner | 2002-08-08 | 2 | -0/+40 |
| | | | | | llvm-svn: 3266 | ||||
| * | - Cleaned up the interface to AnalysisUsage to take analysis class names | Chris Lattner | 2002-08-08 | 11 | -14/+14 |
| | | | | | | | | instead of ::ID's. - Pass::getAnalysis<> now no longer takes an optional argument llvm-svn: 3265 | ||||
| * | - Cleaned up the interface to AnalysisUsage to take analysis class names | Chris Lattner | 2002-08-08 | 5 | -6/+6 |
| | | | | | | | | instead of ::ID's. - Pass::getAnalysis<> now no longer takes an optional argument llvm-svn: 3264 | ||||
| * | Remove extraneous #includes | Chris Lattner | 2002-08-08 | 1 | -2/+0 |
| | | | | | llvm-svn: 3262 | ||||
| * | Minor changes to DEBUG()'s | Chris Lattner | 2002-08-07 | 2 | -3/+6 |
| | | | | | llvm-svn: 3261 | ||||
| * | Reorder #includes to be right | Chris Lattner | 2002-08-07 | 1 | -1/+1 |
| | | | | | llvm-svn: 3260 | ||||
| * | 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 | ||||
| * | Simplify writing custom parsers. | Chris Lattner | 2002-08-07 | 1 | -76/+48 |
| | | | | | llvm-svn: 3256 | ||||
| * | 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 TargetData::getIndexedOffset(): handle struct offset | Vikram S. Adve | 2002-08-04 | 1 | -6/+7 |
| | | | | | | | | after array offset correctly. The type was not being updated for array offsets! llvm-svn: 3246 | ||||
| * | 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 | ||||
| * | Add function GetConstantValueAsUnsignedInt. | Vikram S. Adve | 2002-08-04 | 1 | -52/+49 |
| | | | | | | | | | Fix 2 bugs in FoldGetElemChain so index vector is not modified when no GEPs are folded in, and so a hasLeadingZero is computed only for the last folded GEP, not the one after that if any. llvm-svn: 3244 | ||||
| * | 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 | ||||
| * | Eliminate cast instructions: use only GEPs in decomposed sequence. | Vikram S. Adve | 2002-08-03 | 1 | -81/+70 |
| | | | | | | | | Don't decompose if there are 2 indices with 0 as first index. Compute Changed flag correctly in runOnBasicBlock(). llvm-svn: 3233 | ||||
| * | Fix problem where lli would not print out a 64 bit value when the client code | Chris Lattner | 2002-08-02 | 1 | -2/+10 |
| | | | | | | | | uses the modifier "%ld". Now lli passes off "%lld" to the underlying runtime library in this case. llvm-svn: 3230 | ||||
| * | Fix one real nasty bug | Chris Lattner | 2002-08-02 | 1 | -1/+1 |
| | | | | | llvm-svn: 3227 | ||||
| * | Fix lli with no arguments | Chris Lattner | 2002-08-02 | 1 | -1/+1 |
| | | | | | llvm-svn: 3226 | ||||
| * | Fix bug: test/Regression/Transforms/InstCombine/2002-08-02-CastTest.ll | Chris Lattner | 2002-08-02 | 1 | -7/+37 |
| | | | | | | | Implement feature: Cast's can now be converted to bitwise AND expressions. llvm-svn: 3225 | ||||
| * | * Cleanups of instcombine | Chris Lattner | 2002-08-02 | 1 | -80/+48 |
| | | | | | | | | | | - Reenable gep (gep x) -> x - Make instcombine do dead instruction elimination where it's really easy. Now visitors don't have to ensure they aren't not processing dead instructions. llvm-svn: 3222 | ||||
| * | Fix bug: test/Regression/Transforms/GCSE/2002-05-21-NoSharedDominator.ll | Chris Lattner | 2002-08-02 | 1 | -0/+29 |
| | | | | | llvm-svn: 3215 | ||||
| * | Implement dominator checking in the verifier, so that we check that all | Chris Lattner | 2002-08-02 | 2 | -23/+58 |
| | | | | | | | defintiions dominate their uses llvm-svn: 3214 | ||||
| * | Fix bug: test/Regression/Other/2002-08-02-DomSetProblem.ll | Chris Lattner | 2002-08-02 | 1 | -1/+12 |
| | | | | | llvm-svn: 3213 | ||||
| * | Split dominance calculation and post dominance calculation stuff | Chris Lattner | 2002-08-02 | 2 | -434/+11 |
| | | | | | | | Dominance calculation goes to VMCore library to be used by Verifier. llvm-svn: 3210 | ||||
| * | Remove unneccesary #inlcude | Chris Lattner | 2002-08-01 | 1 | -1/+0 |
| | | | | | llvm-svn: 3200 | ||||
| * | Enhance -time-passes to be more detailed and useful | Chris Lattner | 2002-08-01 | 2 | -20/+108 |
| | | | | | llvm-svn: 3199 | ||||
| * | Bug fix: incorrect SAVE instruction when using register for stack size. | Vikram S. Adve | 2002-08-01 | 1 | -1/+1 |
| | | | | | llvm-svn: 3198 | ||||
| * | Fix bug: test/Regression/Assembler/2002-07-31-SlashInString.llx | Chris Lattner | 2002-07-31 | 1 | -1/+1 |
| | | | | | llvm-svn: 3195 | ||||
| * | Implement the other half of a feature advertised by OperandConvertableToType. | Chris Lattner | 2002-07-31 | 1 | -6/+39 |
| | | | | | | | This fixes bug: test/Regression/Transforms/LevelRaise/2002-07-31-AssertionFailure.ll llvm-svn: 3193 | ||||
| * | 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 | ||||

