summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
Commit message (Expand)AuthorAgeFilesLines
* 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
* InstCombine: Turn urem to bitwise-and more oftenDavid Majnemer2013-05-111-20/+2
* InstCombine: Verify the type before transforming uitofp into select.Benjamin Kramer2013-05-101-22/+23
* Provide InstCombines for the following 3 cases:Jean-Luc Duprat2013-05-061-0/+28
* Tidy up a bit. No functional change.Jim Grosbach2013-04-051-56/+56
* Fix a bug in instcombine for fmul in fast math mode.Quentin Colombet2013-02-281-3/+3
* 1. Hoist minus sign as high as possible in an attempt to revealShuxin Yang2013-01-151-31/+60
* This change is to implement following rules under the condition C_A and/or C_RShuxin Yang2013-01-141-8/+127
* Cosmetical changne in order to conform to coding std.Shuxin Yang2013-01-071-5/+6
* This change is to implement following rules:Shuxin Yang2013-01-071-0/+127
* Move all of the header files which are involved in modelling the LLVM IRChandler Carruth2013-01-021-1/+1
* rdar://12753946Shuxin Yang2012-12-141-0/+32
* Rename isPowerOfTwo to isKnownToBeAPowerOfTwo.Rafael Espindola2012-12-131-2/+2
* The TargetData is not used for the isPowerOfTwo determination. It has neverRafael Espindola2012-12-121-3/+2
* Remove redunant optimizations from InstCombine, instead call the appropriate ...Michael Ilseman2012-12-121-13/+4
* Use the new script to sort the includes of every file under lib.Chandler Carruth2012-12-031-1/+1
* reversed the logic of the log2 detection routine to reduce the number of nest...Pedro Artigas2012-11-301-25/+29
* Addresses many style issues with prior checkin (r169025)Pedro Artigas2012-11-301-58/+44
* Add fast math inst combine X*log2(Y*0.5)-->X*log2(Y)-XPedro Artigas2012-11-301-0/+77
* Move TargetData to DataLayout.Micah Villmow2012-10-081-2/+2
* Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. S...Sylvestre Ledru2012-09-271-2/+2
* Fix a typo 'iff' => 'if'Sylvestre Ledru2012-09-271-2/+2
* InstCombine: Make sure we use the pre-zext type when creating a constant of a...Benjamin Kramer2012-09-211-1/+2
* InstCombine: Fix comment to reflect the code.Benjamin Kramer2012-08-301-1/+1
* It is illegal to transform (sdiv (ashr X c1) c2) -> (sdiv x (2^c1 * c2)),Nadav Rotem2012-08-301-10/+0
* InstCombine: Defensively avoid undefined shifts by limiting the amount to the...Benjamin Kramer2012-08-281-2/+2
* InstCombine: Guard the transform introduced in r162743 against large ints and...Benjamin Kramer2012-08-281-10/+10
OpenPOWER on IntegriCloud