summaryrefslogtreecommitdiff
path: root/lib/Transforms/InstCombine/InstCombineCompares.cpp
Commit message (Expand)AuthorAge
* Fix a few more places where TargetData/TargetLibraryInfo is not being passed.Chad Rosier2011-12-02
* Improved fix for abs(val) != 0 to check other similar case. Also fixed style...Pete Cooper2011-12-01
* Added instcombine pattern to spot comparing -val or val against 0.Pete Cooper2011-12-01
* Add a missing safety check to ProcessUGT_ADDCST_ADD. Fixes PR11438.Eli Friedman2011-11-28
* Don't modify constant in-place.Jim Grosbach2011-09-30
* float comparison to double 'zero' constant can just be a float 'zero.'Jim Grosbach2011-09-30
* Tidy up. Trailing whitespace.Jim Grosbach2011-09-30
* Stop emitting instructions with the name "tmp" they eat up memory and have to...Benjamin Kramer2011-09-27
* Clean up includes of llvm/Analysis/ConstantFolding.h so it's included where i...Eli Friedman2011-07-20
* land David Blaikie's patch to de-constify Type, with a few tweaks.Chris Lattner2011-07-18
* start using the new helper methods a bit.Chris Lattner2011-07-15
* Change Intrinsic::getDeclaration and friends to take an ArrayRef.Benjamin Kramer2011-07-14
* Convert InsertValueInst and ExtractValueInst APIs to use ArrayRef.Jay Foad2011-07-13
* Second attempt at de-constifying LLVM Types in FunctionType::get(),Jay Foad2011-07-12
* Revert r134893 and r134888 (and related patches in other trees). It was causingBill Wendling2011-07-12
* De-constify Types in FunctionType::get().Jay Foad2011-07-11
* PR10267: Don't combine an equality compare with an AND into an inequality com...Benjamin Kramer2011-07-04
* InstCombine: Fold A-b == C --> b == A-C if A and C are constants.Benjamin Kramer2011-06-13
* InstCombine: Shrink ((zext X) & C1) == C2 to fold away the cast if the "zext"...Benjamin Kramer2011-06-12
* Simplify code. No functionality changes, name changes aside.Benjamin Kramer2011-06-12
* PR9998: ashr exact %x, 31 is not equivalent to sdiv exact %x, -2147483648.Eli Friedman2011-05-25
* More instcombine simplifications towards better debug locations.Eli Friedman2011-05-18
* Avoid combining GEPs that might overflow at runtime.Stuart Hastings2011-05-14
* PR9838: Fix transform introduced in r127064 to not trigger when only one side...Eli Friedman2011-05-05
* Transform: "icmp eq (trunc (lshr(X, cst1)), cst" to "icmp (and X, mask), cst"Chris Lattner2011-04-26
* some random cleanups, no functionality change.Chris Lattner2011-04-26
* Fix a ton of comment typos found by codespell. Patch byChris Lattner2011-04-15
* InstCombine: APFloat can't perform arithmetic on PPC double doubles, don't ev...Benjamin Kramer2011-03-31
* InstCombine: Fix transform to use the swapped predicate.Benjamin Kramer2011-03-31
* InstCombine: fold fcmp (fneg x), (fneg y) -> fcmp x, yBenjamin Kramer2011-03-31
* InstCombine: fold fcmp pred (fneg x), C -> fcmp swap(pred) x, -CBenjamin Kramer2011-03-31
* InstCombine: Shrink "fcmp (fpext x), C" to "fcmp x, C" if C can be losslessly...Benjamin Kramer2011-03-31
* InstCombine: fold fcmp (fpext x), (fpext y) -> fcmp x, y.Benjamin Kramer2011-03-31
* Reorder comments to put them the right way around.Nick Lewycky2011-03-08
* ConstantInt has some getters which return ConstantInt's or ConstantVector's ofNick Lewycky2011-03-06
* Thread comparisons over udiv/sdiv/ashr/lshr exact and lshr nuw/nsw wheneverNick Lewycky2011-03-05
* Try once again to optimize "icmp (srem X, Y), Y" by turning the comparison intoNick Lewycky2011-03-05
* srem doesn't actually have the same resulting sign as its numerator, you couldNick Lewycky2011-02-28
* Teach InstCombine to fold "(shr exact X, Y) == 0" --> X == 0, fixing #1 fromNick Lewycky2011-02-28
* The sign of an srem instruction is the sign of its dividend (the firstNick Lewycky2011-02-28
* Add some transforms of the kind X-Y>X -> 0>Y which are valid when there is noDuncan Sands2011-02-18
* Transform "A + B >= A + C" into "B >= C" if the adds do not wrap. Likewise f...Duncan Sands2011-02-17
* remove a now-unneccesary cast.Chris Lattner2011-02-13
* implement instcombine folding for things like (x >> c) < 42.Chris Lattner2011-02-13
* refactor some code out into a helper method.Chris Lattner2011-02-13
* Also fold (A+B) == A -> B == 0 when the add is commuted.Benjamin Kramer2011-02-11
* Enhance the "compare with shift" and "compare with div" Chris Lattner2011-02-10
* Recognize and simplifyAnders Carlsson2011-01-30
* At -O123 the early-cse pass is run before instcombine has run. According to myDuncan Sands2011-01-20
* remove the AllowAggressive argument to FoldOpIntoPhi. It is forced to false ...Chris Lattner2011-01-16