Safe Haskell | None |
---|---|
Language | GHC2021 |
Synopsis
- topLevelBindsCCMG :: ModGuts -> CoreM ModGuts
- topLevelBindsCC :: (CoreExpr -> Bool) -> CoreBind -> LateCCM s CoreBind
Documentation
topLevelBindsCCMG :: ModGuts -> CoreM ModGuts Source #
Add late cost centres directly to the ModGuts
. This is used inside the
core pipeline with the -fprof-late-inline flag. It should not be used after
tidy, since it does not manually track inserted cost centers. See
Note [Collecting late cost centres].