aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
AgeCommit message (Expand)Author
2013-05-14Merging r181586:Bill Wendling
2013-05-06Provide InstCombines for the following 3 cases:Jean-Luc Duprat
2013-04-05Tidy up a bit. No functional change.Jim Grosbach
2013-02-28Fix a bug in instcombine for fmul in fast math mode.Quentin Colombet
2013-01-151. Hoist minus sign as high as possible in an attempt to revealShuxin Yang
2013-01-14This change is to implement following rules under the condition C_A and/or C_RShuxin Yang
2013-01-07Cosmetical changne in order to conform to coding std.Shuxin Yang
2013-01-07This change is to implement following rules:Shuxin Yang
2013-01-02Move all of the header files which are involved in modelling the LLVM IRChandler Carruth
2012-12-14rdar://12753946Shuxin Yang
2012-12-13Rename isPowerOfTwo to isKnownToBeAPowerOfTwo.Rafael Espindola
2012-12-12The TargetData is not used for the isPowerOfTwo determination. It has neverRafael Espindola
2012-12-12Remove redunant optimizations from InstCombine, instead call the appropriate ...Michael Ilseman
2012-12-03Use the new script to sort the includes of every file under lib.Chandler Carruth
2012-11-30reversed the logic of the log2 detection routine to reduce the number of nest...Pedro Artigas
2012-11-30Addresses many style issues with prior checkin (r169025)Pedro Artigas
2012-11-30Add fast math inst combine X*log2(Y*0.5)-->X*log2(Y)-XPedro Artigas
2012-10-08Move TargetData to DataLayout.Micah Villmow
2012-09-27Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. S...Sylvestre Ledru
2012-09-27Fix a typo 'iff' => 'if'Sylvestre Ledru
2012-09-21InstCombine: Make sure we use the pre-zext type when creating a constant of a...Benjamin Kramer
2012-08-30InstCombine: Fix comment to reflect the code.Benjamin Kramer
2012-08-30It is illegal to transform (sdiv (ashr X c1) c2) -> (sdiv x (2^c1 * c2)),Nadav Rotem
2012-08-28InstCombine: Defensively avoid undefined shifts by limiting the amount to the...Benjamin Kramer
2012-08-28InstCombine: Guard the transform introduced in r162743 against large ints and...Benjamin Kramer
2012-08-28Make sure that we don't call getZExtValue on values > 64 bits.Nadav Rotem
2012-08-28Teach InstCombine to canonicalize [SU]div+[AL]shl patterns.Nadav Rotem
2012-06-21Look pass zext to strength reduce an udiv. Patch by David Majnemer. rdar://11...Evan Cheng
2012-02-06Remove some dead code and tidy things up now that vectors use ConstantDataVectorChris Lattner
2012-01-27continue making the world safe for ConstantDataVector. At this point,Chris Lattner
2012-01-25use ConstantVector::getSplat in a few places.Chris Lattner
2011-11-07InstCombine now optimizes vector udiv by power of 2 to shiftsPete Cooper
2011-09-27Stop emitting instructions with the name "tmp" they eat up memory and have to...Benjamin Kramer
2011-07-18land David Blaikie's patch to de-constify Type, with a few tweaks.Chris Lattner
2011-07-15start using the new helper methods a bit.Chris Lattner
2011-06-01Reapply 132348 with fixes. rdar://problem/6501862Stuart Hastings
2011-05-31Revert to pacify a buildbot. rdar://problem/6501862Stuart Hastings
2011-05-31Followup to 132316; accept arbitrary constants, add with a constant,Stuart Hastings
2011-05-30(1 - X) * (-2) -> (x - 1) * 2, for all positive nonzero powers of 2Stuart Hastings
2011-05-23rearrange two transforms, since one subsumes the other. Make the shift-exact...Chris Lattner
2011-05-23Transform any logical shift of a power of two into an exact/NUW shift whenChris Lattner
2011-05-23use the valuetracking isPowerOfTwo function, which is more powerful than chec...Chris Lattner
2011-05-22add some random notes.Chris Lattner
2011-05-22Carve out a place in instcombine to put transformations which work knowing th...Chris Lattner
2011-05-02Remove unused variable.Duncan Sands
2011-05-02Move some rem transforms out of instcombine and into instsimplify.Duncan Sands
2011-04-30InstCombine: Turn (zext A) udiv (zext B) into (zext (A udiv B)). Same for ure...Benjamin Kramer
2011-04-30Use SimplifyDemandedBits on div instructions.Benjamin Kramer
2011-03-30InstCombine: If the divisor of an fdiv has an exact inverse, turn it into an ...Benjamin Kramer
2011-02-10Enhance a bunch of transformations in instcombine to start generatingChris Lattner