Instances1Outputable
Outputable StgArgDefined in ghc-9.10.3 · GHC.Stg.Syntax
:: a typeCtrl KGHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05
Moduleghc-9.10.3GHC2021
Outputable StgArgDefined in ghc-9.10.3 · GHC.Stg.SyntaxA top-level binding.
OutputablePass pass => Outputable (GenStgBinding pass)Defined in ghc-9.10.3 · GHC.Stg.SyntaxStgApp Id [StgArg]StgLit LiteralStgConApp DataCon ConstructorNumber [StgArg] [[PrimRep]]StgOpApp StgOp [StgArg] TypeStgCase (GenStgExpr pass) (BinderP pass) AltType [GenStgAlt pass]StgLet (XLet pass) (GenStgBinding pass) (GenStgExpr pass)StgLetNoEscape (XLetNoEscape pass) (GenStgBinding pass) (GenStgExpr pass)StgTick StgTickish (GenStgExpr pass)OutputablePass pass => Outputable (GenStgExpr pass)Defined in ghc-9.10.3 · GHC.Stg.SyntaxStgRhsClosure (XRhsClosure pass) CostCentreStack !UpdateFlag [BinderP pass] (GenStgExpr pass) TypeStgRhsCon CostCentreStack DataCon ConstructorNumber [StgTickish] [StgArg] TypeOutputablePass pass => Outputable (GenStgRhs pass)Defined in ghc-9.10.3 · GHC.Stg.SyntaxOutputable AltTypeDefined in ghc-9.10.3 · GHC.Stg.SyntaxUsed as a data type index for the stgSyn AST
VanillaLiftLamsUse internally by the lambda lifting pass
InferTaggedBindersTag inference information on binders. See Note [Tag inference passes] in GHC.Stg.InferTags
InferTaggedTag inference information put on relevant StgApp nodes See Note [Tag inference passes] in GHC.Stg.InferTags
CodeGentype BinderP 'CodeGen = IdDefined in ghc-9.10.3 · GHC.Stg.Syntaxtype BinderP 'InferTagged = IdDefined in ghc-9.10.3 · GHC.Stg.Syntaxtype BinderP 'InferTaggedBinders = (Id, TagSig)Defined in ghc-9.10.3 · GHC.Stg.Syntaxtype BinderP 'LiftLams = BinderInfoDefined in ghc-9.10.3 · GHC.Stg.Syntaxtype BinderP 'Vanilla = IdDefined in ghc-9.10.3 · GHC.Stg.Syntaxtype XRhsClosure 'CodeGen = DIdSetDefined in ghc-9.10.3 · GHC.Stg.SyntaxCode gen needs to track non-global free vars
type XRhsClosure 'InferTagged = NoExtFieldSilentDefined in ghc-9.10.3 · GHC.Stg.Syntaxtype XRhsClosure 'InferTaggedBinders = XRhsClosure 'CodeGenDefined in ghc-9.10.3 · GHC.Stg.Syntaxtype XRhsClosure 'LiftLams = DIdSetDefined in ghc-9.10.3 · GHC.Stg.Syntaxtype XRhsClosure 'Vanilla = NoExtFieldSilentDefined in ghc-9.10.3 · GHC.Stg.Syntaxtype XLet 'CodeGen = NoExtFieldSilentDefined in ghc-9.10.3 · GHC.Stg.Syntaxtype XLet 'InferTagged = NoExtFieldSilentDefined in ghc-9.10.3 · GHC.Stg.Syntaxtype XLet 'InferTaggedBinders = XLet 'CodeGenDefined in ghc-9.10.3 · GHC.Stg.Syntaxtype XLet 'LiftLams = SkeletonDefined in ghc-9.10.3 · GHC.Stg.Syntaxtype XLet 'Vanilla = NoExtFieldSilentDefined in ghc-9.10.3 · GHC.Stg.Syntaxtype XLetNoEscape 'CodeGen = NoExtFieldSilentDefined in ghc-9.10.3 · GHC.Stg.Syntaxtype XLetNoEscape 'InferTagged = NoExtFieldSilentDefined in ghc-9.10.3 · GHC.Stg.Syntaxtype XLetNoEscape 'InferTaggedBinders = XLetNoEscape 'CodeGenDefined in ghc-9.10.3 · GHC.Stg.Syntaxtype XLetNoEscape 'LiftLams = SkeletonDefined in ghc-9.10.3 · GHC.Stg.Syntaxtype XLetNoEscape 'Vanilla = NoExtFieldSilentDefined in ghc-9.10.3 · GHC.Stg.SyntaxLike GHC.Hs.Extension.NoExtField, but with an Outputable instance that
returns empty.
Eq NoExtFieldSilentDefined in ghc-9.10.3 · GHC.Stg.SyntaxData NoExtFieldSilentDefined in ghc-9.10.3 · GHC.Stg.SyntaxOrd NoExtFieldSilentDefined in ghc-9.10.3 · GHC.Stg.SyntaxOutputable NoExtFieldSilentDefined in ghc-9.10.3 · GHC.Stg.SyntaxUsed when constructing a term with an unused extension point that should not appear in pretty-printed output at all.
type OutputablePass (pass :: StgPass) = (Outputable (XLet pass), Outputable (XLetNoEscape pass), Outputable (XRhsClosure pass), OutputableBndr (BinderP pass))Outputable UpdateFlagDefined in ghc-9.10.3 · GHC.Stg.SyntaxWhen `-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.
Outputable ConstructorNumberDefined in ghc-9.10.3 · GHC.Stg.SyntaxOutputable StgOpDefined in ghc-9.10.3 · GHC.Stg.SyntaxDoes this constructor application refer to anything in a different *Windows* DLL? If so, we can't allocate it statically
Type of an StgArg
Very half baked because we have lost the type arguments.
This function should be avoided: in STG we aren't supposed to look at types, but only PrimReps. Use stgArgRep, stgArgRep_maybe, stgArgRep1 instaed.
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.
Assumes that the argument has exactly one PrimRep. See Note [VoidRep] in GHC.Types.RepType.
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.
STG pretty-printing options
StgPprOptsstgSccEnabled :: !BoolEnable cost-centres
STG pretty-printing options used for panic messages
STG pretty-printing options used for short messages