HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Moduleghc-10.0.0.20260917GHC2024

GHC.StgToCmm.Closure

  • 7 types
  • 49 values
typetype DynTag = Int
#

The tag on a pointer (from the dynamic-tagging paper)

valueidPrimRep1 :: Id -> PrimOrVoidRep
#

Assumes that there is at most one PrimRep of the type. This assumption holds after unarise. See Note [Post-unarisation invariants] in GHC.Stg.Unarise. See Note [VoidRep] in GHC.Types.RepType.

valueaddIdReps :: [NonVoid Id] -> [NonVoid (PrimRep, Id)]
#

Assumes that Ids have one PrimRep, which holds after unarisation. See Note [Post-unarisation invariants] in GHC.Stg.Unarise.

valueassertNonVoidIds :: [Id] -> [NonVoid Id]
#

Used in places where some invariant ensures that all these Ids are non-void; e.g. constructor field binders in case expressions. See Note [Post-unarisation invariants] in GHC.Stg.Unarise.

LambdaFormInfo

15 declarations
datadata LambdaFormInfo
#

Information about an identifier, from the code generator's point of view. Every identifier is bound to a LambdaFormInfo in the environment, which gives the code generator enough info to be able to tail call or return that identifier.

Instances1Outputable

Used by other modules

7 declarations

ClosureInfo

3 declarations

Inspection

Labels

Predicates

InfoTables

5 declarations