Safe Haskell | None |
---|
Documentation
mkProdDmd :: [JointDmd] -> CleanDemandSource
mkOnceUsedDmd :: CleanDemand -> JointDmdSource
mkManyUsedDmd :: CleanDemand -> JointDmdSource
getUsage :: CleanDemand -> UseDmdSource
toCleanDmd :: (CleanDemand -> e -> (DmdType, e)) -> Demand -> e -> (DmdType, e)Source
cleanUseDmd_maybe :: JointDmd -> Maybe UseDmdSource
strictenDmd :: JointDmd -> CleanDemandSource
dmdTypeDepth :: DmdType -> AritySource
lubDmdType :: DmdType -> DmdType -> DmdTypeSource
bothDmdEnv :: DmdEnv -> DmdEnv -> DmdEnvSource
bothDmdType :: DmdType -> DmdType -> DmdTypeSource
mkTopDmdType :: [Demand] -> DmdResult -> DmdTypeSource
resTypeArgDmd :: DmdResult -> JointDmdSource
appIsBottom :: StrictSig -> Int -> BoolSource
returnsCPR :: DmdResult -> BoolSource
splitStrictSig :: StrictSig -> ([Demand], DmdResult)Source
seqDemandList :: [JointDmd] -> ()Source
seqDmdType :: DmdType -> ()Source
seqStrictSig :: StrictSig -> ()Source
isStrictDmd :: Demand -> BoolSource
splitDmdTy :: DmdType -> (Demand, DmdType)Source
splitProdDmd :: Arity -> JointDmd -> [JointDmd]Source
splitProdDmd_maybe :: JointDmd -> Maybe [JointDmd]Source
peelCallDmd :: CleanDemand -> (CleanDemand, Bool, Count)Source
dmdTransformSig :: StrictSig -> CleanDemand -> DmdTypeSource
dmdTransformDataConSig :: Arity -> StrictSig -> CleanDemand -> DmdTypeSource
argOneShots :: JointDmd -> [Bool]Source
argsOneShots :: StrictSig -> Arity -> [[Bool]]Source
isSingleUsed :: JointDmd -> BoolSource
zapStrictSig :: DynFlags -> StrictSig -> StrictSigSource
worthSplittingFun :: [JointDmd] -> DmdResult -> BoolSource
worthSplittingThunk :: JointDmd -> DmdResult -> BoolSource