aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
Commit message (Expand)AuthorAgeFilesLines
* Remove unneeded cast<>.Jakub Staszak2013-06-061-2/+2
* Use IRBuilder instead of ConstantInt methods.Jakub Staszak2013-06-061-27/+17
* Replace Count{Leading,Trailing}Zeros_{32,64} with count{Leading,Trailing}Zeros.Michael J. Spencer2013-05-241-1/+1
* Reorders two transforms that collide with each otherDavid Majnemer2013-04-141-8/+8
* InstCombine: Check the operand types before merging fcmp ord & fcmp ord.Benjamin Kramer2013-04-121-0/+3
* Tidy up a bit. No functional change.Jim Grosbach2013-04-051-3/+2
* Simplify code. No functionality change.Jakub Staszak2013-03-091-2/+2
* The transform is:Bill Wendling2013-02-161-0/+14
* InstCombine: canonicalize sext-and --> selectNadav Rotem2013-01-301-0/+28
* Move all of the header files which are involved in modelling the LLVM IRChandler Carruth2013-01-021-1/+1
* Add extra CHECK to make sure that 'or' instruction was replaced.Jakub Staszak2012-12-311-0/+2
* Grammo.Jakub Staszak2012-12-311-1/+1
* Transform (A == C1 || A == C2) into (A & ~(C1 ^ C2)) == C1Jakub Staszak2012-12-311-0/+12
* Formatting fixes. Remove some unnecessary 'else' after 'return'. No functiona...Craig Topper2012-12-201-21/+14
* Removing trailing whitespaceCraig Topper2012-12-201-146/+146
* Use the new script to sort the includes of every file under lib.Chandler Carruth2012-12-031-2/+2
* rdar://12329730 (defect 2)Shuxin Yang2012-11-261-0/+21
* InstCombineAndOrXor.cpp: Escape bracket in doxygen description. [-Wdocumentat...NAKAMURA Takumi2012-11-151-1/+1
* Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. S...Sylvestre Ledru2012-09-271-19/+19
* Fix a typo 'iff' => 'if'Sylvestre Ledru2012-09-271-19/+19
* 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