aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
AgeCommit message (Expand)Author
2013-03-09Simplify code. No functionality change.Jakub Staszak
2013-02-16The transform is:Bill Wendling
2013-01-30InstCombine: canonicalize sext-and --> selectNadav Rotem
2013-01-02Move all of the header files which are involved in modelling the LLVM IRChandler Carruth
2012-12-31Add extra CHECK to make sure that 'or' instruction was replaced.Jakub Staszak
2012-12-31Grammo.Jakub Staszak
2012-12-31Transform (A == C1 || A == C2) into (A & ~(C1 ^ C2)) == C1Jakub Staszak
2012-12-20Formatting fixes. Remove some unnecessary 'else' after 'return'. No functiona...Craig Topper
2012-12-20Removing trailing whitespaceCraig Topper
2012-12-03Use the new script to sort the includes of every file under lib.Chandler Carruth
2012-11-26rdar://12329730 (defect 2)Shuxin Yang
2012-11-15InstCombineAndOrXor.cpp: Escape bracket in doxygen description. [-Wdocumentat...NAKAMURA Takumi
2012-09-27Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. S...Sylvestre Ledru
2012-09-27Fix a typo 'iff' => 'if'Sylvestre Ledru
2012-06-14InstCombine: fix a bug when combining (fcmp cc0 x, y) && (fcmp cc1 x, y).Manman Ren
2012-06-06Fix combine of uno && ord -> false so that the ordering of the fcmps doesn'tChad Rosier
2012-05-28Fix suspicous hasOneUse() check, found by PVS Studio (PR12357).Benjamin Kramer
2012-04-26Add instcombine patterns for the following transformations:Chad Rosier
2012-03-26eliminate an unneeded branch, part of PR12357Chris Lattner
2012-03-16In InstCombiner::visitOr, make sure we reverse the operand swap used for chec...Eli Friedman
2012-02-29Restrict this transformation to equality conditions.Bill Wendling
2012-02-07Convert assert(0) to llvm_unreachableCraig Topper
2012-02-06Make helper static.Benjamin Kramer
2012-01-20More dead code removal (using -Wunreachable-code)David Blaikie
2012-01-09Move assert to the right place.Benjamin Kramer
2012-01-09InstCombine: Teach foldLogOpOfMaskedICmpsHelper that sign bit tests are bit t...Benjamin Kramer
2012-01-08Tweak my last commit to be less conservative about uses.Benjamin Kramer
2012-01-08InstCombine: If we have a bit test and a sign test anded/ored together, merge...Benjamin Kramer
2011-12-17Refactor code used in InstCombine::FoldAndOfICmps to new file.Pete Cooper
2011-09-27Stop emitting instructions with the name "tmp" they eat up memory and have to...Benjamin Kramer
2011-09-19Fix an infinite loop where a transform in InstCombiner::visitAnd claims a con...Eli Friedman
2011-07-18land David Blaikie's patch to de-constify Type, with a few tweaks.Chris Lattner
2011-07-14Change Intrinsic::getDeclaration and friends to take an ArrayRef.Benjamin Kramer
2011-07-12Second attempt at de-constifying LLVM Types in FunctionType::get(),Jay Foad
2011-07-12Revert r134893 and r134888 (and related patches in other trees). It was causingBill Wendling
2011-07-11De-constify Types in FunctionType::get().Jay Foad
2011-04-28We require threse bits to be zero, too.Benjamin Kramer
2011-04-28Fix a comment.Benjamin Kramer
2011-04-28InstCombine: Merge "(trunc x) == C1 & (and x, CA) == C2" into a single and+icmp.Benjamin Kramer
2011-04-15Fix a ton of comment typos found by codespell. Patch byChris Lattner
2011-04-14Add an instcombine for constructs like a | -(b != c); a select is moreEli Friedman
2011-03-29InstCombine: Add a few missing combines for ANDs and ORs of sign bit tests.Benjamin Kramer
2011-03-01Make InstCombiner::FoldAndOfICmps create a ConstantRange that's theAnders Carlsson
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