summaryrefslogtreecommitdiff
path: root/src/passes/OptimizeInstructions.cpp
Commit message (Expand)AuthorAgeFilesLines
* [OptimizeInstructions] Fix fuzz bug with shifts (#3376)Alon Zakai2020-12-021-8/+14
* [OptimizeInstructions] Fix a fuzz bug with comparing signed and unsigned valu...Alon Zakai2020-12-011-38/+41
* [TypedFunctionReferences] Enable call_ref in fuzzer, and fix minor misc fuzz ...Alon Zakai2020-11-251-1/+3
* Minor code cleanups. NFC (#3364)Alon Zakai2020-11-151-1/+1
* Some refactorings in addition to #3338 (#3336)Max Graey2020-11-121-16/+10
* OptimizeInstructions: Fix regression from #3303 / #3275 (#3338)Alon Zakai2020-11-121-6/+5
* Optimize i32(x) % C_pot in boolean context (#3307)Max Graey2020-11-101-2/+17
* Canonicalize subtraction with constant on the right to addition (#3321)Max Graey2020-11-101-59/+79
* Optimize signed / unsigned relationals when RHS is min or max constant (#3314)Max Graey2020-11-041-7/+89
* Slight refactoring of handOptimize (#3305)Max Graey2020-11-031-15/+15
* Optimize x * -1.0 in non-fastMath case (#3315)Max Graey2020-11-031-3/+12
* Canonicalize relationals as well (#3303)Max Graey2020-10-301-4/+82
* Fold subtraction of sums or differences from constants (#3295)Max Graey2020-10-291-0/+33
* Optimize negative one on LHS for some shift operations (#3292)Max Graey2020-10-291-2/+13
* Fix pow2 util and avoid pow2 for left shifting in ZeroRemover (#3293)Max Graey2020-10-281-8/+10
* Propagate sign to constants for float point expressions (#3289)Max Graey2020-10-271-12/+25
* Replace x * 2 with x + x for floats (#3016)Max Graey2020-10-271-0/+13
* Drop RHS of shift if effective shift is zero (#3209)Max Graey2020-10-261-0/+8
* Сonstant value truncation during store operation (#3117)Max Graey2020-10-261-0/+13
* [NFC] `using namespace Abstract` to make matchers more compact (#3284)Thomas Lively2020-10-261-71/+56
* Optimize relations of subtractions and zero (#3275)Max Graey2020-10-251-15/+102
* OptimizeInstructions: More 64-bit integer patterns (#3015)Max Graey2020-10-231-42/+56
* Add float simplifications for absolute binary expressions (#3013)Max Graey2020-10-211-0/+49
* Optimize signed division when RHS is signed minimum (#3221)Max Graey2020-10-201-0/+17
* Optimize comparisons with 0/1 in boolean context (#3240)Max Graey2020-10-181-15/+15
* Improve partial evaluation (#3236)Max Graey2020-10-141-2/+11
* Optimize power of two float divisions (#3018)Max Graey2020-10-131-5/+44
* Optimize unsigned divisions when rhs is negative constant (#2991)Max Graey2020-10-131-7/+22
* Refactor naming convention for functions handling tuples (#3196)Max Graey2020-10-091-7/+7
* Remove old attempted DSL beginnings from OptimizeInstructions (#3200)Alon Zakai2020-10-081-23/+0
* Add optimization rules for some shift operations (#3099)Max Graey2020-10-071-0/+35
* Revert some changes for #3193 (#3197)Max Graey2020-10-061-15/+14
* fast-math: Fold `fp * -1` to `-fp` (#3189)Max Graey2020-10-051-2/+5
* Generalize transforms for #3153 (#3193)Max Graey2020-10-051-6/+17
* Ordering correction fix in OptimizeInstructions for #3047 (#3195)Alon Zakai2020-10-051-2/+12
* Optimize "clear bit mask" combination to cyclic rotation over preinverted mas...Max Graey2020-10-011-0/+14
* Add comment about signed => unsigned lowering (#3187)Max Graey2020-10-011-0/+5
* Clean up support/bits.h (#3177)Thomas Lively2020-09-301-9/+9
* Add --fast-math mode (#3155)Alon Zakai2020-09-301-8/+11
* Fold i32.eqz(wrap_i64(x)) -> i64.eqz(x) where possible (#3181)Max Graey2020-09-301-0/+12
* Simplify signed remainders compared with zero (#3153)Max Graey2020-09-291-9/+29
* Add also non-equal with zero simplification for boolean context (#3178)Max Graey2020-09-291-2/+3
* Lower signed binops to unsigned binops when possible (#2988)Max Graey2020-09-281-10/+59
* Expression matching API (#3134)Thomas Lively2020-09-181-352/+368
* Initial implementation of "Memory64" proposal (#3130)Wouter van Oortmerssen2020-09-181-6/+12
* Optimize binary operations with 1-bit on lhs and 1 const on rhs (#2948)Max Graey2020-09-171-10/+45
* Unary and binary duplicate expression elimination (#3047)Max Graey2020-09-171-15/+139
* Add float operations for isSymmetric util (#3127)Max Graey2020-09-141-2/+25
* Simplify subtracting zero from float expressions (#3125)Max Graey2020-09-131-0/+21
* also drop size for memory.copy(x, x, y) (#3075)Max Graey2020-08-241-2/+5