Holds interesting statistics from the register allocator.
Constructors
RegAllocStatsStartraLiveCmm :: [LiveCmmDecl statics instr]Initial code, with liveness.
raGraph :: Graph VirtualReg RegClass RealRegThe initial, uncolored graph.
raSpillCosts :: SpillCostInfoInformation to help choose which regs to spill.
raPlatform :: !PlatformTarget platform
RegAllocStatsSpillraCode :: [LiveCmmDecl statics instr]Code we tried to allocate registers for.
raGraph :: Graph VirtualReg RegClass RealRegThe initial, uncolored graph.
raCoalesced :: UniqFM VirtualReg VirtualRegThe regs that were coalesced.
raSpillStats :: SpillStatsSpiller stats.
raSpillCosts :: SpillCostInfoInformation to help choose which regs to spill.
raSpilled :: [LiveCmmDecl statics instr]Code with spill instructions added.
raPlatform :: !PlatformTarget platform
RegAllocStatsColoredraCode :: [LiveCmmDecl statics instr]Code we tried to allocate registers for.
raGraph :: Graph VirtualReg RegClass RealRegThe initial, uncolored graph.
raGraphColored :: Graph VirtualReg RegClass RealRegCoalesced and colored graph.
raCoalesced :: UniqFM VirtualReg VirtualRegThe regs that were coalesced.
raCodeCoalesced :: [LiveCmmDecl statics instr]Code with coalescings applied.
raPatched :: [LiveCmmDecl statics instr]Code with vregs replaced by hregs.
raSpillClean :: [LiveCmmDecl statics instr]Code with unneeded spill/reloads cleaned out.
raFinal :: [NatCmmDecl statics instr]Final code.
raSRMs :: (Int, Int, Int)Spill/reload/reg-reg moves present in this code.
raPlatform :: !PlatformTarget platform
Instances2Functor, Outputable
Functor (RegAllocStats statics)Defined in ghc-9.10.3 · GHC.CmmToAsm.Reg.Graph.Stats(OutputableP Platform statics, OutputableP Platform instr) => Outputable (RegAllocStats statics instr)Defined in ghc-9.10.3 · GHC.CmmToAsm.Reg.Graph.Stats