summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
Commit message (Expand)AuthorAgeFilesLines
* [InstCombine] use m_APInt to allow sub with constant folds for splat vectorsSanjay Patel2016-10-141-18/+19
* [InstCombine] sub X, sext(bool Y) -> add X, zext(bool Y)Sanjay Patel2016-10-141-0/+11
* InstCombine: Replace some never-null pointers with references. NFCJustin Bogner2016-08-051-5/+5
* [InstCombine] fold add(zext(xor X, C), C) --> sext X when C is INT_MIN in the...Sanjay Patel2016-07-191-0/+10
* [InstCombine] allow X + signbit --> X ^ signbit for vector splatsSanjay Patel2016-07-161-3/+10
* Apply clang-tidy's modernize-loop-convert to most of lib/Transforms.Benjamin Kramer2016-06-261-6/+3
* Delete more dead code.Rafael Espindola2016-06-221-22/+0
* Remove uses of builtin comma operator.Richard Trieu2016-02-181-5/+12
* Fix Clang-tidy readability-redundant-control-flow warnings; other minor fixes.Eugene Zelenko2016-02-021-2/+0
* function names start with a lowercase letter; NFCSanjay Patel2016-02-011-15/+15
* [InstCombine] Fix indentation. NFC.Craig Topper2015-12-211-2/+2
* Fix some Clang-tidy modernize warnings, other minor fixes.Eugene Zelenko2015-11-041-14/+12
* don't repeat function names in comments; NFCSanjay Patel2015-09-091-1/+1
* [InstCombine] Generalize sub of selects optimization to all BinaryOperatorsDavid Majnemer2015-07-141-26/+0
* Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC)Alexander Kornienko2015-06-231-1/+1
* [InstCombine] Optimize subtract of selects into a select of a subDavid Majnemer2015-06-231-0/+26
* Fixed/added namespace ending comments using clang-tidy. NFCAlexander Kornienko2015-06-191-1/+1
* [ValueTracking] refactor: extract method haveNoCommonBitsSetJingyue Wu2015-05-141-14/+2
* InstCombine: Move Sub->Xor rule from SimplifyDemanded to InstCombineMatthias Braun2015-04-301-0/+13
* DataLayout is mandatory, update the API to reflect it with references.Mehdi Amini2015-03-101-44/+44
* [PM] Rename InstCombine.h to InstCombineInternal.h in preparation forChandler Carruth2015-01-221-1/+1
* Analysis: Reformulate WillNotOverflowUnsignedAdd for reusabilityDavid Majnemer2015-01-071-17/+3
* [PM] Split the AssumptionTracker immutable pass into two separate APIs:Chandler Carruth2015-01-041-6/+6
* InstCombine: fsub nsz 0, X ==> fsub nsz -0.0, XSanjay Patel2014-12-311-0/+8
* InstCombe: Infer nsw for multipliesDavid Majnemer2014-12-261-87/+38
* use -0.0 when creating an fneg instructionSanjay Patel2014-12-191-1/+1
* fix formatting; NFCSanjay Patel2014-12-181-8/+4
* Strength reduce intrinsics with overflow into regular arithmetic operations i...Erik Eckstein2014-12-171-0/+45
* 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
OpenPOWER on IntegriCloud