aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
AgeCommit message (Expand)Author
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
2011-02-06enhance vmcore to know that udiv's can be exact, and add a trivialChris Lattner
2011-01-29Call SimplifyFDivInst() in InstCombiner::visitFDiv().Frits van Bommel
2011-01-29Move InstCombine's knowledge of fdiv to SimplifyInstruction().Frits van Bommel
2011-01-28My auto-simplifier noticed that ((X/Y)*Y)/Y occurs several times in SPECDuncan Sands
2010-12-22Add a generic expansion transform: A op (B op' C) -> (A op B) op' (A op C)Duncan Sands
2010-12-21Pull a few more simplifications out of instcombine (there are stillDuncan Sands
2010-12-07PR5207: Change APInt methods trunc(), sext(), zext(), sextOrTrunc() andJay Foad
2010-11-17InstCombine: Add a missing irem identity (X % X -> 0).Benjamin Kramer
2010-11-13Generalize the reassociation transform in SimplifyCommutative (now renamed toDuncan Sands
2010-03-02Floating-point add, sub, and mul are now spelled fadd, fsub, and fmul,Dan Gohman
2010-02-16There are two ways of checking for a given type, for example isa<PointerType>(T)Duncan Sands
2010-02-15Uniformize the names of type predicates: rather than having isFloatTy andDuncan Sands
2010-01-17Fix comment.Owen Anderson
2010-01-05Convert a ton of simple integer type equality tests to the new predicate.Benjamin Kramer
2010-01-05split mul/div/rem instructions out to their own file.Chris Lattner