GHC.CoreToStg.Prep

ghc-9.2.6: The GHC API

Safe Haskell | Safe-Inferred
Language | Haskell2010

GHC.CoreToStg.Prep

Synopsis

- corePrepPgm :: HscEnv -> Module -> ModLocation -> CoreProgram -> [TyCon] -> IO (CoreProgram, Set CostCentre)
- corePrepExpr :: HscEnv -> CoreExpr -> IO CoreExpr
- mkConvertNumLiteral :: HscEnv -> IO (LitNumType -> Integer -> Maybe CoreExpr)

# Documentation

corePrepPgm :: HscEnv -> Module -> ModLocation -> CoreProgram -> [TyCon] -> IO (CoreProgram, Set CostCentre) Source #

corePrepExpr :: HscEnv -> CoreExpr -> IO CoreExpr Source #

mkConvertNumLiteral :: HscEnv -> IO (LitNumType -> Integer -> Maybe CoreExpr) Source #

Create a function that converts Bignum literals into their final CoreExpr