aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/InstCombine
Commit message (Expand)AuthorAgeFilesLines
* Merge with LLVM upstream r155090.Shih-wei Liao2012-04-249-52/+101
|\
| * Teach InstCombine to nuke a common alloca pattern -- an alloca which hasChandler Carruth2012-04-081-1/+70
| * Always compute all the bits in ComputeMaskedBits.Rafael Espindola2012-04-046-42/+26
| * 153465 was incorrect. In this code we wanted to check that the pointer operan...Nadav Rotem2012-03-261-4/+3
| * PR12357: The pointer was used before it was checked.Nadav Rotem2012-03-261-1/+3
| * eliminate an unneeded branch, part of PR12357Chris Lattner2012-03-261-7/+2
* | Merge branch 'upstream' into sliao_dShih-wei Liao2012-03-243-10/+17
|\ \ | |/
| * Revert r152907.Bill Wendling2012-03-161-15/+3
| * The alignment of the pointer part of the store instruction may have anBill Wendling2012-03-161-3/+15
| * In InstCombiner::visitOr, make sure we reverse the operand swap used for chec...Eli Friedman2012-03-161-1/+7
| * Use an iterator instead of calling .size() on the worklist every time, which ...Bill Wendling2012-03-151-2/+2
| * llvm::SwitchInstStepan Dyatkovskiy2012-03-111-2/+2
| * Taken into account Duncan's comments for r149481 dated by 2nd Feb 2012:Stepan Dyatkovskiy2012-03-081-7/+8
* | Merge branch 'upstream' into merge-20120305Stephen Hines2012-03-0511-414/+468
|\ \ | |/
| * Restrict this transformation to equality conditions.Bill Wendling2012-02-291-1/+1
| * Fix unsigned off-by-one in comment.Benjamin Kramer2012-02-211-1/+1
| * InstCombine: Don't transform a signed icmp of two GEPs into a signed compare ...Benjamin Kramer2012-02-211-0/+8
| * InstCombine: Removing the base from the address calculation is only safe when...Benjamin Kramer2012-02-201-1/+1
| * InstCombine: When comparing two GEPs that were derived from the same base poi...Benjamin Kramer2012-02-201-0/+14
| * InstCombine: Make OptimizePointerDifference more aggressive.Benjamin Kramer2012-02-201-27/+27
| * Check against umin while converting fcmp into an icmp.Devang Patel2012-02-131-0/+11
| * Convert assert(0) to llvm_unreachableCraig Topper2012-02-072-2/+2
| * Remove some dead code and tidy things up now that vectors use ConstantDataVectorChris Lattner2012-02-063-35/+19
| * [unwind removal] We no longer have 'unwind' instructions being generated, soBill Wendling2012-02-061-2/+1
| * Make helper static.Benjamin Kramer2012-02-061-3/+3
| * Narrow test further. Make bot and test happy.Jim Grosbach2012-02-031-1/+3
| * Tidy up. Trailing whitespace.Jim Grosbach2012-02-031-55/+55
| * Restrict InstCombine from converting varargs to or from fixed args.Jim Grosbach2012-02-031-0/+7
| * Revert "Disable InstCombine unsafe folding bitcasts of calls w/ varargs."Jim Grosbach2012-02-031-5/+14
| * SwitchInst refactoring.Stepan Dyatkovskiy2012-02-011-5/+5
| * Disable InstCombine unsafe folding bitcasts of calls w/ varargs.Jim Grosbach2012-02-011-14/+5
| * enhance logic to support ConstantDataArray.Chris Lattner2012-01-311-8/+13
| * continue making the world safe for ConstantDataVector. At this point,Chris Lattner2012-01-275-35/+60
| * Continue improving support for ConstantDataAggregate, and use theChris Lattner2012-01-261-16/+8
| * some general cleanup, using new methods and tidying up old code.Chris Lattner2012-01-261-69/+26
| * use Constant::getAggregateElement to simplify a bunch of code.Chris Lattner2012-01-251-42/+22
| * use ConstantVector::getSplat in a few places.Chris Lattner2012-01-252-3/+3
| * basic instcombine support for CDS.Chris Lattner2012-01-242-14/+32
| * More dead code removal (using -Wunreachable-code)David Blaikie2012-01-203-4/+0
| * Extend Attributes to 64 bitsKostya Serebryany2012-01-201-2/+1
| * Move assert to the right place.Benjamin Kramer2012-01-091-1/+1
| * InstCombine: Teach foldLogOpOfMaskedICmpsHelper that sign bit tests are bit t...Benjamin Kramer2012-01-091-81/+82
| * Tweak my last commit to be less conservative about uses.Benjamin Kramer2012-01-081-25/+23
| * InstCombine: If we have a bit test and a sign test anded/ored together, merge...Benjamin Kramer2012-01-081-0/+32
| * Remove pointless asserts.Nick Lewycky2012-01-041-2/+0
| * Teach instcombine all sorts of great stuff about shifts that have exact, nuw orNick Lewycky2012-01-042-8/+59
| * Make use of the exact bit when optimizing '(X >>exact 3) << 1' to eliminate theNick Lewycky2011-12-311-5/+11
| * InstCombine: Add a combine that turns (2^n)-1 ^ x back into (2^n)-1 - x iff x...Benjamin Kramer2011-12-241-0/+13
| * InstCombine: Canonicalize (2^n)-1 - x into (2^n)-1 ^ x iff x is known to be s...Benjamin Kramer2011-12-242-0/+14
| * Refactor code used in InstCombine::FoldAndOfICmps to new file.Pete Cooper2011-12-171-72/+11