aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/InstCombine
Commit message (Expand)AuthorAgeFilesLines
* Preserve fast-math flags when folding (fsub x, (fneg y)) to (fadd x, y).Owen Anderson2013-07-301-4/+11
* Change behavior of calling bitcasted alias functions.Matt Arsenault2013-07-301-9/+9
* Fix variable name.Owen Anderson2013-07-261-2/+2
* When InstCombine tries to fold away (fsub x, (fneg y)) into (fadd x, y), it isOwen Anderson2013-07-261-1/+13
* Correct case of m_UIToFp to m_UIToFP to match instruction name, add m_SIToFP ...Stephen Lin2013-07-261-4/+4
* InstCombine: call FoldOpIntoSelect for all floating binops, not just fmulStephen Lin2013-07-202-3/+23
* Restore r181216, which was partially reverted in r182499.Stephen Lin2013-07-172-43/+29
* Use llvm::array_lengthof to replace sizeof(array)/sizeof(array[0]).Craig Topper2013-07-151-1/+2
* Use SmallVectorImpl& instead of SmallVector to avoid repeating small vector s...Craig Topper2013-07-141-1/+1
* Add a microoptimization for urem.Nick Lewycky2013-07-131-0/+7
* Fix a crash in EvaluateInDifferentElementOrder where it would generate anJoey Gouly2013-07-121-1/+3
* Don't use a potentially expensive shift if all we want is one set bit.Benjamin Kramer2013-07-111-1/+1
* InstCombine: Fix typo in comment for visitICmpInstWithInstAndIntCstDavid Majnemer2013-07-091-2/+2
* InstCombine: variations on 0xffffffff - x >= 4David Majnemer2013-07-091-0/+12
* InstCombine: X & -C != -C -> X <= u ~CDavid Majnemer2013-07-091-0/+9
* Commit r185909 was a misapplied patch, fix itDavid Majnemer2013-07-091-21/+13
* InstCombine: add more transformsDavid Majnemer2013-07-091-0/+42
* InstCombine: Fold X-C1 <u 2 -> (X & -2) == C1David Majnemer2013-07-081-0/+8
* 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