add -fprof-late-overloaded and -fprof-late-overloaded-calls
* Refactor late cost centre insertion for extensibility * Add two more late cost centre insertion methods that add SCCs to overloaded top level bindings and call sites with dictionary arguments. * Some tests for the basic functionality of the new insertion methods Resolves: #24500
Showing
- compiler/GHC/Core/LateCC.hs 80 additions, 154 deletionscompiler/GHC/Core/LateCC.hs
- compiler/GHC/Core/LateCC/OverloadedCalls.hs 204 additions, 0 deletionscompiler/GHC/Core/LateCC/OverloadedCalls.hs
- compiler/GHC/Core/LateCC/TopLevelBinds.hs 106 additions, 0 deletionscompiler/GHC/Core/LateCC/TopLevelBinds.hs
- compiler/GHC/Core/LateCC/Types.hs 74 additions, 0 deletionscompiler/GHC/Core/LateCC/Types.hs
- compiler/GHC/Core/LateCC/Utils.hs 80 additions, 0 deletionscompiler/GHC/Core/LateCC/Utils.hs
- compiler/GHC/Core/Opt/Pipeline.hs 2 additions, 2 deletionscompiler/GHC/Core/Opt/Pipeline.hs
- compiler/GHC/Driver/Flags.hs 2 additions, 0 deletionscompiler/GHC/Driver/Flags.hs
- compiler/GHC/Driver/Main.hs 41 additions, 22 deletionscompiler/GHC/Driver/Main.hs
- compiler/GHC/Driver/Session.hs 6 additions, 0 deletionscompiler/GHC/Driver/Session.hs
- compiler/GHC/Tc/Utils/TcType.hs 1 addition, 1 deletioncompiler/GHC/Tc/Utils/TcType.hs
- compiler/ghc.cabal.in 4 additions, 0 deletionscompiler/ghc.cabal.in
- docs/users_guide/9.10.1-notes.rst 9 additions, 0 deletionsdocs/users_guide/9.10.1-notes.rst
- docs/users_guide/profiling.rst 43 additions, 0 deletionsdocs/users_guide/profiling.rst
- testsuite/tests/profiling/should_run/all.T 27 additions, 0 deletionstestsuite/tests/profiling/should_run/all.T
- testsuite/tests/profiling/should_run/scc-prof-overloaded-calls001.hs 24 additions, 0 deletions...ests/profiling/should_run/scc-prof-overloaded-calls001.hs
- testsuite/tests/profiling/should_run/scc-prof-overloaded-calls001.prof.sample 26 additions, 0 deletions...iling/should_run/scc-prof-overloaded-calls001.prof.sample
- testsuite/tests/profiling/should_run/scc-prof-overloaded-calls001.stdout 1 addition, 0 deletions.../profiling/should_run/scc-prof-overloaded-calls001.stdout
- testsuite/tests/profiling/should_run/scc-prof-overloaded-calls002.hs 65 additions, 0 deletions...ests/profiling/should_run/scc-prof-overloaded-calls002.hs
- testsuite/tests/profiling/should_run/scc-prof-overloaded-calls002.prof.sample 31 additions, 0 deletions...iling/should_run/scc-prof-overloaded-calls002.prof.sample
- testsuite/tests/profiling/should_run/scc-prof-overloaded-calls002.stdout 8 additions, 0 deletions.../profiling/should_run/scc-prof-overloaded-calls002.stdout
Loading
Please register or sign in to comment