aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/InstCombine
AgeCommit message (Expand)Author
2013-04-22Move C++ code out of the C headers and into either C++ headersEric Christopher
2013-04-22Changed back (relative to commit 179786) the operations executed when extract...Anat Shemer
2013-04-19Keep coding stanard. Don't use "else if" after "return".Jakub Staszak
2013-04-18In the function InstCombiner::visitExtractElementInst() removed the limitatio...Anat Shemer
2013-04-18Added a function scalarizePHI() that sclarizes a vector phi instruction if it...Anat Shemer
2013-04-18Revert "Combine bit test + conditional or into simple math"David Majnemer
2013-04-18Combine bit test + conditional or into simple mathDavid Majnemer
2013-04-14Reorders two transforms that collide with each otherDavid Majnemer
2013-04-12InstCombine: Check the operand types before merging fcmp ord & fcmp ord.Benjamin Kramer
2013-04-12Simplify (A & ~B) in icmp if A is a power of 2David Majnemer
2013-04-11Optimize icmp involving addition betterDavid Majnemer
2013-04-11Fix for wrong instcombine on vector insert/extractBenjamin Kramer
2013-04-05Tidy up a bit. No functional change.Jim Grosbach
2013-03-28Check if Type is a vector before calling function Type::getVectorNumElements.Akira Hatanaka
2013-03-26Make InstCombineCasts.cpp:OptimizeIntToFloatBitCast endian safe.Ulrich Weigand
2013-03-25Fix a bug in fast-math fadd/fsub simplification. Shuxin Yang
2013-03-25Address issues found by Duncan during post-commit review of r177856.Arnaud A. de Grandmaison
2013-03-25InstCombine: simplify comparisons to zero of (shl %x, Cst) or (mul %x, Cst)Arnaud A. de Grandmaison
2013-03-22InstCombine: Improve the result bitvect type when folding (cmp pred (load (ge...Arnaud A. de Grandmaison
2013-03-14Perform factorization as a last resort of unsafe fadd/fsub simplification.Shuxin Yang
2013-03-13Fix a performance regression when combining to smaller types in icmp (shl %v,...Arnaud A. de Grandmaison
2013-03-09Simplify code. No functionality change.Jakub Staszak
2013-03-06InstCombine: Don't shrink allocas when combining with a bitcast.Jim Grosbach
2013-02-28Fix a bug in instcombine for fmul in fast math mode.Quentin Colombet
2013-02-16The transform is:Bill Wendling
2013-02-15Fix refactoring mistake in "Teach InstCombine to work with smaller legal type...Arnaud A. de Grandmaison
2013-02-15Teach InstCombine to work with smaller legal types in icmp (shl %v, C1), C2Arnaud A. de Grandmaison
2013-02-13Fix commentArnaud A. de Grandmaison
2013-02-11Optimization: bitcast (<1 x ...> insertelement ..., X, ...) to ... ==> bitcas...Michael Ilseman
2013-02-08Revert "Have InstCombine call SipmlifyCall when handling calls. Test case inc...Andrew Trick
2013-02-07Have InstCombine call SipmlifyCall when handling calls. Test case included.Michael Ilseman
2013-02-07Preserve fast-math flags after reassociation and commutation. Update test casesMichael Ilseman
2013-02-05InstCombine: Fix and simplify the inttoptr side too.Benjamin Kramer
2013-02-05InstCombine: Harden code to work with vectors of pointers and simplify it a bit.Benjamin Kramer
2013-02-01Revert r174152. The shift amount may overflow and in that case this transform...Nadav Rotem
2013-02-01Optimize shift lefts of a constant by a value plus constant into a single shift.Nadav Rotem
2013-01-30Convert typeIncompatible to return an AttributeSet.Bill Wendling
2013-01-30InstCombine: canonicalize sext-and --> selectNadav Rotem
2013-01-27Use the AttributeSet instead of AttributeWithIndex.Bill Wendling
2013-01-25Remove some introspection functions.Bill Wendling
2013-01-25Use the new 'getSlotIndex' method to retrieve the attribute's slot index.Bill Wendling
2013-01-24Remove trailing whitespace.Craig Topper
2013-01-23Revert "InstCombine: Clean up weird code that talks about a modulus that's lo...Benjamin Kramer
2013-01-23InstCombine: Clean up weird code that talks about a modulus that's long gone.Benjamin Kramer
2013-01-23Remove the last of uses that use the Attribute object as a collection of attr...Bill Wendling
2013-01-21Have AttributeSet::getRetAttributes() return an AttributeSet instead of Attri...Bill Wendling
2013-01-21Make AttributeSet::getFnAttributes() return an AttributeSet instead of an Att...Bill Wendling
2013-01-21Transform (sub 0, (zext bool to A)) to (sext bool to A) andPaul Redmond
2013-01-18Use AttributeSet accessor methods instead of Attribute accessor methods.Bill Wendling
2013-01-18Push some more methods down to hide the use of the Attribute class.Bill Wendling