ghc-lib-0.20201101: The GHC API, decoupled from GHC versions
Safe HaskellNone
LanguageHaskell2010

GHC.CoreToStg.Prep

Synopsis

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