aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/Scalar/InstructionCombining.cpp
Commit message (Expand)AuthorAgeFilesLines
* Extend store merging to support the 'if/then' version in addition to if/then/...Chris Lattner2007-04-151-26/+60
* refactor some code, no functionality change.Chris Lattner2007-04-151-58/+77
* fix long linesChris Lattner2007-04-141-8/+9
* Implement Transforms/InstCombine/vec_extract_elt.ll, transforming:Chris Lattner2007-04-141-0/+11
* Implement InstCombine/vec_demanded_elts.ll:test2. This allows us to turnChris Lattner2007-04-141-0/+66
* Implement PR1201 and test/Transforms/InstCombine/malloc-free-delete.llChris Lattner2007-04-141-8/+23
* Turn stuff like:Chris Lattner2007-04-111-9/+40
* Simplify some comparisons to arithmetic, this implements:Chris Lattner2007-04-111-0/+27
* canonicalize (x <u 2147483648) -> (x >s -1) and (x >u 2147483647) -> (x <s 0)Chris Lattner2007-04-111-25/+32
* fix a miscompilation of:Chris Lattner2007-04-111-63/+59
* Strengthen the boundary conditions of this fold, implementingChris Lattner2007-04-091-3/+3
* Fix PR1304 and Transforms/InstCombine/2007-04-08-SingleEltVectorCrash.llChris Lattner2007-04-091-2/+10
* Eliminate useless insertelement instructions. This implementsChris Lattner2007-04-091-0/+4
* reenable this xform, whoops :)Chris Lattner2007-04-081-1/+2
* Fix regression on Instcombine/apint-or2.llChris Lattner2007-04-081-30/+29
* Generalize the code that handles (A&B)|(A&C) to work where B/C are not consta...Chris Lattner2007-04-081-30/+83
* implement Transforms/InstCombine/malloc2.ll and PR1313Chris Lattner2007-04-061-1/+11
* Prevent transformConstExprCastCall from generating conversions that assertDale Johannesen2007-04-041-0/+35
* Fix 2007-04-04-BadFoldBitcastIntoMalloc.llJeff Cohen2007-04-041-4/+5
* Fix comment.Duncan Sands2007-04-041-1/+1
* Fix a bug I introduced with my patch yesterday which broke Qt (I convertedChris Lattner2007-04-031-1/+1
* reinstate the previous two patches, with a bugfix :)Chris Lattner2007-04-031-493/+525
* Reverting back to 1.723. The last two commits broke JM (and possibily others)...Evan Cheng2007-04-031-524/+491
* Split a whole ton of code out of visitICmpInst into visitICmpInstWithInstAndI...Chris Lattner2007-04-031-520/+524
* Fix PR1253 and xor2.ll:test[01]Chris Lattner2007-04-031-1/+30
* 1. Make use of APInt operation instead of using ConstantExpr::getXXX.Zhou Sheng2007-04-021-26/+19
* Use uint32_t for bitwidth instead of unsigned.Zhou Sheng2007-04-021-29/+29
* Wrap long lineChris Lattner2007-04-021-3/+3
* use more obvious function name.Chris Lattner2007-04-021-1/+1
* simplify (x+c)^signbit as (x+c+signbit), pointed out by PR1288. This implementsChris Lattner2007-04-021-1/+7
* simplify this code, make it work for ap intsChris Lattner2007-04-011-17/+6
* Avoid unnecessary APInt construction.Zhou Sheng2007-04-011-18/+17
* For PR1297:Reid Spencer2007-04-011-25/+7
* Fix InstCombine/2007-03-31-InfiniteLoop.llChris Lattner2007-04-011-1/+3
* Delete dead code.Zhou Sheng2007-03-311-1/+0
* Use APInt operators to calculate the carry bits, remove this loop.Zhou Sheng2007-03-311-16/+2
* Make sure the use of ConstantInt::getZExtValue() for shift amount safe.Zhou Sheng2007-03-301-18/+20
* 1. Make sure the use of ConstantInt::getZExtValue() for getting shiftZhou Sheng2007-03-301-27/+25
* Use APInt operation instead of ConstantExpr::getXX.Zhou Sheng2007-03-301-6/+6
* 1. Make more use of APInt::getHighBitsSet/getLowBitsSet.Zhou Sheng2007-03-291-24/+28
* Clean up some codes in InstCombiner::SimplifyDemandedBits().Zhou Sheng2007-03-291-12/+6
* Clean up codes in InstCombiner::SimplifyDemandedBits():Zhou Sheng2007-03-291-32/+35
* 1. Make the APInt variable do the binary operation stuff if possibleZhou Sheng2007-03-291-3/+5
* Avoid unnecessary APInt construction.Zhou Sheng2007-03-281-3/+2
* 1. Make more use of getLowBitsSet/getHighBitsSet.Zhou Sheng2007-03-281-13/+16
* 1. Make more use of getLowBitsSet/getHighBitsSet.Zhou Sheng2007-03-281-5/+3
* Use UnknownBIts[BitWidth-1] instead of UnknownBIts & SignBits.Zhou Sheng2007-03-281-1/+1
* Remove unused APInt variable.Zhou Sheng2007-03-281-3/+0
* Clean up codes in ComputeMaskedBits():Zhou Sheng2007-03-281-29/+27
* For PR1280:Reid Spencer2007-03-281-3/+13