ghc-8.2.0.20170404: The GHC API

Safe HaskellNone
LanguageHaskell2010

StgCmmForeign (signature[?])

Synopsis

Documentation

cgForeignCall :: ForeignCall -> [StgArg] -> Type -> FCode ReturnKind Source #

emit code for a foreign call, and return the results to the sequel.

saveThreadState :: MonadUnique m => DynFlags -> m CmmAGraph Source #

Produce code to save the current thread state to CurrentTSO

loadThreadState :: MonadUnique m => DynFlags -> m CmmAGraph Source #

Produce code to load the current thread state from CurrentTSO