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

GHC.Core.Opt.Specialise

Synopsis
  • specProgram :: ModGuts -> CoreM ModGuts
  • specUnfolding :: SimpleOpts -> [Var] -> (CoreExpr -> CoreExpr) -> [CoreArg] -> Unfolding -> Unfolding

Documentation

specProgram :: ModGuts -> CoreM ModGuts Source #

Specialise calls to type-class overloaded functions occurring in a program.

specUnfolding :: SimpleOpts -> [Var] -> (CoreExpr -> CoreExpr) -> [CoreArg] -> Unfolding -> Unfolding #