ghc-9.4.0.20220623: The GHC API
Safe HaskellSafe-Inferred
LanguageHaskell2010

GHC.Stg.Pipeline

Synopsis

Documentation

data StgPipelineOpts Source #

Constructors

StgPipelineOpts 

Fields

data StgToDo Source #

Optional Stg-to-Stg passes.

Constructors

StgCSE

Common subexpression elimination

StgLiftLams StgLiftConfig

Lambda lifting closure variables, trading stack/register allocation for heap allocation

StgStats 
StgUnarise

Mandatory unarise pass, desugaring unboxed tuple and sum binders

StgBcPrep

Mandatory when compiling to bytecode

StgDoNothing

Useful for building up getStgToDo

Instances

Instances details
Read StgToDo Source # 
Instance details

Defined in GHC.Stg.Pipeline

Show StgToDo Source # 
Instance details

Defined in GHC.Stg.Pipeline

Eq StgToDo Source # 
Instance details

Defined in GHC.Stg.Pipeline

Methods

(==) :: StgToDo -> StgToDo -> Bool #

(/=) :: StgToDo -> StgToDo -> Bool #

Ord StgToDo Source # 
Instance details

Defined in GHC.Stg.Pipeline