Safe Haskell | None |
---|---|
Language | GHC2021 |
Synopsis
- codeOutput :: Logger -> TmpFs -> LlvmConfigCache -> DynFlags -> UnitState -> Module -> FilePath -> ModLocation -> (a -> ForeignStubs) -> [(ForeignSrcLang, FilePath)] -> Set UnitId -> DUniqSupply -> CgStream RawCmmGroup a -> IO (FilePath, (Bool, Maybe FilePath), [(ForeignSrcLang, FilePath)], a)
- outputForeignStubs :: Logger -> TmpFs -> DynFlags -> UnitState -> Module -> ModLocation -> ForeignStubs -> IO (Bool, Maybe FilePath)
- profilingInitCode :: Platform -> Module -> CollectedCCs -> CStub
- ipInitCode :: Bool -> Platform -> Module -> CStub
Documentation
:: Logger | |
-> TmpFs | |
-> LlvmConfigCache | |
-> DynFlags | |
-> UnitState | |
-> Module | |
-> FilePath | |
-> ModLocation | |
-> (a -> ForeignStubs) | |
-> [(ForeignSrcLang, FilePath)] | additional files to be compiled with the C compiler |
-> Set UnitId | Dependencies |
-> DUniqSupply | The deterministic unique supply to run the CgStream. See Note [Deterministic Uniques in the CG] |
-> CgStream RawCmmGroup a | Compiled C-- |
-> IO (FilePath, (Bool, Maybe FilePath), [(ForeignSrcLang, FilePath)], a) |
outputForeignStubs :: Logger -> TmpFs -> DynFlags -> UnitState -> Module -> ModLocation -> ForeignStubs -> IO (Bool, Maybe FilePath) Source #
profilingInitCode :: Platform -> Module -> CollectedCCs -> CStub Source #
Generate code to initialise cost centres