aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/InstructionCombining.cpp
AgeCommit message (Expand)Author
2009-02-03APInt'fy SimplifyDemandedVectorElts so it can analyze vectors with more than ...Evan Cheng
2009-02-02reduce indentation, (~XorCST->getValue()).isSignBit() -> isMaxSignedValue()Chris Lattner
2009-01-31Reinstate this optimization to fold icmp of xor when possible. Don't try toNick Lewycky
2009-01-31Fix PR3452 (an infinite loop bootstrapping) by disabling the recentChris Lattner
2009-01-31now that all the pieces are in place, teach instcombine'sChris Lattner
2009-01-31simplify/clarify control flow and improve comments, no functionality change.Chris Lattner
2009-01-31make some fairly meaty internal changes to how SimplifyDemandedBits works.Chris Lattner
2009-01-31minor cleanupsChris Lattner
2009-01-31make sure to set Changed=true when instcombine hacks on the code,Chris Lattner
2009-01-26Fixed optimization of combining two shuffles where the first shuffle inputsMon P Wang
2009-01-24testcase for PR3381.Torok Edwin
2009-01-24void* is represented as pointer to empty struct {}.Torok Edwin
2009-01-24Make InstCombineStoreToCast handle aggregates more aggressively,Chris Lattner
2009-01-21Remove uses of uint32_t in favor of 'unsigned' for better Chris Lattner
2009-01-21Make special cases (0 inf nan) work for frem.Dale Johannesen
2009-01-16Fix PR3335 by not turning a store to one address space into a store to another.Chris Lattner
2009-01-16reduce indentation by using early exits, no functionality change.Chris Lattner
2009-01-16Clean up previous cast optimization a bit. Also make zext elimination a bit m...Evan Cheng
2009-01-15Eliminate a redundant check.Evan Cheng
2009-01-15- Teach CanEvaluateInDifferentType of this xform: sext (zext ty1), ty2 -> zex...Evan Cheng
2009-01-13Make instcombine ensure that all allocas are explicitly aligned at atDan Gohman
2009-01-12Rename getABITypeSize to getTypePaddedSize, asDuncan Sands
2009-01-11Duncan is nervous about undefinedness of % with negatives. I'mChris Lattner
2009-01-11do not generated GEPs into vectors where they don't already exist.Chris Lattner
2009-01-11Make a couple of cleanups to the instcombine bitcast/gep Chris Lattner
2009-01-09fix typo Duncan noticed.Chris Lattner
2009-01-09Implement rdar://6480391, extending of equality icmp's to avoid a truncation.Chris Lattner
2009-01-09Remove some old code that looks like a remanant from signed-types days.Chris Lattner
2009-01-09Fix part 3/2 of PR3290, making instcombine zap (gep(bitcast)) when possible.Chris Lattner
2009-01-09move some code, check to see if the input to the GEP is a bitcastChris Lattner
2009-01-05Change m_ConstantInt and m_SelectCst to take their constant integersChris Lattner
2009-01-04Revert this transform. It was causing some dramatic slowdowns in a few tests....Bill Wendling
2009-01-01Fix comment.Bill Wendling
2009-01-01Add transformation:Bill Wendling
2008-12-20Remove redundant test for vector-nature. Scan the vector first to see whetherNick Lewycky
2008-12-18Oops! Left out a line.Nick Lewycky
2008-12-18Make all the vector elements positive in an srem of constant vector.Nick Lewycky
2008-12-02Remove some errors that crept in. No functionality change.Bill Wendling
2008-12-02Merge two if-statements into one.Bill Wendling
2008-12-02More styalistic changes. No functionality change.Bill Wendling
2008-12-02- Remove the buggy -X/C -> X/-C transform. This isn't valid when X isn't aBill Wendling
2008-12-02Improve comment.Bill Wendling
2008-12-02- Reduce nesting.Bill Wendling
2008-12-01Don't rebuild RHSNeg. Just use the one that's already there.Bill Wendling
2008-12-01Document what this check is doing. Also, no need to cast to ConstantInt.Bill Wendling
2008-12-01Use a simple comparison. Overflow on integer negation can only occur when theBill Wendling
2008-12-01Generalize the FoldOrWithConstant method to fold for any two constants whichBill Wendling
2008-12-01Reduce copy-and-paste code by splitting out the code into its own function.Bill Wendling
2008-12-01Use m_Specific() instead of double matching.Bill Wendling
2008-12-01Move pattern check outside of the if-then statement. This prevents us from fi...Bill Wendling