| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Remove the last traces of the NOT instruction | Chris Lattner | 2002-08-15 | 2 | -30/+0 |
| | | | | | llvm-svn: 3346 | ||||
| * | Add a bunch of testcases for cast-of-casts that should be removed. | Chris Lattner | 2002-08-15 | 1 | -0/+32 |
| | | | | | llvm-svn: 3345 | ||||
| * | Change opLabel numbers for Not and BNot. | Vikram S. Adve | 2002-08-15 | 1 | -1/+2 |
| | | | | | | | Also, these tree nodes are now binary, not unary. llvm-svn: 3344 | ||||
| * | Unary Not (boolean and bitwise) is no longer a separate LLVM instruction | Vikram S. Adve | 2002-08-15 | 1 | -2/+7 |
| | | | | | | | | | | but is instead implemented with XOR. Note that the InstrForest opLabels for Not and BNot remain the same, i.e., the XOR is recognized and represented as a (boolean or bitwise) Not when building the instruction trees. But these tree nodes are now binary, not unary. llvm-svn: 3343 | ||||
| * | 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 | ||||
| * | Added more helper functions for binary instructions emulating | Vikram S. Adve | 2002-08-15 | 2 | -2/+83 |
| | | | | | | | unary Neg and Not: isNeg, isNot, getNegArgument, and getNotArgument. llvm-svn: 3341 | ||||
| * | Add tests for unary NOT operations. | Vikram S. Adve | 2002-08-15 | 1 | -0/+18 |
| | | | | | llvm-svn: 3340 | ||||
| * | Implement capability to fold this: | Chris Lattner | 2002-08-14 | 1 | -4/+11 |
| | | | | | | | | | | | | uint %test4(int %A, int %B) { %COND = setlt int %A, %B ; <bool> [#uses=1] %result = cast bool %COND to uint ; <uint> [#uses=1] ret uint %result } into a single cast instruction. llvm-svn: 3339 | ||||
| * | Fix testcase to actually test what we think we are | Chris Lattner | 2002-08-14 | 1 | -1/+1 |
| | | | | | llvm-svn: 3338 | ||||
| * | Avoid creating 'load X, 0' instead of just 'load X' | Chris Lattner | 2002-08-14 | 1 | -0/+3 |
| | | | | | | | | | This _trivial_ change causes GCSE and LICM to be much more effective at hoisting loads. Before it would not be able to eliminate 'load X' if there was just a dominating 'load X, 0' because the expressions were not identical. llvm-svn: 3337 | ||||
| * | Avoid inserting an entry block unless we need it | Chris Lattner | 2002-08-14 | 1 | -5/+9 |
| | | | | | llvm-svn: 3336 | ||||
| * | Gross, some whitespace escaped | Chris Lattner | 2002-08-14 | 1 | -3/+3 |
| | | | | | llvm-svn: 3335 | ||||
| * | Fix bug in documentation | Chris Lattner | 2002-08-14 | 1 | -6/+15 |
| | | | | | llvm-svn: 3334 | ||||
| * | *** empty log message *** | Chris Lattner | 2002-08-14 | 1 | -3/+3 |
| | | | | | llvm-svn: 3333 | ||||
| * | This file does not belong here. | Chris Lattner | 2002-08-14 | 1 | -136/+0 |
| | | | | | llvm-svn: 3332 | ||||
| * | Fix tests that use the now dead not instruction | Chris Lattner | 2002-08-14 | 1 | -3/+3 |
| | | | | | llvm-svn: 3331 | ||||
| * | Fix testcases that used to now dead 'not' instruction | Chris Lattner | 2002-08-14 | 1 | -2/+4 |
| | | | | | llvm-svn: 3330 | ||||
| * | Change not's to xors | Chris Lattner | 2002-08-14 | 1 | -4/+4 |
| | | | | | llvm-svn: 3329 | ||||
| * | Remove support for Not ConstantExpr. This simplifies the unary case to only | Chris Lattner | 2002-08-14 | 6 | -27/+13 |
| | | | | | | | have to support the cast instruction, so the function is renamed to getCast. llvm-svn: 3328 | ||||
| * | Fix bug introduced in last checkin due to CastInst not being visible | Chris Lattner | 2002-08-14 | 2 | -3/+5 |
| | | | | | llvm-svn: 3327 | ||||
| * | Remove support for unary operators. | Chris Lattner | 2002-08-14 | 4 | -71/+2 |
| | | | | | llvm-svn: 3326 | ||||
| * | Remove reference to GenericUnaryInst class | Chris Lattner | 2002-08-14 | 1 | -1/+1 |
| | | | | | llvm-svn: 3325 | ||||
| * | Remove support for unary instructions | Chris Lattner | 2002-08-14 | 1 | -3/+1 |
| | | | | | llvm-svn: 3324 | ||||
| * | Remove support for NOT instruction | Chris Lattner | 2002-08-14 | 3 | -14/+8 |
| | | | | | llvm-svn: 3323 | ||||
| * | Remove extra #includes | Chris Lattner | 2002-08-14 | 1 | -2/+0 |
| | | | | | llvm-svn: 3322 | ||||
| * | Remove constant propogation support for NOT instruction | Chris Lattner | 2002-08-14 | 1 | -9/+0 |
| | | | | | llvm-svn: 3321 | ||||
| * | Remove support for NOT instruction | Chris Lattner | 2002-08-14 | 1 | -6/+0 |
| | | | | | llvm-svn: 3320 | ||||
| * | Remove information about dead 'not' instruction | Chris Lattner | 2002-08-14 | 1 | -51/+4 |
| | | | | | llvm-svn: 3319 | ||||
| * | Remove support for unary operators | Chris Lattner | 2002-08-14 | 1 | -6/+4 |
| | | | | | llvm-svn: 3318 | ||||
| * | Implement two constructor functions for "unary" instructions | Chris Lattner | 2002-08-14 | 1 | -0/+13 |
| | | | | | llvm-svn: 3317 | ||||
| * | Remove support forNOT instruction | Chris Lattner | 2002-08-14 | 1 | -21/+0 |
| | | | | | llvm-svn: 3316 | ||||
| * | - Fix InstCombine pass to not generate or process NOT instructions | Chris Lattner | 2002-08-14 | 1 | -15/+15 |
| | | | | | | | - Fixed testcases to not use them either. llvm-svn: 3315 | ||||
| * | Expose two new static methods from BinaryOperator: createNeg, createNot | Chris Lattner | 2002-08-14 | 1 | -1/+7 |
| | | | | | llvm-svn: 3314 | ||||
| * | Remove support for NOT instruction | Chris Lattner | 2002-08-14 | 2 | -35/+0 |
| | | | | | llvm-svn: 3313 | ||||
| * | Remove illegal test now that not instruction does not exist. | Chris Lattner | 2002-08-14 | 1 | -10/+0 |
| | | | | | llvm-svn: 3312 | ||||
| * | Make sure there is SOME output always so the test is not rerun when unneccesary. | Chris Lattner | 2002-08-14 | 1 | -0/+1 |
| | | | | | llvm-svn: 3311 | ||||
| * | The not instruction is just a specialized form of XOR | Chris Lattner | 2002-08-14 | 1 | -3/+3 |
| | | | | | llvm-svn: 3310 | ||||
| * | AsmParser turns 'not' instructions into 'xor' instructions now. | Chris Lattner | 2002-08-14 | 2 | -25/+17 |
| | | | | | llvm-svn: 3309 | ||||
| * | Return null on failure, instead of aborting. | Chris Lattner | 2002-08-14 | 1 | -9/+3 |
| | | | | | llvm-svn: 3308 | ||||
| * | Add method MachineInstr::substituteValue() which substitutes | Vikram S. Adve | 2002-08-14 | 1 | -8/+17 |
| | | | | | | | | | | one Value with another one in all operands and implicit references of the machine instruction. Also add method MachineOperand::getVRegValueOrNull(). llvm-svn: 3307 | ||||
| * | Add method MachineInstr::substituteValue() which substitutes | Vikram S. Adve | 2002-08-14 | 1 | -0/+29 |
| | | | | | | | | one Value with another one in all operands and implicit references of the machine instruction. llvm-svn: 3306 | ||||
| * | Updated GettingStarted guide to be accurate now that binaries are in /shared | Chris Lattner | 2002-08-13 | 1 | -10/+33 |
| | | | | | llvm-svn: 3305 | ||||
| * | Add a note that specifies that the whether or not sign extension is done by | Chris Lattner | 2002-08-13 | 1 | -1/+6 |
| | | | | | | | a cast is determined by the source operand. llvm-svn: 3304 | ||||
| * | Minor change to make lli print out characters numerically as well as ↵ | Chris Lattner | 2002-08-13 | 1 | -2/+4 |
| | | | | | | | symbolically llvm-svn: 3303 | ||||
| * | Bug fix in TargetData::getIndexedOffset: We were using the pointer | Vikram S. Adve | 2002-08-13 | 1 | -3/+3 |
| | | | | | | | type instead of the element type for the element size for arrays. llvm-svn: 3302 | ||||
| * | 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 | ||||
| * | - Rename ConstantGenericIntegral -> ConstantIntegral | Chris Lattner | 2002-08-13 | 1 | -6/+13 |
| | | | | | | | | - Add new methods to ConstantIntegral: getMaxValue, getMinValue, getAllOnesValue llvm-svn: 3298 | ||||
| * | 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 | ||||

