aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/InstCombine/InstCombineCompares.cpp
AgeCommit message (Expand)Author
2013-03-25Address issues found by Duncan during post-commit review of r177856.Arnaud A. de Grandmaison
2013-03-25InstCombine: simplify comparisons to zero of (shl %x, Cst) or (mul %x, Cst)Arnaud A. de Grandmaison
2013-03-22InstCombine: Improve the result bitvect type when folding (cmp pred (load (ge...Arnaud A. de Grandmaison
2013-03-13Fix a performance regression when combining to smaller types in icmp (shl %v,...Arnaud A. de Grandmaison
2013-02-15Fix refactoring mistake in "Teach InstCombine to work with smaller legal type...Arnaud A. de Grandmaison
2013-02-15Teach InstCombine to work with smaller legal types in icmp (shl %v, C1), C2Arnaud A. de Grandmaison
2013-01-02Move all of the header files which are involved in modelling the LLVM IRChandler Carruth
2012-12-19Transform (x&C)>V into (x&C)!=0 where possiblePaul Redmond
2012-12-13Revert r170020, "Simplify negated bit test", for now.NAKAMURA Takumi
2012-12-13Missed these calls from the previous rename somehow.Rafael Espindola
2012-12-12Simplify negated bit testDavid Majnemer
2012-12-03Use the new script to sort the includes of every file under lib.Chandler Carruth
2012-11-16Make this easier to understand, as suggested by Chandler.Duncan Sands
2012-11-16Fix PR14361: wrong simplification of A+B==B+A. You may think that the old logicDuncan Sands
2012-11-01Revert the majority of the next patch in the address space series:Chandler Carruth
2012-11-01Revert the series of commits starting with r166578 which introduced theChandler Carruth
2012-10-30Enable some additional constant folding for PPCDoubleDouble.Ulrich Weigand
2012-10-24Add some cleanup to the DataLayout changes requested by Chandler.Micah Villmow
2012-10-24Add in support for getIntPtrType to get the pointer type based on the address...Micah Villmow
2012-10-15Resubmit the changes to llvm core to update the functions to support differen...Micah Villmow
2012-10-11Revert 165732 for further review.Micah Villmow
2012-10-11Add in the first iteration of support for llvm/clang/lldb to allow variable p...Micah Villmow
2012-10-08Move TargetData to DataLayout.Micah Villmow
2012-08-18InstCombine: Fix a crasher when encountering a function pointer.Benjamin Kramer
2012-08-18Remove overly conservative hasOneUse check, this always expands into a single...Benjamin Kramer
2012-08-18InstCombine: Add a couple of fabs identities for comparing with 0.0.Benjamin Kramer
2012-08-07Fix a serious typo in InstCombine's optimization of comparisons.Bob Wilson
2012-06-11InstCombine: factor code better.Benjamin Kramer
2012-06-10InstCombine: Turn (zext A) == (B & (1<<X)-1) into A == (trunc B), narrowing t...Benjamin Kramer
2012-05-11Fix a minor logic mistake transforming compares in instcombine. PR12514.Eli Friedman
2012-04-04Always compute all the bits in ComputeMaskedBits.Rafael Espindola
2012-02-21Fix unsigned off-by-one in comment.Benjamin Kramer
2012-02-21InstCombine: Don't transform a signed icmp of two GEPs into a signed compare ...Benjamin Kramer
2012-02-20InstCombine: Removing the base from the address calculation is only safe when...Benjamin Kramer
2012-02-20InstCombine: When comparing two GEPs that were derived from the same base poi...Benjamin Kramer
2012-02-13Check against umin while converting fcmp into an icmp.Devang Patel
2012-01-31enhance logic to support ConstantDataArray.Chris Lattner
2011-12-17The powers that be have decided that LLVM IR should now support 16-bitDan Gohman
2011-12-02Fix a few more places where TargetData/TargetLibraryInfo is not being passed.Chad Rosier
2011-12-01Improved fix for abs(val) != 0 to check other similar case. Also fixed style...Pete Cooper
2011-12-01Added instcombine pattern to spot comparing -val or val against 0.Pete Cooper
2011-11-28Add a missing safety check to ProcessUGT_ADDCST_ADD. Fixes PR11438.Eli Friedman
2011-09-30Don't modify constant in-place.Jim Grosbach
2011-09-30float comparison to double 'zero' constant can just be a float 'zero.'Jim Grosbach
2011-09-30Tidy up. Trailing whitespace.Jim Grosbach
2011-09-27Stop emitting instructions with the name "tmp" they eat up memory and have to...Benjamin Kramer
2011-07-20Clean up includes of llvm/Analysis/ConstantFolding.h so it's included where i...Eli Friedman
2011-07-18land David Blaikie's patch to de-constify Type, with a few tweaks.Chris Lattner
2011-07-15start using the new helper methods a bit.Chris Lattner
2011-07-14Change Intrinsic::getDeclaration and friends to take an ArrayRef.Benjamin Kramer