ghc-9.6.1: The GHC API
Safe HaskellSafe-Inferred
LanguageHaskell2010

GHC.Stg.InferTags.Types

Synopsis

Documentation

data TagEnv p Source #

Constructors

TE 

Fields

Instances

Instances details
Outputable (TagEnv p) Source # 
Instance details

Defined in GHC.Stg.InferTags.Types

Methods

ppr :: TagEnv p -> SDoc Source #

noSig :: TagEnv p -> BinderP p -> (Id, TagSig) Source #

makeTagged :: TagEnv p -> TagEnv 'InferTaggedBinders Source #

Simple convert env to a env of the 'InferTaggedBinders pass with no other changes.

lookupSig :: TagEnv p -> Id -> Maybe TagSig Source #

Look up a sig in the given env

lookupInfo :: TagEnv p -> StgArg -> TagInfo Source #

Look up a sig in the env or derive it from information in the arg itself.