ghc-7.0.3: The GHC API

CmmStackLayout

Synopsis

Documentation

layout :: ProcPointSet -> SlotEnv -> ByteOff -> LGraph Middle Last -> AreaMapSource

Greedy stack layout. Compute liveness, build the interference graph, and allocate slots for the areas. We visit each basic block in a (generally) forward order.

igraph :: Ord x => IGraphBuilder x -> SlotEnv -> LGraph Middle Last -> IGraph xSource

areaBuilder :: IGraphBuilder AreaSource