| Safe Haskell | None | 
|---|---|
| Language | Haskell2010 | 
GHC.CmmToAsm.Wasm.FromCmm
Synopsis
- alignmentFromWordType :: forall (w :: WasmType). WasmTypeTag w -> Alignment
 - globalInfoFromCmmGlobalReg :: forall (w :: WasmType). WasmTypeTag w -> GlobalReg -> Maybe GlobalInfo
 - supportedCmmGlobalRegs :: [GlobalReg]
 - onCmmGroup :: forall (w :: WasmType). RawCmmGroup -> WasmCodeGenM w ()
 
Documentation
alignmentFromWordType :: forall (w :: WasmType). WasmTypeTag w -> Alignment Source #
Calculate the natural alignment size given the platform word type.
globalInfoFromCmmGlobalReg :: forall (w :: WasmType). WasmTypeTag w -> GlobalReg -> Maybe GlobalInfo Source #
onCmmGroup :: forall (w :: WasmType). RawCmmGroup -> WasmCodeGenM w () Source #
Invoked for each RawCmmGroup.