aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
AgeCommit message (Expand)Author
2011-02-20Move "A | ~(A & ?) -> -1" from InstCombine to InstructionSimplify.Benjamin Kramer
2011-02-20InstCombine: Add a bunch of combines of the form x | (y ^ z).Benjamin Kramer
2011-02-15Fix 9216 - Endless loop in InstCombine pass.Nadav Rotem
2011-02-15tidy up a bit.Chris Lattner
2011-02-10more cleanups, notably bitcast isn't used for "signed to unsigned type Chris Lattner
2011-02-09Rework InstrTypes.h so to reduce the repetition around the NSW/NUW/ExactChris Lattner
2011-01-21Just because we have determined that an (fcmp | fcmp) is true for A < B,Owen Anderson
2011-01-15reduce indentationChris Lattner
2010-12-22Add a generic expansion transform: A op (B op' C) -> (A op B) op' (A op C)Duncan Sands
2010-12-20Add a check missing from my last commit and avoid a potential overflow situat...Benjamin Kramer
2010-12-20Reduce indentation.Benjamin Kramer
2010-12-20Teach InstCombine to merge (icmp ult (X + CA), C1) | (icmp eq X, C2) into (ic...Benjamin Kramer
2010-11-23Rename SimplifyDistributed to the more meaningfull name SimplifyByFactorizing.Duncan Sands
2010-11-23Exploit distributive laws (eg: And distributes over Or, Mul over Add, etc) in aDuncan Sands
2010-11-17Move some those Xor simplifications which don't require creating newDuncan Sands
2010-11-13Generalize the reassociation transform in SimplifyCommutative (now renamed toDuncan Sands
2010-09-13Re-apply r113679, which was reverted in r113720, which added a paid of new in...Owen Anderson
2010-09-12Revert 113679, it was causing an infinite loop in a testcase that I've sentEric Christopher
2010-09-11Invert and-of-or into or-of-and when doing so would allow us to clear bits of...Owen Anderson
2010-09-10This transform is also performed by InstructionSimplify, remove the duplicate.Benjamin Kramer
2010-09-08Generalize instcombine's support for combining multiple bit checks into a sin...Owen Anderson
2010-08-02Re-apply the infamous r108614, with a fix pointed out by Dirk Steinke.Owen Anderson
2010-07-31Speculatively revert r108614, "Another attempt at getting the clang self-host toDaniel Dunbar
2010-07-17Another attempt at getting the clang self-host to like my instcombine patch.Owen Anderson
2010-07-16Also revert 108422, it's causing some test failures.Eric Christopher
2010-07-15Speculatively revert r108429 to fix the clang self-host.Owen Anderson
2010-07-15Per Chris' suggestion, get rid of the select canonicalization and just addOwen Anderson
2010-07-15Reapply r108378, with bugfixes, testcase, and improved comment formatting.Owen Anderson
2010-07-15Speculatively revert r108378; may be causing bootstrap failures.Eli Friedman
2010-07-14Add instcombine transforms to optimize tests of multiple bits of the same val...Owen Anderson
2010-07-14revert r108320, I see the failures now...Chris Lattner
2010-07-14reapply benjamin's instcombine patch, I don't see anything wrong with it and ...Chris Lattner
2010-07-12Nope, still breaks the release selfhost bots :(Benjamin Kramer
2010-07-12Reapply the "or" half of r108136, which seems to be less problematic.Benjamin Kramer
2010-07-12Revert r108141 again, sigh.Benjamin Kramer
2010-07-12Reapply 108136 with an ugly pasto fixed.Benjamin Kramer
2010-07-12Move optimization to avoid redundant matching.Benjamin Kramer
2010-07-12Revert r108136 until I figure out why it broke selfhost.Benjamin Kramer
2010-07-12instcombine: fold (x & y) | (~x & z) and (x & y) ^ (~x & z) into ((y ^ z) & x...Benjamin Kramer
2010-04-09Minor code simplification.Dan Gohman
2010-03-05Fix PR6503. This turned into a much more interesting and nasty bug. Various Chris Lattner
2010-03-05simplify some functions and make them work with vectorChris Lattner
2010-03-03This test case:Bill Wendling
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-02-11Rename ValueRequiresCast to ShouldOptimizeCast, to better reflectChris Lattner
2010-02-10Fix "the the" and similar typos.Dan Gohman
2010-02-09simplify this code, duh.Chris Lattner
2010-02-09fix PR6193, only considering sign extensions *from i1* for thisChris Lattner
2010-02-05fix logical-select to invoke filecheck right, and fix hte instcombineChris Lattner