summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
Commit message (Expand)AuthorAgeFilesLines
* InstCombine: fix a bug when combining (fcmp cc0 x, y) && (fcmp cc1 x, y).Manman Ren2012-06-141-2/+4
* Fix combine of uno && ord -> false so that the ordering of the fcmps doesn'tChad Rosier2012-06-061-1/+3
* Fix suspicous hasOneUse() check, found by PVS Studio (PR12357).Benjamin Kramer2012-05-281-1/+1
* Add instcombine patterns for the following transformations:Chad Rosier2012-04-261-0/+5
* eliminate an unneeded branch, part of PR12357Chris Lattner2012-03-261-7/+2
* In InstCombiner::visitOr, make sure we reverse the operand swap used for chec...Eli Friedman2012-03-161-1/+7
* Restrict this transformation to equality conditions.Bill Wendling2012-02-291-1/+1
* Convert assert(0) to llvm_unreachableCraig Topper2012-02-071-1/+1
* Make helper static.Benjamin Kramer2012-02-061-3/+3
* More dead code removal (using -Wunreachable-code)David Blaikie2012-01-201-2/+0
* Move assert to the right place.Benjamin Kramer2012-01-091-1/+1
* InstCombine: Teach foldLogOpOfMaskedICmpsHelper that sign bit tests are bit t...Benjamin Kramer2012-01-091-81/+82
* Tweak my last commit to be less conservative about uses.Benjamin Kramer2012-01-081-25/+23
* InstCombine: If we have a bit test and a sign test anded/ored together, merge...Benjamin Kramer2012-01-081-0/+32
* Refactor code used in InstCombine::FoldAndOfICmps to new file.Pete Cooper2011-12-171-72/+11
* Stop emitting instructions with the name "tmp" they eat up memory and have to...Benjamin Kramer2011-09-271-3/+3
* Fix an infinite loop where a transform in InstCombiner::visitAnd claims a con...Eli Friedman2011-09-191-21/+22
* land David Blaikie's patch to de-constify Type, with a few tweaks.Chris Lattner2011-07-181-3/+3
* Change Intrinsic::getDeclaration and friends to take an ArrayRef.Benjamin Kramer2011-07-141-2/+1
* Second attempt at de-constifying LLVM Types in FunctionType::get(),Jay Foad2011-07-121-2/+2
* Revert r134893 and r134888 (and related patches in other trees). It was causingBill Wendling2011-07-121-2/+2
* De-constify Types in FunctionType::get().Jay Foad2011-07-111-2/+2
* We require threse bits to be zero, too.Benjamin Kramer2011-04-281-2/+2
* Fix a comment.Benjamin Kramer2011-04-281-1/+1
* InstCombine: Merge "(trunc x) == C1 & (and x, CA) == C2" into a single and+icmp.Benjamin Kramer2011-04-281-0/+36
* Fix a ton of comment typos found by codespell. Patch byChris Lattner2011-04-151-1/+1
* Add an instcombine for constructs like a | -(b != c); a select is moreEli Friedman2011-04-141-1/+8
* InstCombine: Add a few missing combines for ANDs and ORs of sign bit tests.Benjamin Kramer2011-03-291-0/+24
* Make InstCombiner::FoldAndOfICmps create a ConstantRange that's theAnders Carlsson2011-03-011-8/+12
* Move "A | ~(A & ?) -> -1" from InstCombine to InstructionSimplify.Benjamin Kramer2011-02-201-16/+8
* InstCombine: Add a bunch of combines of the form x | (y ^ z).Benjamin Kramer2011-02-201-0/+41
* Fix 9216 - Endless loop in InstCombine pass.Nadav Rotem2011-02-151-1/+5
* tidy up a bit.Chris Lattner2011-02-151-7/+9
* more cleanups, notably bitcast isn't used for "signed to unsigned type Chris Lattner2011-02-101-45/+27
* Rework InstrTypes.h so to reduce the repetition around the NSW/NUW/ExactChris Lattner2011-02-091-2/+2
* Just because we have determined that an (fcmp | fcmp) is true for A < B,Owen Anderson2011-01-211-1/+3
* reduce indentationChris Lattner2011-01-151-29/+29
* Add a generic expansion transform: A op (B op' C) -> (A op B) op' (A op C)Duncan Sands2010-12-221-6/+9
* Add a check missing from my last commit and avoid a potential overflow situat...Benjamin Kramer2010-12-201-3/+3
* Reduce indentation.Benjamin Kramer2010-12-201-7/+5
* Teach InstCombine to merge (icmp ult (X + CA), C1) | (icmp eq X, C2) into (ic...Benjamin Kramer2010-12-201-1/+10
* Rename SimplifyDistributed to the more meaningfull name SimplifyByFactorizing.Duncan Sands2010-11-231-3/+3
* Exploit distributive laws (eg: And distributes over Or, Mul over Add, etc) in aDuncan Sands2010-11-231-42/+11
* Move some those Xor simplifications which don't require creating newDuncan Sands2010-11-171-31/+2
* Generalize the reassociation transform in SimplifyCommutative (now renamed toDuncan Sands2010-11-131-3/+3
* Re-apply r113679, which was reverted in r113720, which added a paid of new in...Owen Anderson2010-09-131-5/+31
* Revert 113679, it was causing an infinite loop in a testcase that I've sentEric Christopher2010-09-121-30/+5
* Invert and-of-or into or-of-and when doing so would allow us to clear bits of...Owen Anderson2010-09-111-5/+30
* This transform is also performed by InstructionSimplify, remove the duplicate.Benjamin Kramer2010-09-101-3/+0
* Generalize instcombine's support for combining multiple bit checks into a sin...Owen Anderson2010-09-081-32/+278
OpenPOWER on IntegriCloud