summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
Commit message (Expand)AuthorAgeFilesLines
* InstCombine: Fix a crasher when encountering a function pointer.Benjamin Kramer2012-08-181-1/+1
* Remove overly conservative hasOneUse check, this always expands into a single...Benjamin Kramer2012-08-181-1/+1
* InstCombine: Add a couple of fabs identities for comparing with 0.0.Benjamin Kramer2012-08-181-0/+39
* Fix a serious typo in InstCombine's optimization of comparisons.Bob Wilson2012-08-071-1/+1
* InstCombine: factor code better.Benjamin Kramer2012-06-111-14/+7
* InstCombine: Turn (zext A) == (B & (1<<X)-1) into A == (trunc B), narrowing t...Benjamin Kramer2012-06-101-1/+23
* Fix a minor logic mistake transforming compares in instcombine. PR12514.Eli Friedman2012-05-111-1/+1
* Always compute all the bits in ComputeMaskedBits.Rafael Espindola2012-04-041-2/+1
* Fix unsigned off-by-one in comment.Benjamin Kramer2012-02-211-1/+1
* InstCombine: Don't transform a signed icmp of two GEPs into a signed compare ...Benjamin Kramer2012-02-211-0/+8
* InstCombine: Removing the base from the address calculation is only safe when...Benjamin Kramer2012-02-201-1/+1
* InstCombine: When comparing two GEPs that were derived from the same base poi...Benjamin Kramer2012-02-201-0/+14
* Check against umin while converting fcmp into an icmp.Devang Patel2012-02-131-0/+11
* enhance logic to support ConstantDataArray.Chris Lattner2012-01-311-8/+13
* The powers that be have decided that LLVM IR should now support 16-bitDan Gohman2011-12-171-1/+3
* Fix a few more places where TargetData/TargetLibraryInfo is not being passed.Chad Rosier2011-12-021-1/+1
* Improved fix for abs(val) != 0 to check other similar case. Also fixed style...Pete Cooper2011-12-011-6/+10
* Added instcombine pattern to spot comparing -val or val against 0.Pete Cooper2011-12-011-0/+14
* Add a missing safety check to ProcessUGT_ADDCST_ADD. Fixes PR11438.Eli Friedman2011-11-281-0/+8
* Don't modify constant in-place.Jim Grosbach2011-09-301-3/+4
* float comparison to double 'zero' constant can just be a float 'zero.'Jim Grosbach2011-09-301-3/+6
* Tidy up. Trailing whitespace.Jim Grosbach2011-09-301-220/+220
* Stop emitting instructions with the name "tmp" they eat up memory and have to...Benjamin Kramer2011-09-271-5/+5
* Clean up includes of llvm/Analysis/ConstantFolding.h so it's included where i...Eli Friedman2011-07-201-0/+1
* land David Blaikie's patch to de-constify Type, with a few tweaks.Chris Lattner2011-07-181-17/+17
* start using the new helper methods a bit.Chris Lattner2011-07-151-19/+17
* Change Intrinsic::getDeclaration and friends to take an ArrayRef.Benjamin Kramer2011-07-141-2/+2
* Convert InsertValueInst and ExtractValueInst APIs to use ArrayRef.Jay Foad2011-07-131-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
* PR10267: Don't combine an equality compare with an AND into an inequality com...Benjamin Kramer2011-07-041-1/+5
* InstCombine: Fold A-b == C --> b == A-C if A and C are constants.Benjamin Kramer2011-06-131-7/+16
* InstCombine: Shrink ((zext X) & C1) == C2 to fold away the cast if the "zext"...Benjamin Kramer2011-06-121-1/+17
* Simplify code. No functionality changes, name changes aside.Benjamin Kramer2011-06-121-11/+6
* PR9998: ashr exact %x, 31 is not equivalent to sdiv exact %x, -2147483648.Eli Friedman2011-05-251-4/+4
* More instcombine simplifications towards better debug locations.Eli Friedman2011-05-181-11/+9
* Avoid combining GEPs that might overflow at runtime.Stuart Hastings2011-05-141-1/+3
* PR9838: Fix transform introduced in r127064 to not trigger when only one side...Eli Friedman2011-05-051-1/+1
* Transform: "icmp eq (trunc (lshr(X, cst1)), cst" to "icmp (and X, mask), cst"Chris Lattner2011-04-261-0/+25
* some random cleanups, no functionality change.Chris Lattner2011-04-261-5/+5
* Fix a ton of comment typos found by codespell. Patch byChris Lattner2011-04-151-1/+1
* InstCombine: APFloat can't perform arithmetic on PPC double doubles, don't ev...Benjamin Kramer2011-03-311-2/+4
* InstCombine: Fix transform to use the swapped predicate.Benjamin Kramer2011-03-311-2/+2
* InstCombine: fold fcmp (fneg x), (fneg y) -> fcmp x, yBenjamin Kramer2011-03-311-0/+5
* InstCombine: fold fcmp pred (fneg x), C -> fcmp swap(pred) x, -CBenjamin Kramer2011-03-311-0/+8
* InstCombine: Shrink "fcmp (fpext x), C" to "fcmp x, C" if C can be losslessly...Benjamin Kramer2011-03-311-0/+34
* InstCombine: fold fcmp (fpext x), (fpext y) -> fcmp x, y.Benjamin Kramer2011-03-311-0/+7
* Reorder comments to put them the right way around.Nick Lewycky2011-03-081-2/+2
* ConstantInt has some getters which return ConstantInt's or ConstantVector's ofNick Lewycky2011-03-061-22/+22
OpenPOWER on IntegriCloud