Safe Haskell | None |
---|---|
Language | Haskell98 |
- cgForeignCall :: ForeignCall -> [StgArg] -> Type -> FCode ReturnKind
- loadThreadState :: DynFlags -> LocalReg -> LocalReg -> CmmAGraph
- saveThreadState :: DynFlags -> CmmAGraph
- emitPrimCall :: [CmmFormal] -> CallishMachOp -> [CmmActual] -> FCode ()
- emitCCall :: [(CmmFormal, ForeignHint)] -> CmmExpr -> [(CmmActual, ForeignHint)] -> FCode ()
- emitForeignCall :: Safety -> [CmmFormal] -> ForeignTarget -> [CmmActual] -> FCode ReturnKind
- emitSaveThreadState :: FCode ()
- emitLoadThreadState :: FCode ()
- emitCloseNursery :: FCode ()
- emitOpenNursery :: FCode ()
Documentation
cgForeignCall :: ForeignCall -> [StgArg] -> Type -> FCode ReturnKind Source
emit code for a foreign call, and return the results to the sequel.
emitPrimCall :: [CmmFormal] -> CallishMachOp -> [CmmActual] -> FCode () Source
emitCCall :: [(CmmFormal, ForeignHint)] -> CmmExpr -> [(CmmActual, ForeignHint)] -> FCode () Source
emitForeignCall :: Safety -> [CmmFormal] -> ForeignTarget -> [CmmActual] -> FCode ReturnKind Source
emitSaveThreadState :: FCode () Source
emitLoadThreadState :: FCode () Source
emitCloseNursery :: FCode () Source
emitOpenNursery :: FCode () Source