summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* InstCombine: Combine (X | Y) - X to (~X & Y)David Majnemer2014-11-031-6/+15
* InstCombine: (sub (or A B) (xor A B)) --> (and A B)David Majnemer2014-10-191-0/+9
* Format spacing and remove extra lines to comply with standards. NFC.Suyog Sarda2014-10-081-5/+6
* Make use of @llvm.assume in ValueTracking (computeKnownBits, etc.)Hal Finkel2014-09-071-30/+38
* InstCombine: sub nsw %x, C -> add nsw %x, -C if C isn't INT_MINDavid Majnemer2014-08-221-1/+4
* InstCombine: Annotate sub with nuw when we prove it's safeDavid Majnemer2014-08-201-0/+18
* InstCombine: Annotate sub with nsw when we prove it's safeDavid Majnemer2014-08-191-1/+39
* InstCombine: Fix a potential bug in 0 - (X sdiv C) -> (X sdiv -C)David Majnemer2014-08-161-1/+1
* InstCombine: Combine (add (and %a, %b) (or %a, %b)) to (add %a, %b)David Majnemer2014-08-111-1/+23
* InstCombine: Correctly propagate NSW/NUW for x-(-A) -> x+ADavid Majnemer2014-07-311-3/+9
* Fix Typo (first commit to test commit access)Suyog Sarda2014-07-171-1/+1
* Make helper functions static.Benjamin Kramer2014-07-071-2/+2
* InstCombine: Don't turn -(x/INT_MIN) -> x/INT_MINDavid Majnemer2014-07-021-3/+3
* Added instruction combine to transform few more negative values addition to s...Dinesh Dwivedi2014-06-271-48/+62
* This patch removed duplicate code for matching patterns Dinesh Dwivedi2014-06-261-36/+0
* Added instruction combine to transform few more negative values addition to s...Dinesh Dwivedi2014-06-261-49/+54
* Added instruction combine to transform few more negative values addition to s...Dinesh Dwivedi2014-06-191-0/+45
* Refactored and updated SimplifyUsingDistributiveLaws() to Dinesh Dwivedi2014-06-191-52/+0
* [InstCombine] mark ADD with nuw if no unsigned overflowJingyue Wu2014-06-171-0/+22
* InstCombine: Improvement to check if signed addition overflows.Rafael Espindola2014-06-041-7/+46
* Add back commit r210029.Rafael Espindola2014-06-021-4/+19
* Revert "Add the nsw flag when we detect that an add will not signed overflow."Rafael Espindola2014-06-021-5/+0
* Add the nsw flag when we detect that an add will not signed overflow.Rafael Espindola2014-06-021-0/+5
* Revert "Revert "Revert "InstCombine: Improvement to check if signed addition ...Rafael Espindola2014-05-291-44/+6
* Revert "Revert "InstCombine: Improvement to check if signed addition overflow...Rafael Espindola2014-05-281-6/+44
* Revert "InstCombine: Improvement to check if signed addition overflows."Rafael Espindola2014-05-281-44/+6
* InstCombine: Improvement to check if signed addition overflows.Rafael Espindola2014-05-281-6/+44
* Rename ComputeMaskedBits to computeKnownBits. "Masked" has beenJay Foad2014-05-141-3/+3
* Reorder shuffle and binary operation.Serge Pavlov2014-05-111-0/+12
* [C++] Use 'nullptr'. Transforms edition.Craig Topper2014-04-251-41/+41
* [Modules] Fix potential ODR violations by sinking the DEBUG_TYPEChandler Carruth2014-04-221-1/+2
* [Modules] Sink all the DEBUG_TYPE defines for InstCombine out of theChandler Carruth2014-04-211-0/+1
* [Modules] Move the LLVM IR pattern match header into the IR library, itChandler Carruth2014-03-041-1/+1
* [Modules] Move GetElementPtrTypeIterator into the IR library. As itsChandler Carruth2014-03-041-1/+1
* Rename many DataLayout variables from TD to DL.Rafael Espindola2014-02-211-6/+6
* Fix all the remaining lost-fast-math-flags bugs I've been able to find. The ...Owen Anderson2014-01-201-8/+26
* InstCombine: Hoist 3 copies of AddOne/SubOne into a header.Benjamin Kramer2014-01-191-11/+0
* InstCombine: Teach most integer add/sub/mul/div combines how to deal with vec...Benjamin Kramer2014-01-191-55/+60
* Fix two cases where we could lose fast math flags when optimizing FADD expres...Owen Anderson2014-01-161-4/+10
* Preserve fast-math flags when folding (fsub x, (fneg y)) to (fadd x, y).Owen Anderson2013-07-301-4/+11
* 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
* InstCombine: call FoldOpIntoSelect for all floating binops, not just fmulStephen Lin2013-07-201-3/+14
* Restore r181216, which was partially reverted in r182499.Stephen Lin2013-07-171-43/+0
* Use llvm::array_lengthof to replace sizeof(array)/sizeof(array[0]).Craig Topper2013-07-151-1/+2
* Don't use a potentially expensive shift if all we want is one set bit.Benjamin Kramer2013-07-111-1/+1
* In InstCombine{AddSub,MulDivRem} convert APFloat.isFiniteNonZero() && !APFloa...Michael Gottesman2013-06-261-1/+1
* [APFloat] Converted all references to APFloat::isNormal => APFloat::isFiniteN...Michael Gottesman2013-06-191-1/+1
* This is an update to a previous commit (r181216).Jean-Luc Duprat2013-05-221-0/+43
* InstCombine: (X ^ signbit) + C -> X + (signbit ^ C)David Majnemer2013-05-061-0/+5
OpenPOWER on IntegriCloud