aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/InstCombine
Commit message (Expand)AuthorAgeFilesLines
* InstCombine: (icmp eq B, 0) | (icmp ult A, B) -> (icmp ule A, B-1)David Majnemer2013-07-051-1/+28
* InstCombine: Reimplementation of visitUDivOperandDavid Majnemer2013-07-041-56/+139
* Use SmallVectorImpl::iterator/const_iterator instead of SmallVector to avoid ...Craig Topper2013-07-041-1/+1
* Revert r185257 (InstCombine: Be more agressive optimizing 'udiv' instrs with ...Hal Finkel2013-07-021-77/+44
* InstCombine: Also turn selects fed by an and into arithmetic when the types d...Benjamin Kramer2013-06-291-4/+9
* InstCombine: FoldGEPICmp shouldn't change sign of base pointer comparisonDavid Majnemer2013-06-291-2/+1
* InstCombine: Small whitespace cleanup in FoldGEPICmpDavid Majnemer2013-06-291-1/+1
* InstCombine: Be more agressive optimizing 'udiv' instrs with 'select' denomsDavid Majnemer2013-06-291-44/+77
* InstCombine: Optimize (1 << X) Pred CstP2 to X Pred Log2(CstP2)David Majnemer2013-06-281-2/+72
* Fix using arg_end() - arg_begin() instead of arg_size()Matt Arsenault2013-06-281-3/+3
* Revert "Revert "[APFloat] Removed APFloat constructor which initialized to ei...Michael Gottesman2013-06-271-4/+4
* Revert "[APFloat] Removed APFloat constructor which initialized to either zer...Michael Gottesman2013-06-271-4/+4
* [APFloat] Removed APFloat constructor which initialized to either zero/NaN bu...Michael Gottesman2013-06-271-4/+4
* In InstCombine{AddSub,MulDivRem} convert APFloat.isFiniteNonZero() && !APFloa...Michael Gottesman2013-06-262-5/+5
* [APFloat] Converted all references to APFloat::isNormal => APFloat::isFiniteN...Michael Gottesman2013-06-192-10/+10
* Simplify code. No functionality change.Jakub Staszak2013-06-061-2/+1
* Re-apply "Use IRBuilder instead of ConstantInt methods." with the fixed issues.Jakub Staszak2013-06-061-68/+55
* Revert "Use IRBuilder instead of ConstantInt methods. It simplifies code a li...Rafael Espindola2013-06-061-56/+70
* Remove unneeded cast<>.Jakub Staszak2013-06-061-2/+2
* Use IRBuilder instead of ConstantInt methods.Jakub Staszak2013-06-061-27/+17
* Use IRBuilder instead of ConstantInt methods. It simplifies code a little bit.Jakub Staszak2013-06-051-70/+56
* Delete dead safety check.Nick Lewycky2013-06-031-6/+1
* When determining the new index for an insertelement, we may not assume that anNick Lewycky2013-06-011-7/+9
* Simplify multiplications by vectors whose elements are powers of 2.Rafael Espindola2013-05-311-16/+48
* Reapply with r182909 with a fix to the calculation of the new indices forNick Lewycky2013-05-312-2/+257
* Revert r182909.Evgeniy Stepanov2013-05-302-246/+0
* Swizzle vector inputs if it helps us eliminate shuffles.Nick Lewycky2013-05-302-0/+246
* Replace Count{Leading,Trailing}Zeros_{32,64} with count{Leading,Trailing}Zeros.Michael J. Spencer2013-05-241-1/+1
* Run clang-format over the scalarizePHI function.Joey Gouly2013-05-241-12/+8
* scalarizePHI needs to insert the next ExtractElement in the same blockJoey Gouly2013-05-241-2/+4
* This is an update to a previous commit (r181216).Jean-Luc Duprat2013-05-222-29/+43
* Add missing -*- C++ -*- to headersMatt Arsenault2013-05-171-1/+1
* Fix two typoSylvestre Ledru2013-05-141-1/+1
* InstCombine: Flip the order of two urem transformsDavid Majnemer2013-05-121-6/+6
* InstCombine: Turn urem to bitwise-and more oftenDavid Majnemer2013-05-111-20/+2
* InstCombine: Don't claim to be able to evaluate any shl in a zexted type.Benjamin Kramer2013-05-101-1/+11
* InstCombine: Verify the type before transforming uitofp into select.Benjamin Kramer2013-05-101-22/+23
* InstCombine: Don't just copy known bits from the first operand of an srem.Benjamin Kramer2013-05-091-1/+1
* InstCombine: (X ^ signbit) + C -> X + (signbit ^ C)David Majnemer2013-05-061-0/+5
* Provide InstCombines for the following 3 cases:Jean-Luc Duprat2013-05-062-0/+53
* Revert r164763 because it introduces new shuffles.Nadav Rotem2013-05-061-19/+1
* Add ArrayRef constructor from None, and do the cleanups that this constructor...Dmitri Gribenko2013-05-051-1/+1
* Tabs to spaces. No functionality change.Nick Lewycky2013-05-041-3/+3
* This patch breaks up Wrap.h so that it does not have to include all of Filip Pizlo2013-05-011-1/+0
* Revert "InstCombine: Fold more shuffles of shuffles."Jim Grosbach2013-05-011-12/+5
* InstCombine: Fold more shuffles of shuffles.Jim Grosbach2013-04-301-5/+12
* Fix a bug in foldSelectICmpAndOr.David Majnemer2013-04-301-1/+2
* Fix "Combine bit test + conditional or into simple math"David Majnemer2013-04-301-0/+64
* Move C++ code out of the C headers and into either C++ headersEric Christopher2013-04-221-0/+1
* Changed back (relative to commit 179786) the operations executed when extract...Anat Shemer2013-04-221-3/+3