HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Moduleghc-9.10.3GHC2021

GHC.Stg.Syntax

  • 46 types
  • 22 values
  • Packageghc-9.10.3
  • Exports72
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourceSyntax.hs
datadata GenStgExpr (pass :: StgPass)
#
Instances1Outputable
datadata StgPass
#

Used as a data type index for the stgSyn AST

Constructors

  • Vanilla
  • LiftLams

    Use internally by the lambda lifting pass

  • InferTaggedBinders

    Tag inference information on binders. See Note [Tag inference passes] in GHC.Stg.InferTags

  • InferTagged

    Tag inference information put on relevant StgApp nodes See Note [Tag inference passes] in GHC.Stg.InferTags

  • CodeGen
familytype family XRhsClosure (pass :: StgPass)
#
Instances5XRhsClosure
familytype family XLetNoEscape (pass :: StgPass)
#
Instances5XLetNoEscape
datadata ConstructorNumber
#

When `-fdistinct-constructor-tables` is turned on then each usage of a constructor is given an unique number and an info table is generated for each different constructor.

Constructors

Instances1Outputable

Assumes that the argument has at most one PrimRep, which holds after unarisation. See Note [Post-unarisation invariants] in GHC.Stg.Unarise. See Note [VoidRep] in GHC.Types.RepType.

valuestgArgRepU :: StgArg -> PrimRep
#

Assumes that the argument has exactly one PrimRep. See Note [VoidRep] in GHC.Types.RepType.

valuestgCaseBndrInScope
  1. :: AltType
  2. -> Bool

    unarised?

  3. -> Bool
#

Given an alt type and whether the program is unarised, return whether the case binder is in scope.

Case binders of unboxed tuple or unboxed sum type always dead after the unariser has run. See Note [Post-unarisation invariants] in GHC.Stg.Unarise.