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

GHC.StgToCmm.Ticky

Synopsis

Documentation

withNewTickyCounterThunk Source #

Arguments

:: Bool

static

-> Bool

updateable

-> Id 
-> [NonVoid Id]

Free vars

-> FCode a 
-> FCode a 

withNewTickyCounterStdThunk Source #

Arguments

:: Bool

updateable

-> Id 
-> [StgArg]

Free vars + function

-> FCode a 
-> FCode a 

tickyAllocPrim Source #

Arguments

:: CmmExpr

size of the full header, in bytes

-> CmmExpr

size of the payload, in bytes

-> CmmExpr 
-> FCode () 

tickyTagged :: FCode () Source #

Predicted a pointer would be tagged correctly (GHC will crash if not so no miss case)

tickyUntagged :: CmmExpr -> FCode () Source #

Pass a boolean expr indicating if tag was present.

tickyTagSkip :: Unique -> Id -> FCode () Source #

Called when for `case v of ...` we can avoid entering v based on tag inference information.