package frontend

Import Path
	github.com/tetratelabs/wazero/internal/engine/wazevo/frontend (on go.dev)

Dependency Relation
	imports 12 packages, and imported by one package

Involved Source Files Package frontend implements the translation of WebAssembly to SSA IR using the ssa package. lower.go misc.go sort_id.go
Package-Level Type Names (only one)
/* sort by: | */
Compiler is in charge of lowering Wasm to SSA IR, and does the optimization on top of it in architecture-independent way. Init initializes the state of frontendCompiler and make it ready for a next function. LowerToSSA lowers the current function to SSA function which will be held by ssaBuilder. After calling this, the caller will be able to access the SSA info in *Compiler.ssaBuilder. Note that this only does the naive lowering, and do not do any optimization, instead the caller is expected to do so. func NewFrontendCompiler(m *wasm.Module, ssaBuilder ssa.Builder, offset *wazevoapi.ModuleContextOffsetData, ensureTermination bool, listenerOn bool, sourceInfo bool) *Compiler
Package-Level Functions (total 5)
NewFrontendCompiler returns a frontend Compiler.
SignatureForListener returns the signatures for the listener functions.
SignatureForWasmFunctionType returns the ssa.Signature for the given wasm.FunctionType.
WasmTypeToSSAType converts wasm.ValueType to ssa.Type.