ghc-7.6.3: The GHC API

Safe Haskell | None

StgCmmEnv

# Documentation

data CgIdInfo

Instances

Outputable CgIdInfo |

cgIdInfoId :: CgIdInfo -> Id

cgIdInfoLF :: CgIdInfo -> LambdaFormInfo

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

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

regIdInfo :: Id -> LambdaFormInfo -> LocalReg -> CmmAGraph -> FCode (CgIdInfo, 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) |

isVoidId :: Id -> Bool

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

addBindC :: Id -> 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 :: NonVoid Id -> LocalReg

getArgAmode :: NonVoid StgArg -> FCode CmmExpr

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

getCgIdInfo :: Id -> FCode CgIdInfo

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