Safe Haskell | None |
---|---|
Language | GHC2021 |
Synopsis
- binSpillReasons :: [SpillReason] -> UniqFM Unique [Int]
- countRegRegMovesNat :: Instruction instr => Platform -> NatCmmDecl statics instr -> Int
- pprStats :: Instruction instr => Platform -> [NatCmmDecl statics instr] -> [RegAllocStats] -> SDoc
Documentation
binSpillReasons :: [SpillReason] -> UniqFM Unique [Int] Source #
Build a map of how many times each reg was alloced, clobbered, loaded etc.
countRegRegMovesNat :: Instruction instr => Platform -> NatCmmDecl statics instr -> Int Source #
Count reg-reg moves remaining in this code.
pprStats :: Instruction instr => Platform -> [NatCmmDecl statics instr] -> [RegAllocStats] -> SDoc Source #
Pretty print some RegAllocStats