GHC.Core.Opt.CallerCC

ghc-9.2.0.20210821: The GHC API

Safe Haskell | Safe-Inferred
Language | Haskell2010

GHC.Core.Opt.CallerCC

Description

Adds cost-centers to call sites selected with the `-fprof-caller=...` flag.

# Documentation

addCallerCostCentres :: ModGuts -> CoreM ModGuts Source #

data CallerCcFilter Source #

#### Instances

Instances details

Binary CallerCcFilter Source # |
Instance details Defined in GHC.Core.Opt.CallerCC Methods put_ :: BinHandle -> CallerCcFilter -> IO () Source # put :: BinHandle -> CallerCcFilter -> IO (Bin CallerCcFilter) Source # get :: BinHandle -> IO CallerCcFilter Source #
Outputable CallerCcFilter Source # |
Instance details Defined in GHC.Core.Opt.CallerCC Methods ppr :: CallerCcFilter -> SDoc Source #

parseCallerCcFilter :: String -> Either String CallerCcFilter Source #