ghc-7.4.1: The GHC API

Safe HaskellSafe-Infered

CmmLive

Synopsis

Documentation

type CmmLive = RegSetSource

The variables live on entry to a block

cmmLiveness :: CmmGraph -> FuelUniqSM BlockEntryLivenessSource

Calculated liveness info for a CmmGraph

liveLattice :: DataflowLattice CmmLiveSource

The dataflow lattice

noLiveOnEntry :: BlockId -> CmmLive -> a -> aSource

On entry to the procedure, there had better not be any LocalReg's live-in.

xferLive :: BwdTransfer CmmNode CmmLiveSource

The transfer function EZY: Bits of this analysis are duplicated in CmmSpillReload, though it's not really easy to efficiently reuse all of this. Keep in mind if you need to update this analysis.

gen :: UserOfLocalRegs a => a -> RegSet -> RegSetSource

The transfer equations use the traditional gen and kill notations, which should be familiar from the Dragon Book.