Add late cost centre support
This allows cost centres to be inserted after the core optimization pipeline has run.
Showing
- compiler/GHC/Core/LateCC.hs 82 additions, 0 deletionscompiler/GHC/Core/LateCC.hs
- compiler/GHC/Core/Lint.hs 1 addition, 0 deletionscompiler/GHC/Core/Lint.hs
- compiler/GHC/Core/Opt/Monad.hs 2 additions, 0 deletionscompiler/GHC/Core/Opt/Monad.hs
- compiler/GHC/Core/Opt/Pipeline.hs 9 additions, 1 deletioncompiler/GHC/Core/Opt/Pipeline.hs
- compiler/GHC/Core/Type.hs 1 addition, 1 deletioncompiler/GHC/Core/Type.hs
- compiler/GHC/Core/Utils.hs 1 addition, 1 deletioncompiler/GHC/Core/Utils.hs
- compiler/GHC/Driver/Flags.hs 1 addition, 0 deletionscompiler/GHC/Driver/Flags.hs
- compiler/GHC/Driver/Session.hs 1 addition, 0 deletionscompiler/GHC/Driver/Session.hs
- compiler/GHC/Hs/Dump.hs 7 additions, 0 deletionscompiler/GHC/Hs/Dump.hs
- compiler/GHC/StgToCmm/Prim.hs 3 additions, 2 deletionscompiler/GHC/StgToCmm/Prim.hs
- compiler/GHC/Types/Tickish.hs 8 additions, 1 deletioncompiler/GHC/Types/Tickish.hs
- compiler/ghc.cabal.in 1 addition, 0 deletionscompiler/ghc.cabal.in
- docs/users_guide/profiling.rst 13 additions, 0 deletionsdocs/users_guide/profiling.rst
- testsuite/tests/profiling/should_compile/all.T 2 additions, 0 deletionstestsuite/tests/profiling/should_compile/all.T
- testsuite/tests/profiling/should_compile/prof-late-cc.hs 12 additions, 0 deletionstestsuite/tests/profiling/should_compile/prof-late-cc.hs
- testsuite/tests/profiling/should_compile/prof-late-cc2.hs 12 additions, 0 deletionstestsuite/tests/profiling/should_compile/prof-late-cc2.hs
- testsuite/tests/profiling/should_compile/prof-late-cc2.stdout 1 addition, 0 deletions...suite/tests/profiling/should_compile/prof-late-cc2.stdout
Loading
Please register or sign in to comment