|
|
|
|
| Synopsis |
|
| | | pprStats :: [RegAllocStats instr] -> Graph VirtualReg RegClass RealReg -> SDoc | | | pprStatsSpills :: [RegAllocStats instr] -> SDoc | | | pprStatsLifetimes :: [RegAllocStats instr] -> SDoc | | | pprStatsConflict :: [RegAllocStats instr] -> SDoc | | | pprStatsLifeConflict :: [RegAllocStats instr] -> Graph VirtualReg RegClass RealReg -> SDoc | | | countSRMs :: Instruction instr => LiveCmmTop instr -> (Int, Int, Int) | | | addSRM :: (Num t, Num t1, Num t2) => (t, t1, t2) -> (t, t1, t2) -> (t, t1, t2) |
|
|
| Documentation |
|
| data RegAllocStats instr |
| 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 | |
|
|
| pprStats :: [RegAllocStats instr] -> Graph VirtualReg RegClass RealReg -> SDoc |
| Do all the different analysis on this list of RegAllocStats
|
|
| pprStatsSpills :: [RegAllocStats instr] -> SDoc |
| Dump a table of how many spill loads / stores were inserted for each vreg.
|
|
| pprStatsLifetimes :: [RegAllocStats instr] -> SDoc |
| Dump a table of how long vregs tend to live for in the initial code.
|
|
| pprStatsConflict :: [RegAllocStats instr] -> SDoc |
| Dump a table of how many conflicts vregs tend to have in the initial code.
|
|
| pprStatsLifeConflict |
|
|
| countSRMs :: Instruction instr => LiveCmmTop instr -> (Int, Int, Int) |
| Count spillreloadreg-reg moves.
Lets us see how well the register allocator has done.
|
|
| addSRM :: (Num t, Num t1, Num t2) => (t, t1, t2) -> (t, t1, t2) -> (t, t1, t2) |
|
| Produced by Haddock version 2.7.2 |