aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
Commit message (Expand)AuthorAgeFilesLines
* Update aosp/master LLVM for rebase to r230699.Stephen Hines2015-03-231-36/+180
* Update aosp/master LLVM for rebase to r222494.Stephen Hines2014-12-021-80/+292
* Update LLVM for rebase to r212749.Stephen Hines2014-07-211-23/+0
* Update LLVM for 3.5 rebase (r209712).Stephen Hines2014-05-291-69/+80
* Update to LLVM 3.5a.Stephen Hines2014-04-241-59/+47
* Update the docs to match the function name.Nadav Rotem2013-11-131-1/+1
* Fold (iszero(A&K1) | iszero(A&K2)) -> (A&(K1|K2)) != (K1|K2) if we know that...Nadav Rotem2013-11-121-3/+50
* InstCombine: allow unmasked icmps to be combined with logical opsTim Northover2013-09-041-9/+29
* InstCombine: look for masked compares with subset relationTim Northover2013-09-041-11/+75
* InstCombine: Use isAllOnesValue() instead of explicit -1.Jim Grosbach2013-08-161-1/+1
* InstCombine: Simplify if(x!=0 && x!=-1).Jim Grosbach2013-08-161-1/+6
* Use SmallVectorImpl& instead of SmallVector to avoid repeating small vector s...Craig Topper2013-07-141-1/+1
* InstCombine: (icmp eq B, 0) | (icmp ult A, B) -> (icmp ule A, B-1)David Majnemer2013-07-051-1/+28
* 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