Records the expected cost to spill some register.
Moduleghc-9.10.3GHC2021
GHC.CmmToAsm.Reg.Graph.SpillCost
- 2 types
- 7 values
- Packageghc-9.10.3
- Exports9
- LanguageGHC2021
- LicenceBSD-3-Clause
- SourceSpillCost.hs
Add two spill cost records.
Show a spill cost record, including the degree from the graph and final calculated spill cost.
Map of SpillCostRecord
An empty map of spill costs.
Add two spill cost infos.
Slurp out information used for determining spill costs.
For each vreg, the number of times it was written to, read from, and the number of instructions it was live on entry to (lifetime)
Choose a node to spill from this graph
Extract a map of register lifetimes from a SpillCostInfo.