ghc-7.2.1: The GHC API

RegAlloc.Linear.Stats

Synopsis

Documentation

binSpillReasons :: [SpillReason] -> UniqFM [Int]Source

Build a map of how many times each reg was alloced, clobbered, loaded etc.

countRegRegMovesNat :: Instruction instr => NatCmmTop statics instr -> IntSource

Count reg-reg moves remaining in this code.

pprStats :: Instruction instr => [NatCmmTop statics instr] -> [RegAllocStats] -> SDocSource

Pretty print some RegAllocStats