summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
Commit message (Expand)AuthorAgeFilesLines
* 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
* Make use of @llvm.assume in ValueTracking (computeKnownBits, etc.)Hal Finkel2014-09-071-20/+27
* InstCombine: Respect recursion depth in visitUDivOperandDavid Majnemer2014-08-301-4/+4
* Remove an InstCombine that transformed patterns like (x * uitofp i1 y) to (se...Owen Anderson2014-08-171-30/+0
* InstCombine: Combine mul with div.David Majnemer2014-08-161-2/+75
* InstCombine: Optimize x/INT_MIN to x==INT_MINDavid Majnemer2014-07-021-0/+4
* InstCombine: Stop two transforms duelingDavid Majnemer2014-06-191-2/+5
* Optimize integral reciprocal (udiv 1, x and sdiv 1, x) to not use division. T...Nick Lewycky2014-05-141-1/+20
* Reorder shuffle and binary operation.Serge Pavlov2014-05-111-0/+24
* [C++] Use 'nullptr'. Transforms edition.Craig Topper2014-04-251-40/+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
* Rename many DataLayout variables from TD to DL.Rafael Espindola2014-02-211-8/+8
* Fix all the remaining lost-fast-math-flags bugs I've been able to find. The ...Owen Anderson2014-01-201-0/+10
* InstCombine: Teach most integer add/sub/mul/div combines how to deal with vec...Benjamin Kramer2014-01-191-21/+22
* InstCombine: Refactor fmul/fdiv combines to handle vectors.Benjamin Kramer2014-01-191-64/+77
* InstCombine: Make the (fmul X, -1.0) -> (fsub -0.0, X) transform handle vecto...Benjamin Kramer2014-01-181-6/+4
* Fix an instance where we would drop fast math flags when performing an fdiv t...Owen Anderson2014-01-161-1/+3
* Fix a bug in InstCombine where we failed to preserve fast math flags when opt...Owen Anderson2014-01-161-2/+5
* Teach InstCombine that (fmul X, -1.0) can be simplified to (fneg X), which LL...Owen Anderson2014-01-161-0/+10
* InstCombine: Replace manual fast math flag copying with the new IRBuilder RAI...Benjamin Kramer2013-09-301-22/+20
* Fix a bug in InstCombine where it attempted to cast a Value* to an Instruction*Joey Gouly2013-09-301-2/+2
* [Fast-math] Disable "(C1/X)*C2 => (C1*C2)/X" if C1/X has multiple uses.Shuxin Yang2013-09-191-3/+6
* 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-201-0/+9
* Restore r181216, which was partially reverted in r182499.Stephen Lin2013-07-171-0/+29
* Add a microoptimization for urem.Nick Lewycky2013-07-131-0/+7
* InstCombine: Reimplementation of visitUDivOperandDavid Majnemer2013-07-041-56/+139
* Revert r185257 (InstCombine: Be more agressive optimizing 'udiv' instrs with ...Hal Finkel2013-07-021-77/+44
* InstCombine: Be more agressive optimizing 'udiv' instrs with 'select' denomsDavid Majnemer2013-06-291-44/+77
* In InstCombine{AddSub,MulDivRem} convert APFloat.isFiniteNonZero() && !APFloa...Michael Gottesman2013-06-261-4/+4
* [APFloat] Converted all references to APFloat::isNormal => APFloat::isFiniteN...Michael Gottesman2013-06-191-9/+9
* Simplify code. No functionality change.Jakub Staszak2013-06-061-2/+1
* Simplify multiplications by vectors whose elements are powers of 2.Rafael Espindola2013-05-311-16/+48
* This is an update to a previous commit (r181216).Jean-Luc Duprat2013-05-221-29/+0
* Fix two typoSylvestre Ledru2013-05-141-1/+1
* InstCombine: Flip the order of two urem transformsDavid Majnemer2013-05-121-6/+6
OpenPOWER on IntegriCloud