summaryrefslogtreecommitdiff
path: root/src/passes/OptimizeInstructions.cpp
Commit message (Expand)AuthorAgeFilesLines
* OptimizeInstructions: Handle trivial ref.cast and ref.test (#4097)Alon Zakai2021-08-241-28/+97
* TrapsNeverHappen mode (#4059)Alon Zakai2021-08-171-9/+17
* LocalCSE rewrite (#4079)Alon Zakai2021-08-171-18/+9
* [Wasm GC] Fix OptimizeInstructions on folding of identical code with nominal ...Alon Zakai2021-08-161-4/+27
* Improve optimization of call_ref into direct calls (#4068)Alon Zakai2021-08-101-0/+83
* [Wasm GC] RefEq(x, null) => RefIsNull(x) (#4066)Alon Zakai2021-08-091-0/+12
* [Wasm GC] Optimize repeated identical ref.casts (#4039)Alon Zakai2021-07-291-2/+31
* [Optimize Instructions] Simplify zero/sign extentions (special case) (#4009)Max Graey2021-07-221-9/+25
* Do not create a select with multivalue arms in OptimizeInstructions (#4012)Alon Zakai2021-07-221-1/+6
* [Optimize Instructions] Combine reinterprets, loads and stores (#4006)Max Graey2021-07-211-0/+32
* [Optimize Instructions] Simplify sign extentions (#4004)Max Graey2021-07-201-0/+51
* [Optimize-Instructions] Simplify sign patterns like x < 0 ? -1 : 1 (#3756)Max Graey2021-07-161-0/+24
* [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