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