aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/InstCombine
AgeCommit message (Expand)Author
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
2013-01-18Check for less than 0 in shuffle mask instead of -1. It's more consistent wit...Craig Topper
2013-01-18Remove trailing whitespace. Remove new lines between closing brace and 'else'Craig Topper
2013-01-15Teach InstCombine to optimize extract of a value from a vector add operation ...Nadav Rotem
2013-01-151. Hoist minus sign as high as possible in an attempt to revealShuxin Yang
2013-01-14Remove trailing spaces.Jakub Staszak
2013-01-14This change is to implement following rules under the condition C_A and/or C_RShuxin Yang
2013-01-14Fix Casting BugDavid Greene
2013-01-14Fix typo in comment.Nick Lewycky
2013-01-10Teach InstCombine to hoist FABS and FNEG through FPTRUNC instructions. The a...Owen Anderson
2013-01-09Consider expression "0.0 - X" as the negation of X ifShuxin 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-07When code size is the priority (Oz, MinSize attribute), help llvmQuentin Colombet