ghc-lib-0.20210228: The GHC API, decoupled from GHC versions
Safe HaskellNone
LanguageHaskell2010

GHC.StgToCmm.Env

Documentation

data CgIdInfo Source #

Instances

Instances details
OutputableP Platform CgIdInfo Source # 
Instance details

Defined in GHC.StgToCmm.Monad

Methods

pdoc :: Platform -> CgIdInfo -> SDoc

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

lneIdInfo :: Platform -> Id -> [NonVoid Id] -> CgIdInfo Source #

mkRhsInit :: Platform -> LocalReg -> LambdaFormInfo -> CmmExpr -> CmmAGraph Source #

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

idToReg :: Platform -> NonVoid Id -> LocalReg Source #

getArgAmode :: NonVoid StgArg -> FCode CmmExpr Source #

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

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