summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
Commit message (Expand)AuthorAgeFilesLines
* [InstCombine] Teach the udiv folding logic how to handle constant expressions.Andrea Di Biagio2016-09-261-11/+14
* [InstCombine] fold X urem C -> X < C ? X : X - C when C is big (PR28672)Sanjay Patel2016-09-221-0/+8
* InstCombine: Replace some never-null pointers with references. NFCJustin Bogner2016-08-051-12/+12
* [InstCombine] shrink type of sdiv if dividend is sexted and constant divisor ...Sanjay Patel2016-06-271-0/+17
* [InstCombine] refactor sdiv by APInt transforms (NFC)Sanjay Patel2016-06-271-9/+10
* [InstCombine] use m_APInt for div --> ashr foldSanjay Patel2016-06-271-8/+6
* Add safety check to InstCombiner::commonIRemTransformsSanjoy Das2016-06-051-2/+11
* reduce indent; NFCSanjay Patel2016-05-221-19/+19
* Remove uses of builtin comma operator.Richard Trieu2016-02-181-4/+7
* function names start with a lowercase letter; NFCSanjay Patel2016-02-011-25/+25
* InstCombine: fabs(x) * fabs(x) -> x * xMatt Arsenault2016-01-301-4/+15
* function names start with a lower case letter ; NFCSanjay Patel2016-01-121-3/+3
* InstCombine: Remove ilist iterator implicit conversions, NFCDuncan P. N. Exon Smith2015-10-131-3/+3
* don't repeat function names in comments; NFCSanjay Patel2015-09-091-7/+5
* [InstCombine] Don't divide by zero when evaluating a potential transformDavid Majnemer2015-09-061-0/+8
* Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC)Alexander Kornienko2015-06-231-1/+1
* Fixed/added namespace ending comments using clang-tidy. NFCAlexander Kornienko2015-06-191-1/+1
* [InstCombine] (mul nsw 1, INT_MIN) != (shl nsw 1, 31)David Majnemer2015-04-181-2/+6
* DataLayout is mandatory, update the API to reflect it with references.Mehdi Amini2015-03-101-13/+13
* [InstCombine] Fix an assertion when fmul has a ConstantExpr operandMichael Kuperstein2015-03-051-2/+2
* InstSimplify: simplify 0 / X if nnan and nszMehdi Amini2015-02-231-2/+4
* [PM] Rename InstCombine.h to InstCombineInternal.h in preparation forChandler Carruth2015-01-221-1/+1
* [PM] Split the AssumptionTracker immutable pass into two separate APIs:Chandler Carruth2015-01-041-15/+15
* InstCombine: match can find ConstantExprs, don't assume we have a ValueDavid Majnemer2015-01-041-2/+2
* Analysis: Reformulate WillNotOverflowUnsignedMul for reusabilityDavid Majnemer2015-01-021-34/+3
* InstCombine: Infer nuw for multipliesDavid Majnemer2014-12-261-0/+38
* InstCombe: Infer nsw for multipliesDavid Majnemer2014-12-261-0/+47
* InstCombine: Don't create an unused instructionDavid Majnemer2014-11-241-2/+1
* InstCombine: Propagate exact for (sdiv X, Pow2) -> (udiv X, Pow2)David Majnemer2014-11-221-2/+4
* InstCombine: Propagate exact for (sdiv X, Y) -> (udiv X, Y)David Majnemer2014-11-221-1/+3
* InstCombine: Propagate exact for (sdiv -X, C) -> (sdiv X, -C)David Majnemer2014-11-221-4/+6
* InstCombine: Propagate exact in (udiv (lshr X,C1),C2) -> (udiv x,C1<<C2)David Majnemer2014-11-221-2/+7
* InstCombine: Propagate NSW/NUW for X*(1<<Y) -> X<<YDavid Majnemer2014-11-221-4/+17
* InstCombine: Propagate NSW for -X * -Y -> X * YDavid Majnemer2014-11-221-3/+10
* InstCombine: Preserve nsw when folding X*(2^C) -> X << CDavid Majnemer2014-11-221-0/+2
* InstCombine: Preserve nsw/nuw for ((X << C2)*C1) -> (X * (C1 << C2))David Majnemer2014-11-221-3/+12
* InstCombine: Preserve nsw for (mul %V, -1) -> (sub 0, %V)David Majnemer2014-11-221-2/+7
* InstCombine: Don't miscompile X % ((Pow2 << A) >>u B)David Majnemer2014-10-141-7/+4
* fix formatting; NFCSanjay Patel2014-10-141-33/+25
* InstCombine: Fix miscompile in X % -Y -> X % Y transformDavid Majnemer2014-10-131-6/+6
* InstCombine: Don't miscompile (x lshr C1) udiv C2David Majnemer2014-10-131-4/+10
* InstCombine: Simplify commonIDivTransformsDavid Majnemer2014-10-121-86/+76
* InstCombine: Don't fold (X <<s log(INT_MIN)) /s INT_MIN to XDavid Majnemer2014-10-111-1/+2
* InstCombine, InstSimplify: (%X /s C1) /s C2 isn't always 0 when C1 * C2 overflowDavid Majnemer2014-10-111-5/+4
* InstCombine: mul to shl shouldn't preserve nswDavid Majnemer2014-10-111-2/+0
* Reformat if statement to comply with LLVM standards. NFC.Suyog Sarda2014-10-071-2/+4
* Reformat to comply with LLVM coding standards using clang-format.Suyog Sarda2014-10-071-5/+4
* [InstCombine] Reformat if statements to comply with LLVM Coding Standards.Tilmann Scheller2014-10-071-2/+6
* Optimize square root squared (PR21126).Sanjay Patel2014-10-021-0/+5
* Use the local variable that other clauses around here are already using.Sanjay Patel2014-10-021-1/+1
OpenPOWER on IntegriCloud