ghc-7.4.2: The GHC API

Safe Haskell | None

StgCmmForeign

# Documentation

cgForeignCall :: [LocalReg] -> [ForeignHint] -> ForeignCall -> [StgArg] -> FCode ()

loadThreadState :: LocalReg -> LocalReg -> CmmAGraph

saveThreadState :: CmmAGraph

emitPrimCall :: [CmmFormal] -> CallishMachOp -> [CmmActual] -> FCode ()

emitCCall :: [(CmmFormal, ForeignHint)] -> CmmExpr -> [(CmmActual, ForeignHint)] -> FCode ()

emitSaveThreadState :: BlockId -> FCode ()

emitLoadThreadState :: LocalReg -> LocalReg -> FCode ()

emitOpenNursery :: FCode ()