StgCmmEnv

ghc-8.4.4: The GHC API

Safe Haskell | None
Language | Haskell2010

StgCmmEnv

# Documentation

data CgIdInfo #

Instances

Outputable CgIdInfo # |
Instance details Defined in StgCmmMonad Methods ppr :: CgIdInfo -> SDoc # pprPrec :: Rational -> CgIdInfo -> SDoc #

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 #

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]) #