StgCmmForeign

ghc-7.0.4: The GHC API

StgCmmForeign

# Documentation

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

loadThreadState :: LocalReg -> CmmAGraph

saveThreadState :: CmmAGraph

emitPrimCall :: CmmFormals -> CallishMachOp -> CmmActuals -> FCode ()

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

emitSaveThreadState :: BlockId -> FCode ()

emitLoadThreadState :: LocalReg -> FCode ()

emitOpenNursery :: FCode ()