summaryrefslogtreecommitdiff
path: root/src/passes/SimplifyLocals.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Function parallelism (#343)Alon Zakai2016-04-151-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 ReorderLocalsAlon Zakai2016-04-111-0/+4
|
* continue simplifying locals while opportunities present themselvesAlon Zakai2016-04-111-23/+37
|
* dyn_cast => dynCastAlon Zakai2016-04-111-1/+1
|
* remove set_locals with no remaining gets in SimplifyLocalsAlon Zakai2016-04-111-4/+51
|
* De-recurse traversals (#333)Alon Zakai2016-04-111-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 SimplifyExpressionsAlon Zakai2016-04-071-2/+7
|
* refactor checks in SimplifyLocalsAlon Zakai2016-04-071-8/+15
|
* handle loops in effect analyzerAlon Zakai2016-04-071-8/+19
|
* fix invalidation logic in SimplifyLocals, visit each node as we hit it, do ↵Alon Zakai2016-04-071-1/+3
| | | | not walk it to look for invalidating elements that are children, we already saw them
* derecurse blocks helper, and use it in SimplifyLocalsAlon Zakai2016-04-071-8/+6
|
* rewrite SimplifyLocals to use FastExecutionWalkerAlon Zakai2016-04-071-12/+71
|
* Some cleanup.Michael Bebenita2016-01-141-1/+1
|
* Use LLVM style static polymorphism for WasmVisitors.Michael Bebenita2016-01-131-2/+2
|
* A more generic compiler pass system.Michael Bebenita2016-01-131-1/+1
|
* use simplify-locals by defaultAlon Zakai2016-01-091-0/+1
|
* start work on SimplifyLocalsAlon Zakai2016-01-091-0/+43