| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
GHC.Core.LateCC
Contents
Description
Adds cost-centers after the core pipline has run.
Synopsis
- addLateCostCenters :: Logger -> LateCCConfig -> CoreProgram -> IO (CoreProgram, LateCCState (Maybe SrcSpan))
Inserting cost centres
Arguments
| :: Logger | Logger |
| -> LateCCConfig | Late cost center configuration |
| -> CoreProgram | The program |
| -> IO (CoreProgram, LateCCState (Maybe SrcSpan)) |
Late cost center insertion logic used by the driver