GHC.StgToCmm.Env
data CgIdInfo Source #
Defined in GHC.StgToCmm.Monad
Methods
pdoc :: Platform -> CgIdInfo -> SDoc Source #
litIdInfo :: Platform -> Id -> LambdaFormInfo -> CmmLit -> CgIdInfo Source #
lneIdInfo :: Platform -> Id -> [NonVoid Id] -> CgIdInfo Source #
rhsIdInfo :: Id -> LambdaFormInfo -> FCode (CgIdInfo, LocalReg) Source #
mkRhsInit :: Platform -> LocalReg -> LambdaFormInfo -> CmmExpr -> CmmAGraph Source #
idInfoToAmode :: CgIdInfo -> CmmExpr Source #
addBindC :: 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 :: Platform -> 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 #