summaryrefslogtreecommitdiff
path: root/src/passes/OptimizeInstructions.cpp
Commit message (Expand)AuthorAgeFilesLines
* fix optimize-instructions handling of shifts by a zero or of a zero when comb...Alon Zakai2017-10-021-2/+3
* Merge pull request #1175 from WebAssembly/fuzzAlon Zakai2017-09-101-6/+23
|\
| * when if arms are identical, merging them may change the type of the if, if it...Alon Zakai2017-09-061-6/+23
* | Add support for sign-extension operators from threading proposal (#1167)Derek Schuff2017-09-061-0/+2
|/
* Return to more structured type rules for block and if (#1148)Alon Zakai2017-09-051-0/+8
* fix off-by-one error in clz/ctz/popcount used bits computationAlon Zakai2017-08-011-2/+2
* use effective shifts in more places in optimize-instructionsAlon Zakai (kripken)2017-08-011-2/+2
* review commentsAlon Zakai (kripken)2017-07-311-5/+5
* handle squared shifts of an unreachableAlon Zakai (kripken)2017-07-311-2/+2
* fix optimizing two shifts into one; if the number of effective shifts overflo...Alon Zakai (kripken)2017-07-301-3/+11
* do not swap elements in conditionalizeExpensiveOnBitwise if they invalidate e...Alon Zakai (kripken)2017-07-291-6/+9
* refactor effective shift size computationAlon Zakai2017-07-291-3/+3
* fix shl shift computation in getMaxBitsAlon Zakai2017-07-291-1/+1
* fix shift computation in getMaxBits - in wasm only the lower 5 bits matter fo...Alon Zakai2017-07-291-2/+2
* do not combine a load/store offset with a constant pointer if it would wrap a...Alon Zakai (kripken)2017-07-291-2/+9
* fix off-by-one in assertion in optimize-instructionsAlon Zakai2017-07-171-1/+1
* optimize shifts of 0Alon Zakai2017-07-131-0/+6
* add the option to seek named breaks, not just taken breaks; refactor headers ...Alon Zakai (kripken)2017-07-111-1/+2
* Validate finalization (#1014)Alon Zakai2017-05-181-0/+1
* optimize if and select in the case their values are identical (#1013)Alon Zakai2017-05-171-0/+39
* Fix comparisons of sign-extends to weird constants (#956)Alon Zakai2017-03-211-6/+31
* fix sign-ext opt issues (#935)Alon Zakai2017-03-091-11/+15
* Default Walker subclasses to using Visitor<SubType> (#921)jgravelle-google2017-02-231-3/+3
* refactor sign/zero extension code into nice headers, and prepare PickLoadSign...Alon Zakai2017-02-161-97/+23
* fix and clean up fallthrough logic in OptimizeInstructionsAlon Zakai (kripken)2017-02-161-22/+18
* optimize a compare of a load_s and a sign-extend into a load_u and a cheaper ...Alon Zakai (kripken)2017-02-161-0/+18
* take into account loads into local info in OptimizeInstructionsAlon Zakai (kripken)2017-02-161-7/+10
* use local info about maxBits and sign-extendedness in OptimizeInstructionsAlon Zakai (kripken)2017-02-161-11/+120
* remove unneeded masks using getMaxBitsAlon Zakai (kripken)2017-02-161-3/+16
* tiny refactoring in OptimizeInstructions, for clarityAlon Zakai (kripken)2017-02-161-7/+8
* fix fuzz testcase, xor maxBits is the max, not the minAlon Zakai (kripken)2017-02-161-2/+2
* handle fallthrough values in load_s/u and sign/zero-extend optimizationAlon Zakai (kripken)2017-02-161-6/+30
* handle load in getMaxBitsAlon Zakai (kripken)2017-02-161-0/+2
* handle tee_local in getMaxBitsAlon Zakai (kripken)2017-02-161-0/+3
* optimize out a sign-ext into a store of the same sizeAlon Zakai (kripken)2017-02-161-0/+6
* optimize out add/sub of 0Alon Zakai (kripken)2017-02-161-1/+9
* optimize sign-extends to a booleanAlon Zakai (kripken)2017-02-161-0/+4
* optimize sign-extends to eqzAlon Zakai (kripken)2017-02-161-0/+7
* optimize sign-extends to neAlon Zakai (kripken)2017-02-161-2/+2
* Optimize "squared" operations (#905)Alon Zakai2017-02-161-23/+86
* optimize linear sums (#904)Alon Zakai2017-02-161-0/+110
* Optimize sign-extends (#902)Alon Zakai2017-02-161-18/+139
* Hide dead code (#909)Loo Rong Jie2017-02-151-0/+8
* Improve handling of implicit traps (#898)Alon Zakai2017-02-061-4/+4
* Make ast_utils into a library (#892)Derek Schuff2017-01-311-45/+47
* Fix regression from #850 (#851)Alon Zakai2016-11-301-27/+1
* Optimize added factors into load/store offsets (#850)Alon Zakai2016-11-291-0/+40
* optimize booleans through i32.orAlon Zakai2016-11-041-2/+6
* recurse in optimizeBoolean (#809)Alon Zakai2016-10-271-0/+10
* optimize ne of 0 in a boolean context (#808)Alon Zakai2016-10-271-7/+17