ghc-7.0.4: The GHC API

StgCmmForeign

# Documentation

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

loadThreadState :: LocalReg -> CmmAGraph Source

saveThreadState :: CmmAGraph Source

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

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

emitSaveThreadState :: BlockId -> FCode ()Source

emitLoadThreadState :: LocalReg -> FCode ()Source

emitOpenNursery :: FCode ()Source