ghc-7.0.4: The GHC API

StgCmmEnv

# Documentation

data CgIdInfo Source

Instances

Outputable CgIdInfo |

cgIdInfoId :: CgIdInfo -> Id Source

cgIdInfoLF :: CgIdInfo -> LambdaFormInfo Source

litIdInfo :: Id -> LambdaFormInfo -> CmmLit -> CgIdInfo Source

lneIdInfo :: Id -> [LocalReg] -> CgIdInfo Source

regIdInfo :: Id -> LambdaFormInfo -> LocalReg -> CgIdInfo Source

idInfoToAmode :: CgIdInfo -> CmmExpr Source

newtype NonVoid a Source

Constructors

NonVoid a |

Instances

Eq a => Eq (NonVoid a) |
Show a => Show (NonVoid a) |
Outputable a => Outputable (NonVoid a) |

isVoidId :: Id -> Bool Source

nonVoidIds :: [Id] -> [NonVoid Id]Source

addBindC :: Id -> CgIdInfo -> FCode ()Source

addBindsC :: [CgIdInfo] -> FCode ()Source

bindArgsToRegs :: [NonVoid Id] -> FCode [LocalReg]Source

bindToReg :: NonVoid Id -> LambdaFormInfo -> FCode LocalReg Source

rebindToReg :: NonVoid Id -> FCode LocalReg Source

bindArgToReg :: NonVoid Id -> FCode LocalReg Source

idToReg :: NonVoid Id -> LocalReg Source

getArgAmode :: NonVoid StgArg -> FCode CmmExpr Source

getNonVoidArgAmodes :: [StgArg] -> FCode [CmmExpr]Source

getCgIdInfo :: Id -> FCode CgIdInfo Source

maybeLetNoEscape :: CgIdInfo -> Maybe (BlockId, [LocalReg])Source