Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add drop and tee expressions | Alon Zakai | 2016-09-07 | 1 | -12/+30 |
| | |||||
* | Add initialization functions for passes to avoid missing pass registration ↵ | Jukka Jylänki | 2016-06-21 | 1 | -1/+3 |
| | | | | due to linker dead code elimination. Fixes #577. | ||||
* | move function parallelism to pass and pass runner, which allows more ↵ | Alon Zakai | 2016-06-03 | 1 | -3/+5 |
| | | | | efficient parallel execution (#564) | ||||
* | refactor walk logic into walk* and doWalk* methods, for a more regular API ↵ | Alon Zakai | 2016-05-30 | 1 | -5/+5 |
| | | | | that is clearer where it should be overridden (#551) | ||||
* | vacuum away everything not tied down | Alon Zakai | 2016-05-19 | 1 | -2/+1 |
| | |||||
* | clear sinkables on unoptimizable blocks, as they have a control flow merge | Alon Zakai | 2016-05-05 | 1 | -6/+10 |
| | |||||
* | note defaults of switches in SimplifyLocals | Alon Zakai | 2016-05-05 | 1 | -0/+1 |
| | |||||
* | optimize block and if returns, by merging set_locals that flow out of them | Alon Zakai | 2016-04-24 | 1 | -72/+300 |
| | |||||
* | handle dead stores in SimplifyLocals | Alon Zakai | 2016-04-18 | 1 | -2/+3 |
| | |||||
* | remove old comments in SimplifyLocals | Alon Zakai | 2016-04-18 | 1 | -2/+1 |
| | |||||
* | create a UnifiedExpressionVisitor for passes that want a single visitor ↵ | Alon Zakai | 2016-04-18 | 1 | -3/+3 |
| | | | | function, to avoid confusion with having both visit* and visitExpression in a single pass (#357) | ||||
* | use a vector for get_local counts in SimplifyLocals (#356) | Alon Zakai | 2016-04-18 | 1 | -1/+2 |
| | |||||
* | index locals, so that get_local and set_local have just an index, and local ↵ | Alon Zakai | 2016-04-18 | 1 | -13/+13 |
| | | | | names are kept on the Function object (#354) | ||||
* | Function parallelism (#343) | Alon Zakai | 2016-04-15 | 1 | -2/+5 |
| | | | | * allow traversals to mark themselves as function-parallel, in which case we run them using a thread pool. also mark some thread-safety risks (interned strings, arena allocators) with assertions they modify only on the main thread | ||||
* | drop completely unused locals in ReorderLocals | Alon Zakai | 2016-04-11 | 1 | -0/+4 |
| | |||||
* | continue simplifying locals while opportunities present themselves | Alon Zakai | 2016-04-11 | 1 | -23/+37 |
| | |||||
* | dyn_cast => dynCast | Alon Zakai | 2016-04-11 | 1 | -1/+1 |
| | |||||
* | remove set_locals with no remaining gets in SimplifyLocals | Alon Zakai | 2016-04-11 | 1 | -4/+51 |
| | |||||
* | De-recurse traversals (#333) | Alon Zakai | 2016-04-11 | 1 | -31/+41 |
| | | | | | | | | | | | | * refactor core walking to not recurse * add a simplify-locals test * reuse parent's non-branchey scan logic in SimpleExecutionWalker, reduce code duplication * update wasm.js * rename things following comments | ||||
* | add missing checks on nested blocks in SimplifyExpressions | Alon Zakai | 2016-04-07 | 1 | -2/+7 |
| | |||||
* | refactor checks in SimplifyLocals | Alon Zakai | 2016-04-07 | 1 | -8/+15 |
| | |||||
* | handle loops in effect analyzer | Alon Zakai | 2016-04-07 | 1 | -8/+19 |
| | |||||
* | fix invalidation logic in SimplifyLocals, visit each node as we hit it, do ↵ | Alon Zakai | 2016-04-07 | 1 | -1/+3 |
| | | | | not walk it to look for invalidating elements that are children, we already saw them | ||||
* | derecurse blocks helper, and use it in SimplifyLocals | Alon Zakai | 2016-04-07 | 1 | -8/+6 |
| | |||||
* | rewrite SimplifyLocals to use FastExecutionWalker | Alon Zakai | 2016-04-07 | 1 | -12/+71 |
| | |||||
* | Some cleanup. | Michael Bebenita | 2016-01-14 | 1 | -1/+1 |
| | |||||
* | Use LLVM style static polymorphism for WasmVisitors. | Michael Bebenita | 2016-01-13 | 1 | -2/+2 |
| | |||||
* | A more generic compiler pass system. | Michael Bebenita | 2016-01-13 | 1 | -1/+1 |
| | |||||
* | use simplify-locals by default | Alon Zakai | 2016-01-09 | 1 | -0/+1 |
| | |||||
* | start work on SimplifyLocals | Alon Zakai | 2016-01-09 | 1 | -0/+43 |