ghc-9.8.3: The GHC API
Safe HaskellNone
LanguageHaskell2010

GHC.Stg.Utils

Synopsis

Documentation

bindersOf :: forall (a :: StgPass). BinderP a ~ Id => GenStgBinding a -> [Id] Source #

bindersOfX :: forall (a :: StgPass). GenStgBinding a -> [BinderP a] Source #

bindersOfTop :: forall (a :: StgPass). BinderP a ~ Id => GenStgTopBinding a -> [Id] Source #

bindersOfTopBinds :: forall (a :: StgPass). BinderP a ~ Id => [GenStgTopBinding a] -> [Id] Source #

stripStgTicksTop :: forall (p :: StgPass). (StgTickish -> Bool) -> GenStgExpr p -> ([StgTickish], GenStgExpr p) Source #

Strip ticks of a given type from an STG expression.

stripStgTicksTopE :: forall (p :: StgPass). (StgTickish -> Bool) -> GenStgExpr p -> GenStgExpr p Source #

Strip ticks of a given type from an STG expression returning only the expression.

idArgs :: [StgArg] -> [Id] Source #