Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- codeOutput :: DynFlags -> Module -> FilePath -> ModLocation -> ForeignStubs -> [(ForeignSrcLang, FilePath)] -> [UnitId] -> Stream IO RawCmmGroup a -> IO (FilePath, (Bool, Maybe FilePath), [(ForeignSrcLang, FilePath)], a)
- outputForeignStubs :: DynFlags -> Module -> ModLocation -> ForeignStubs -> IO (Bool, Maybe FilePath)
- profilingInitCode :: Module -> CollectedCCs -> SDoc
Documentation
:: DynFlags | |
-> Module | |
-> FilePath | |
-> ModLocation | |
-> ForeignStubs | |
-> [(ForeignSrcLang, FilePath)] | additional files to be compiled with the C compiler |
-> [UnitId] | |
-> Stream IO RawCmmGroup a | |
-> IO (FilePath, (Bool, Maybe FilePath), [(ForeignSrcLang, FilePath)], a) |
outputForeignStubs :: DynFlags -> Module -> ModLocation -> ForeignStubs -> IO (Bool, Maybe FilePath) Source #
profilingInitCode :: Module -> CollectedCCs -> SDoc Source #
Generate code to initialise cost centres