summaryrefslogtreecommitdiff
path: root/src/passes/OptimizeInstructions.cpp
Commit message (Expand)AuthorAgeFilesLines
* [Wasm GC] Add experimental array.copy (#3911)Alon Zakai2021-05-271-0/+5
* OptimizeInstructions: Do not change unreachability in if/select changes (#3840)Alon Zakai2021-04-231-2/+29
* OptimizeInstructions: Handle EqZInt64 on an if/select arm, not just 32 (#3837)Alon Zakai2021-04-221-3/+11
* OptimizeInstructions: Fix/ignore eqz hoisting of if with unreachable arm (#3835)Alon Zakai2021-04-221-1/+5
* Generalize moving of identical code from if/select arms (#3833)Alon Zakai2021-04-211-19/+30
* OptimizeInstructions: Move identical unary code out of if/select arms (#3828)Alon Zakai2021-04-211-9/+74
* Optimize if/select with one arm an EqZ and another a 0 or a 1 (#3822)Alon Zakai2021-04-201-0/+61
* [Wasm GC] Reorder ref.as_non_null with tee and cast (#3820)Alon Zakai2021-04-191-0/+51
* [Wasm GC] Optimize reference identity checks (#3814)Alon Zakai2021-04-191-0/+46
* [Wasm GC] Optimize away unnecessary non-null assertions (#3800)Alon Zakai2021-04-121-0/+27
* [Wasm GC] Optimize RefCast + ignore-implicit-traps (#3748)Alon Zakai2021-03-301-0/+36
* [Wasm GC] Optimize RefIs and RefAs when the type lets us (#3725)Alon Zakai2021-03-301-0/+93
* OptimizeInstructions: bool(x) xor 1 ==> !bool(x) (#3741)Alon Zakai2021-03-301-0/+14
* [Wasm GC] Optimize array.set stored values (#3690)Alon Zakai2021-03-161-0/+7
* [Wasm GC] Optimize struct stores like stores to memory, ignore unneeded bits ...Alon Zakai2021-03-121-23/+36
* Refactor OptimizeInstructions to use visit* methods. NFC (#3678)Alon Zakai2021-03-111-507/+550
* Make unreachable a subtype of everything (#3673)Thomas Lively2021-03-111-23/+19
* cleanup to allow binaryen to be built in more strict environments (#3566)walkingeyerobot2021-02-161-0/+1
* Basic EH instrucion support for the new spec (#3487)Heejin Ahn2021-01-151-1/+3
* [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