CorePrep

ghc-8.4.4: The GHC API

Safe Haskell | None
Language | Haskell2010

CorePrep

# Documentation

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

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

cvtLitInteger :: DynFlags -> Id -> Maybe DataCon -> Integer -> CoreExpr #

lookupMkIntegerName :: DynFlags -> HscEnv -> IO Id #

lookupIntegerSDataConName :: DynFlags -> HscEnv -> IO (Maybe DataCon) #