Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | call_indirect now has the target at the end | Alon Zakai | 2016-09-07 | 1 | -3/+3 | |
| | ||||||
* | add drop and tee expressions | Alon Zakai | 2016-09-07 | 1 | -2/+11 | |
| | ||||||
* | support wasm globals (#650) | Alon Zakai | 2016-07-21 | 1 | -0/+21 | |
| | ||||||
* | move function parallelism to pass and pass runner, which allows more ↵ | Alon Zakai | 2016-06-03 | 1 | -65/+2 | |
| | | | | efficient parallel execution (#564) | |||||
* | add an option to run passes on individual functions, and to get default ↵ | Alon Zakai | 2016-06-02 | 1 | -2/+2 | |
| | | | | optimization passes suitable for that, or not. refactor visitFunction/Module for this. | |||||
* | refactor walk logic into walk* and doWalk* methods, for a more regular API ↵ | Alon Zakai | 2016-05-30 | 1 | -3/+16 | |
| | | | | that is clearer where it should be overridden (#551) | |||||
* | allow inheriting function-parallel classes, add a hook for creation | Alon Zakai | 2016-05-17 | 1 | -3/+12 | |
| | ||||||
* | make an instance per function in function-parallel passes, so passes don't ↵ | Alon Zakai | 2016-05-15 | 1 | -10/+12 | |
| | | | | need to clean up internal stuff | |||||
* | allocate only expressions in arenas - functions, imports, exports, function ↵ | Alon Zakai | 2016-04-27 | 1 | -9/+9 | |
| | | | | types, can more simply be held by unique_ptrs on the owning module. this avoids need to coordinate arena allocation for their elements, and only the far more plentiful expression nodes are a perf factor anyhow | |||||
* | comment on replaceCurrent | Alon Zakai | 2016-04-24 | 1 | -1/+4 | |
| | ||||||
* | provide the current expression to noteNonLinear | Alon Zakai | 2016-04-24 | 1 | -2/+2 | |
| | ||||||
* | save the module on Walker objects, so passes have an easy way to access the ↵ | Alon Zakai | 2016-04-19 | 1 | -0/+13 | |
| | | | | module (#366) | |||||
* | create a UnifiedExpressionVisitor for passes that want a single visitor ↵ | Alon Zakai | 2016-04-18 | 1 | -31/+58 | |
| | | | | function, to avoid confusion with having both visit* and visitExpression in a single pass (#357) | |||||
* | let traversals access the current function (#355) | Alon Zakai | 2016-04-18 | 1 | -7/+22 | |
| | ||||||
* | Function parallelism (#343) | Alon Zakai | 2016-04-15 | 1 | -12/+55 | |
| | | | | * 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 | |||||
* | allow overriding startWalk(Function*) | Alon Zakai | 2016-04-11 | 1 | -1/+1 | |
| | ||||||
* | remove unneeded virtual destructor | Alon Zakai | 2016-04-11 | 1 | -1/+0 | |
| | ||||||
* | De-recurse traversals (#333) | Alon Zakai | 2016-04-11 | 1 | -328/+306 | |
| | | | | | | | | | | | | * 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 | |||||
* | derecurse blocks helper, and use it in SimplifyLocals | Alon Zakai | 2016-04-07 | 1 | -0/+26 | |
| | ||||||
* | traversal improvements | Alon Zakai | 2016-04-06 | 1 | -34/+55 | |
| | ||||||
* | move some methods to WasmWalkerBase | Alon Zakai | 2016-04-06 | 1 | -27/+25 | |
| | ||||||
* | refactor a WasmReplacerWalker class | Alon Zakai | 2016-04-06 | 1 | -54/+51 | |
| | ||||||
* | add FastExecutionWalker | Alon Zakai | 2016-04-06 | 1 | -1/+101 | |
| | ||||||
* | remove obsolete comment | Alon Zakai | 2016-04-06 | 1 | -1/+0 | |
| | ||||||
* | refactor wasm traversal code into separate file | Alon Zakai | 2016-04-06 | 1 | -0/+321 | |