StgCmmEnv

ghc-7.10.3: The GHC API

Safe Haskell | None
Language | Haskell2010

StgCmmEnv

# Documentation

data CgIdInfo

Instances

Outputable CgIdInfo |

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

lneIdInfo :: DynFlags -> Id -> [NonVoid Id] -> CgIdInfo

rhsIdInfo :: Id -> LambdaFormInfo -> FCode (CgIdInfo, LocalReg)

mkRhsInit :: DynFlags -> LocalReg -> LambdaFormInfo -> CmmExpr -> CmmAGraph

idInfoToAmode :: CgIdInfo -> CmmExpr

newtype NonVoid a

Constructors

NonVoid a |

Instances

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

unsafe_stripNV :: NonVoid a -> a

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

addBindC :: CgIdInfo -> FCode ()

addBindsC :: [CgIdInfo] -> FCode ()

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

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

rebindToReg :: NonVoid Id -> FCode LocalReg

bindArgToReg :: NonVoid Id -> FCode LocalReg

idToReg :: DynFlags -> NonVoid Id -> LocalReg

getArgAmode :: NonVoid StgArg -> FCode CmmExpr

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

getCgIdInfo :: Id -> FCode CgIdInfo

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