ghc-lib-8.8.1.20191204: The GHC API, decoupled from GHC versions

Safe HaskellNone
LanguageHaskell2010

StgLiftLams.Transformation

Description

(Mostly) textbook instance of the lambda lifting transformation, selecting which bindings to lambda lift by consulting goodToLift.

Synopsis

Documentation

stgLiftLams :: DynFlags -> UniqSupply -> [InStgTopBinding] -> [OutStgTopBinding] Source #

Lambda lifts bindings to top-level deemed worth lifting (see goodToLift).