|
|
|
|
Synopsis |
|
|
|
Documentation |
|
data RegAllocStats |
Constructors | RegAllocStatsStart | information to help choose which regs to spill
| | RegAllocStatsSpill | code with spill instructions added
| | RegAllocStatsColored | spill/reload/reg-reg moves present in this code
| |
| Instances | |
|
|
regDotColor :: Reg -> SDoc |
|
pprStats :: [RegAllocStats] -> Graph Reg RegClass Reg -> SDoc |
Do all the different analysis on this list of RegAllocStats
|
|
pprStatsSpills :: [RegAllocStats] -> SDoc |
Dump a table of how many spill loads / stores were inserted for each vreg.
|
|
pprStatsLifetimes :: [RegAllocStats] -> SDoc |
Dump a table of how long vregs tend to live for in the initial code.
|
|
pprStatsConflict :: [RegAllocStats] -> SDoc |
Dump a table of how many conflicts vregs tend to have in the initial code.
|
|
pprStatsLifeConflict |
:: [RegAllocStats] | | -> Graph Reg RegClass Reg | global register conflict graph
| -> SDoc | | For every vreg, dump it's how many conflicts it has and its lifetime
good for making a scatter plot.
|
|
|
countSRMs :: LiveCmmTop -> (Int, Int, Int) |
Count spillreloadreg-reg moves.
Lets us see how well the register allocator has done.
|
|
Produced by Haddock version 2.3.0 |