summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Remove the last traces of the NOT instructionChris Lattner2002-08-152-30/+0
| | | | llvm-svn: 3346
* Add a bunch of testcases for cast-of-casts that should be removed.Chris Lattner2002-08-151-0/+32
| | | | llvm-svn: 3345
* Change opLabel numbers for Not and BNot.Vikram S. Adve2002-08-151-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 instructionVikram S. Adve2002-08-151-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 isVikram S. Adve2002-08-151-24/+46
| | | | | | no longer a separate instruction but is instead implemented with XOR. llvm-svn: 3342
* Added more helper functions for binary instructions emulatingVikram S. Adve2002-08-152-2/+83
| | | | | | unary Neg and Not: isNeg, isNot, getNegArgument, and getNotArgument. llvm-svn: 3341
* Add tests for unary NOT operations.Vikram S. Adve2002-08-151-0/+18
| | | | llvm-svn: 3340
* Implement capability to fold this:Chris Lattner2002-08-141-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 areChris Lattner2002-08-141-1/+1
| | | | llvm-svn: 3338
* Avoid creating 'load X, 0' instead of just 'load X'Chris Lattner2002-08-141-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 itChris Lattner2002-08-141-5/+9
| | | | llvm-svn: 3336
* Gross, some whitespace escapedChris Lattner2002-08-141-3/+3
| | | | llvm-svn: 3335
* Fix bug in documentationChris Lattner2002-08-141-6/+15
| | | | llvm-svn: 3334
* *** empty log message ***Chris Lattner2002-08-141-3/+3
| | | | llvm-svn: 3333
* This file does not belong here.Chris Lattner2002-08-141-136/+0
| | | | llvm-svn: 3332
* Fix tests that use the now dead not instructionChris Lattner2002-08-141-3/+3
| | | | llvm-svn: 3331
* Fix testcases that used to now dead 'not' instructionChris Lattner2002-08-141-2/+4
| | | | llvm-svn: 3330
* Change not's to xorsChris Lattner2002-08-141-4/+4
| | | | llvm-svn: 3329
* Remove support for Not ConstantExpr. This simplifies the unary case to onlyChris Lattner2002-08-146-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 visibleChris Lattner2002-08-142-3/+5
| | | | llvm-svn: 3327
* Remove support for unary operators.Chris Lattner2002-08-144-71/+2
| | | | llvm-svn: 3326
* Remove reference to GenericUnaryInst classChris Lattner2002-08-141-1/+1
| | | | llvm-svn: 3325
* Remove support for unary instructionsChris Lattner2002-08-141-3/+1
| | | | llvm-svn: 3324
* Remove support for NOT instructionChris Lattner2002-08-143-14/+8
| | | | llvm-svn: 3323
* Remove extra #includesChris Lattner2002-08-141-2/+0
| | | | llvm-svn: 3322
* Remove constant propogation support for NOT instructionChris Lattner2002-08-141-9/+0
| | | | llvm-svn: 3321
* Remove support for NOT instructionChris Lattner2002-08-141-6/+0
| | | | llvm-svn: 3320
* Remove information about dead 'not' instructionChris Lattner2002-08-141-51/+4
| | | | llvm-svn: 3319
* Remove support for unary operatorsChris Lattner2002-08-141-6/+4
| | | | llvm-svn: 3318
* Implement two constructor functions for "unary" instructionsChris Lattner2002-08-141-0/+13
| | | | llvm-svn: 3317
* Remove support forNOT instructionChris Lattner2002-08-141-21/+0
| | | | llvm-svn: 3316
* - Fix InstCombine pass to not generate or process NOT instructionsChris Lattner2002-08-141-15/+15
| | | | | | - Fixed testcases to not use them either. llvm-svn: 3315
* Expose two new static methods from BinaryOperator: createNeg, createNotChris Lattner2002-08-141-1/+7
| | | | llvm-svn: 3314
* Remove support for NOT instructionChris Lattner2002-08-142-35/+0
| | | | llvm-svn: 3313
* Remove illegal test now that not instruction does not exist.Chris Lattner2002-08-141-10/+0
| | | | llvm-svn: 3312
* Make sure there is SOME output always so the test is not rerun when unneccesary.Chris Lattner2002-08-141-0/+1
| | | | llvm-svn: 3311
* The not instruction is just a specialized form of XORChris Lattner2002-08-141-3/+3
| | | | llvm-svn: 3310
* AsmParser turns 'not' instructions into 'xor' instructions now.Chris Lattner2002-08-142-25/+17
| | | | llvm-svn: 3309
* Return null on failure, instead of aborting.Chris Lattner2002-08-141-9/+3
| | | | llvm-svn: 3308
* Add method MachineInstr::substituteValue() which substitutesVikram S. Adve2002-08-141-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 substitutesVikram S. Adve2002-08-141-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 /sharedChris Lattner2002-08-131-10/+33
| | | | llvm-svn: 3305
* Add a note that specifies that the whether or not sign extension is done byChris Lattner2002-08-131-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 Lattner2002-08-131-2/+4
| | | | | | symbolically llvm-svn: 3303
* Bug fix in TargetData::getIndexedOffset: We were using the pointerVikram S. Adve2002-08-131-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. Adve2002-08-131-69/+141
| | | | llvm-svn: 3301
* - Rename ConstantGenericIntegral -> ConstantIntegralChris Lattner2002-08-131-3/+3
| | | | llvm-svn: 3300
* - Rename ConstantGenericIntegral -> ConstantIntegralChris Lattner2002-08-131-27/+104
| | | | | | | - Add new methods to ConstantIntegral: getMaxValue, getMinValue, getAllOnesValue llvm-svn: 3299
* - Rename ConstantGenericIntegral -> ConstantIntegralChris Lattner2002-08-131-6/+13
| | | | | | | - Add new methods to ConstantIntegral: getMaxValue, getMinValue, getAllOnesValue llvm-svn: 3298
* 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
OpenPOWER on IntegriCloud