Directories
¶
| Path | Synopsis |
|---|---|
|
Package asmgen lowers an ssa.Func to plan9 assembly so the generated body can be compiled by the Go toolchain without ever appearing as Go source on the host's GOARCH.
|
Package asmgen lowers an ssa.Func to plan9 assembly so the generated body can be compiled by the Go toolchain without ever appearing as Go source on the host's GOARCH. |
|
Package codegen translates a parsed wasm Module into a single Go source file printed via go/format.
|
Package codegen translates a parsed wasm Module into a single Go source file printed via go/format. |
|
helpers
Package helpers contains the runtime helper functions injected into wasm2go's generated output.
|
Package helpers contains the runtime helper functions injected into wasm2go's generated output. |
|
sharedimage
Package sharedimage carries the copy-on-write shared-memory-image runtime that wasm2go emits alongside a translated module.
|
Package sharedimage carries the copy-on-write shared-memory-image runtime that wasm2go emits alongside a translated module. |
|
Package emit holds the backend-neutral analyses that an SSA-driven code emitter needs: usage counting, hoisting decisions, phi staging, and the trivial SSA-only predicates those decisions rely on.
|
Package emit holds the backend-neutral analyses that an SSA-driven code emitter needs: usage counting, hoisting decisions, phi staging, and the trivial SSA-only predicates those decisions rely on. |
|
Package gcasm implements the gc-capture asm backend: the pure-Go output is compiled by the Go compiler at BUNDLE GENERATION time, the `-S` listing is captured, and a mechanical, deterministic transform turns it into shippable Plan9 .s files.
|
Package gcasm implements the gc-capture asm backend: the pure-Go output is compiled by the Go compiler at BUNDLE GENERATION time, the `-S` listing is captured, and a mechanical, deterministic transform turns it into shippable Plan9 .s files. |
|
Package regalloc implements a greedy linear-scan register allocator with Belady-style farthest-next-use eviction, modeled on Go's cmd/compile/internal/ssa/regalloc.go.
|
Package regalloc implements a greedy linear-scan register allocator with Belady-style farthest-next-use eviction, modeled on Go's cmd/compile/internal/ssa/regalloc.go. |
|
Package ssa is an in-house lightweight SSA IR for wasm2go.
|
Package ssa is an in-house lightweight SSA IR for wasm2go. |
|
pass
Package pass collects SSA optimization passes that run between lowering and emission.
|
Package pass collects SSA optimization passes that run between lowering and emission. |
|
Package testfixture compiles .wat test fixtures to wasm on demand.
|
Package testfixture compiles .wat test fixtures to wasm on demand. |
Click to show internal directories.
Click to hide internal directories.