Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | optimize loop endings in RemoveUnusedBrs | Alon Zakai | 2016-09-09 | 1 | -1/+108 | |
| | | | | | * rotate an if near the end of a loop as it can let a break out flow naturally and be removable * turn a br_if into an if it allows such an optimization in cases where it helps remove other structures | |||||
* | select values must be valid | Alon Zakai | 2016-09-07 | 1 | -1/+1 | |
| | ||||||
* | 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. | |||||
* | fix br_if with value optimization in remove-unused-brs | Alon Zakai | 2016-06-11 | 1 | -0/+7 | |
| | ||||||
* | move function parallelism to pass and pass runner, which allows more ↵ | Alon Zakai | 2016-06-03 | 1 | -1/+3 | |
| | | | | efficient parallel execution (#564) | |||||
* | refactor walk logic into walk* and doWalk* methods, for a more regular API ↵ | Alon Zakai | 2016-05-30 | 1 | -4/+4 | |
| | | | | that is clearer where it should be overridden (#551) | |||||
* | validate in asm2wasm, and fix some validation errors for that | Alon Zakai | 2016-05-23 | 1 | -0/+18 | |
| | ||||||
* | add an ArenaVector for internal array allocations in expression nodes | Alon Zakai | 2016-04-26 | 1 | -1/+1 | |
| | ||||||
* | ast_utils improvements (#399) | Alon Zakai | 2016-04-26 | 1 | -6/+3 | |
| | | | | | | | | | * make EffectAnalyzer a little more fun to use * create a convert() method that can turn a node into a smaller node, reusing its memory, and use that in nop() * use convert in wasm-linker | |||||
* | selectify if-elses with no control flow in them | Alon Zakai | 2016-04-25 | 1 | -0/+30 | |
| | ||||||
* | optimize returns that flow out | Alon Zakai | 2016-04-25 | 1 | -3/+21 | |
| | ||||||
* | optimize breaks with values in RemoveUnusedBrs, check if their value can ↵ | Alon Zakai | 2016-04-25 | 1 | -14/+32 | |
| | | | | flow to the target anyhow | |||||
* | run multiple cycles of RemoveUnusedBrs | Alon Zakai | 2016-04-24 | 1 | -1/+15 | |
| | ||||||
* | handle general control flow in RemoveUnusedBrs | Alon Zakai | 2016-04-24 | 1 | -59/+89 | |
| | ||||||
* | create a UnifiedExpressionVisitor for passes that want a single visitor ↵ | Alon Zakai | 2016-04-18 | 1 | -1/+1 | |
| | | | | function, to avoid confusion with having both visit* and visitExpression in a single pass (#357) | |||||
* | Function parallelism (#343) | Alon Zakai | 2016-04-15 | 1 | -0/+2 | |
| | | | | * 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 | |||||
* | dyn_cast => dynCast | Alon Zakai | 2016-04-11 | 1 | -5/+5 | |
| | ||||||
* | De-recurse traversals (#333) | Alon Zakai | 2016-04-11 | 1 | -1/+1 | |
| | | | | | | | | | | | | * 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 | |||||
* | Break and Return have unreachable type | Alon Zakai | 2016-02-03 | 1 | -1/+1 | |
| | ||||||
* | fold if-br into br_if | Alon Zakai | 2016-01-23 | 1 | -3/+12 | |
| | ||||||
* | Some cleanup. | Michael Bebenita | 2016-01-14 | 1 | -1/+1 | |
| | ||||||
* | Use LLVM style static polymorphism for WasmVisitors. | Michael Bebenita | 2016-01-13 | 1 | -3/+3 | |
| | ||||||
* | A more generic compiler pass system. | Michael Bebenita | 2016-01-13 | 1 | -1/+1 | |
| | ||||||
* | RemoveUnneededBrs: remove all code in a block after a break | Alon Zakai | 2016-01-08 | 1 | -0/+7 | |
| | ||||||
* | improve RemoveUnusedBrs: unify an if-else's brs into one br outside | Alon Zakai | 2016-01-08 | 1 | -24/+39 | |
| | ||||||
* | optimize if_else in RemoveUnusedBrs | Alon Zakai | 2016-01-08 | 1 | -8/+33 | |
| | ||||||
* | optimize RemoveUnusedBrs some more - handle values #84 | Alon Zakai | 2016-01-07 | 1 | -2/+6 | |
| | ||||||
* | RemoveUnusedBrs #32 | Alon Zakai | 2016-01-05 | 1 | -0/+41 | |