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

GHC.Core.Opt.CSE

Synopsis

Documentation

cseProgram :: CoreProgram -> CoreProgram Source #

cseOneExpr :: InExpr -> OutExpr Source #

Runs CSE on a single expression.

This entry point is not used in the compiler itself, but is provided as a convenient entry point for users of the GHC API.