ghc-8.2.0.20170404: The GHC API

Safe HaskellNone
LanguageHaskell2010

RegAlloc.Linear.Stats (signature[?])

Synopsis

Documentation

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

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

countRegRegMovesNat :: Instruction instr => NatCmmDecl statics instr -> Int Source #

Count reg-reg moves remaining in this code.

pprStats :: Instruction instr => [NatCmmDecl statics instr] -> [RegAllocStats] -> SDoc Source #

Pretty print some RegAllocStats