ghc-lib-9.4.3.20221104: The GHC API, decoupled from GHC versions
Safe HaskellSafe-Inferred
LanguageHaskell2010

GHC.CmmToAsm.Reg.Linear.Stats

Synopsis

Documentation

binSpillReasons :: [SpillReason] -> UniqFM Unique [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