StgCmmEnv

ghc-8.0.0.20160421: The GHC API

Safe Haskell | None
Language | Haskell2010

StgCmmEnv

# Documentation

data CgIdInfo Source #

Instances

Outputable CgIdInfo # |
Methods ppr :: CgIdInfo -> SDoc Source # pprPrec :: Rational -> CgIdInfo -> SDoc Source #

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

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

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

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

idInfoToAmode :: CgIdInfo -> CmmExpr Source #

newtype NonVoid a Source #

Constructors

NonVoid a |

Instances

Eq a => Eq (NonVoid a) # |
Methods (==) :: NonVoid a -> NonVoid a -> Bool # (/=) :: NonVoid a -> NonVoid a -> Bool #
Show a => Show (NonVoid a) # |
Methods showsPrec :: Int -> NonVoid a -> ShowS Source # show :: NonVoid a -> String Source # showList :: [NonVoid a] -> ShowS Source #
Outputable a => Outputable (NonVoid a) # |
Methods ppr :: NonVoid a -> SDoc Source # pprPrec :: Rational -> NonVoid a -> SDoc Source #

unsafe_stripNV :: NonVoid a -> a Source #

nonVoidIds :: [Id] -> [NonVoid Id] 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 :: DynFlags -> 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 #