summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
Commit message (Expand)AuthorAgeFilesLines
* 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
* Make sure that we don't call getZExtValue on values > 64 bits.Nadav Rotem2012-08-281-8/+8
* Teach InstCombine to canonicalize [SU]div+[AL]shl patterns.Nadav Rotem2012-08-281-0/+20
* Look pass zext to strength reduce an udiv. Patch by David Majnemer. rdar://11...Evan Cheng2012-06-211-1/+4
* Remove some dead code and tidy things up now that vectors use ConstantDataVectorChris Lattner2012-02-061-20/+7
* continue making the world safe for ConstantDataVector. At this point,Chris Lattner2012-01-271-9/+26
* use ConstantVector::getSplat in a few places.Chris Lattner2012-01-251-1/+1
* InstCombine now optimizes vector udiv by power of 2 to shiftsPete Cooper2011-11-071-5/+9
* Stop emitting instructions with the name "tmp" they eat up memory and have to...Benjamin Kramer2011-09-271-6/+5
* land David Blaikie's patch to de-constify Type, with a few tweaks.Chris Lattner2011-07-181-1/+1
* start using the new helper methods a bit.Chris Lattner2011-07-151-2/+2
* Reapply 132348 with fixes. rdar://problem/6501862Stuart Hastings2011-06-011-9/+15
* Revert to pacify a buildbot. rdar://problem/6501862Stuart Hastings2011-05-311-16/+9
* Followup to 132316; accept arbitrary constants, add with a constant,Stuart Hastings2011-05-311-9/+16
* (1 - X) * (-2) -> (x - 1) * 2, for all positive nonzero powers of 2Stuart Hastings2011-05-301-0/+17
* rearrange two transforms, since one subsumes the other. Make the shift-exact...Chris Lattner2011-05-231-16/+23
* Transform any logical shift of a power of two into an exact/NUW shift whenChris Lattner2011-05-231-0/+17
* use the valuetracking isPowerOfTwo function, which is more powerful than chec...Chris Lattner2011-05-231-4/+4
* add some random notes.Chris Lattner2011-05-221-0/+5
* Carve out a place in instcombine to put transformations which work knowing th...Chris Lattner2011-05-221-0/+37
* Remove unused variable.Duncan Sands2011-05-021-1/+1
* Move some rem transforms out of instcombine and into instsimplify.Duncan Sands2011-05-021-42/+19
* InstCombine: Turn (zext A) udiv (zext B) into (zext (A udiv B)). Same for ure...Benjamin Kramer2011-04-301-1/+28
* Use SimplifyDemandedBits on div instructions.Benjamin Kramer2011-04-301-0/+4
* InstCombine: If the divisor of an fdiv has an exact inverse, turn it into an ...Benjamin Kramer2011-03-301-0/+12
* Enhance a bunch of transformations in instcombine to start generatingChris Lattner2011-02-101-125/+85
* enhance vmcore to know that udiv's can be exact, and add a trivialChris Lattner2011-02-061-2/+2
* Call SimplifyFDivInst() in InstCombiner::visitFDiv().Frits van Bommel2011-01-291-0/+9
* Move InstCombine's knowledge of fdiv to SimplifyInstruction().Frits van Bommel2011-01-291-14/+0
* My auto-simplifier noticed that ((X/Y)*Y)/Y occurs several times in SPECDuncan Sands2011-01-281-56/+24
* Add a generic expansion transform: A op (B op' C) -> (A op B) op' (A op C)Duncan Sands2010-12-221-0/+3
* Pull a few more simplifications out of instcombine (there are stillDuncan Sands2010-12-211-6/+3
* PR5207: Change APInt methods trunc(), sext(), zext(), sextOrTrunc() andJay Foad2010-12-071-4/+4
* InstCombine: Add a missing irem identity (X % X -> 0).Benjamin Kramer2010-11-171-0/+4
* Generalize the reassociation transform in SimplifyCommutative (now renamed toDuncan Sands2010-11-131-2/+2
* Floating-point add, sub, and mul are now spelled fadd, fsub, and fmul,Dan Gohman2010-03-021-1/+1
* There are two ways of checking for a given type, for example isa<PointerType>(T)Duncan Sands2010-02-161-3/+3
* Uniformize the names of type predicates: rather than having isFloatTy andDuncan Sands2010-02-151-6/+6
* Fix comment.Owen Anderson2010-01-171-1/+1
* Convert a ton of simple integer type equality tests to the new predicate.Benjamin Kramer2010-01-051-2/+2
* split mul/div/rem instructions out to their own file.Chris Lattner2010-01-051-0/+695
OpenPOWER on IntegriCloud