Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Instances
Monad SimplM Source # | |
Functor SimplM Source # | |
Applicative SimplM Source # | |
MonadIO SimplM Source # | |
Defined in GHC.Core.Opt.Simplify.Monad | |
MonadUnique SimplM Source # | |
Defined in GHC.Core.Opt.Simplify.Monad getUniqueSupplyM :: SimplM UniqSupply # getUniqueM :: SimplM Unique # getUniquesM :: SimplM [Unique] # | |
HasDynFlags SimplM Source # | |
Defined in GHC.Core.Opt.Simplify.Monad | |
HasLogger SimplM Source # | |
Defined in GHC.Core.Opt.Simplify.Monad |
initSmpl :: Logger -> DynFlags -> RuleEnv -> (FamInstEnv, FamInstEnv) -> Int -> SimplM a -> IO (a, SimplCount) Source #
getSimplRules :: SimplM RuleEnv Source #
getFamEnvs :: SimplM (FamInstEnv, FamInstEnv) Source #
getOptCoercionOpts :: SimplM OptCoercionOpts Source #
class Monad m => MonadUnique (m :: Type -> Type) where #
Instances
MonadUnique UniqSM | |
Defined in GHC.Types.Unique.Supply getUniqueSupplyM :: UniqSM UniqSupply # getUniqueM :: UniqSM Unique # getUniquesM :: UniqSM [Unique] # | |
MonadUnique NatM Source # | |
Defined in GHC.CmmToAsm.Monad | |
MonadUnique CoreM | |
Defined in GHC.Core.Opt.Monad | |
MonadUnique SimplM Source # | |
Defined in GHC.Core.Opt.Simplify.Monad getUniqueSupplyM :: SimplM UniqSupply # getUniqueM :: SimplM Unique # getUniquesM :: SimplM [Unique] # | |
MonadUnique LiftM Source # | |
Defined in GHC.Stg.Lift.Monad | |
MonadUnique FCode Source # | |
Defined in GHC.StgToCmm.Monad | |
MonadUnique CmmParse Source # | |
Defined in GHC.StgToCmm.ExtCode | |
MonadUnique TcS Source # | |
Defined in GHC.Tc.Solver.Monad | |
MonadUnique LlvmM Source # | |
Defined in GHC.CmmToLlvm.Base | |
MonadUnique (IOEnv (Env gbl lcl)) Source # | |
Defined in GHC.Tc.Utils.Monad getUniqueSupplyM :: IOEnv (Env gbl lcl) UniqSupply # getUniqueM :: IOEnv (Env gbl lcl) Unique # getUniquesM :: IOEnv (Env gbl lcl) [Unique] # |
data SimplCount #
checkedTick :: Tick -> SimplM () Source #
zeroSimplCount :: DynFlags -> SimplCount #
pprSimplCount :: SimplCount -> SDoc #
plusSimplCount :: SimplCount -> SimplCount -> SimplCount #
isZeroSimplCount :: SimplCount -> Bool #