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.StgToCmm.Closure

  • 7 types
  • 49 values
  • Packageghc-9.10.3
  • Exports56
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourceClosure.hs
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