ghc-9.10.1: The GHC API
Safe HaskellNone
LanguageGHC2021

GHC.Cmm.Dataflow.Label

Contents

Synopsis

Documentation

data Label Source #

Instances

Instances details
Uniquable Label Source # 
Instance details

Defined in GHC.Cmm.Dataflow.Label

Outputable Label Source # 
Instance details

Defined in GHC.Cmm.Dataflow.Label

Methods

ppr :: Label -> SDoc Source #

Show Label Source # 
Instance details

Defined in GHC.Cmm.Dataflow.Label

Methods

showsPrec :: Int -> Label -> ShowS #

show :: Label -> String #

showList :: [Label] -> ShowS #

Eq Label Source # 
Instance details

Defined in GHC.Cmm.Dataflow.Label

Methods

(==) :: Label -> Label -> Bool #

(/=) :: Label -> Label -> Bool #

Ord Label Source # 
Instance details

Defined in GHC.Cmm.Dataflow.Label

Methods

compare :: Label -> Label -> Ordering #

(<) :: Label -> Label -> Bool #

(<=) :: Label -> Label -> Bool #

(>) :: Label -> Label -> Bool #

(>=) :: Label -> Label -> Bool #

max :: Label -> Label -> Label #

min :: Label -> Label -> Label #

OutputableP env Label Source # 
Instance details

Defined in GHC.Cmm.Dataflow.Label

Methods

pdoc :: env -> Label -> SDoc Source #

data LabelMap v Source #

Instances

Instances details
TrieMap LabelMap Source # 
Instance details

Defined in GHC.Cmm.Dataflow.Label

Associated Types

type Key LabelMap 
Instance details

Defined in GHC.Cmm.Dataflow.Label

Methods

emptyTM :: LabelMap a Source #

lookupTM :: Key LabelMap -> LabelMap b -> Maybe b Source #

alterTM :: Key LabelMap -> XT b -> LabelMap b -> LabelMap b Source #

filterTM :: (a -> Bool) -> LabelMap a -> LabelMap a Source #

foldTM :: (a -> b -> b) -> LabelMap a -> b -> b Source #

Functor LabelMap Source # 
Instance details

Defined in GHC.Cmm.Dataflow.Label

Methods

fmap :: (a -> b) -> LabelMap a -> LabelMap b #

(<$) :: a -> LabelMap b -> LabelMap a #

Foldable LabelMap Source # 
Instance details

Defined in GHC.Cmm.Dataflow.Label

Methods

fold :: Monoid m => LabelMap m -> m #

foldMap :: Monoid m => (a -> m) -> LabelMap a -> m #

foldMap' :: Monoid m => (a -> m) -> LabelMap a -> m #

foldr :: (a -> b -> b) -> b -> LabelMap a -> b #

foldr' :: (a -> b -> b) -> b -> LabelMap a -> b #

foldl :: (b -> a -> b) -> b -> LabelMap a -> b #

foldl' :: (b -> a -> b) -> b -> LabelMap a -> b #

foldr1 :: (a -> a -> a) -> LabelMap a -> a #

foldl1 :: (a -> a -> a) -> LabelMap a -> a #

toList :: LabelMap a -> [a] #

null :: LabelMap a -> Bool #

length :: LabelMap a -> Int #

elem :: Eq a => a -> LabelMap a -> Bool #

maximum :: Ord a => LabelMap a -> a #

minimum :: Ord a => LabelMap a -> a #

sum :: Num a => LabelMap a -> a #

product :: Num a => LabelMap a -> a #

Traversable LabelMap Source # 
Instance details

Defined in GHC.Cmm.Dataflow.Label

Methods

traverse :: Applicative f => (a -> f b) -> LabelMap a -> f (LabelMap b) #

sequenceA :: Applicative f => LabelMap (f a) -> f (LabelMap a) #

mapM :: Monad m => (a -> m b) -> LabelMap a -> m (LabelMap b) #

sequence :: Monad m => LabelMap (m a) -> m (LabelMap a) #

OutputableP env a => OutputableP env (LabelMap a) Source # 
Instance details

Defined in GHC.Cmm.Dataflow.Label

Methods

pdoc :: env -> LabelMap a -> SDoc Source #

Outputable a => Outputable (LabelMap a) Source # 
Instance details

Defined in GHC.Cmm.Dataflow.Label

Methods

ppr :: LabelMap a -> SDoc Source #

Show v => Show (LabelMap v) Source # 
Instance details

Defined in GHC.Cmm.Dataflow.Label

Methods

showsPrec :: Int -> LabelMap v -> ShowS #

show :: LabelMap v -> String #

showList :: [LabelMap v] -> ShowS #

Eq v => Eq (LabelMap v) Source # 
Instance details

Defined in GHC.Cmm.Dataflow.Label

Methods

(==) :: LabelMap v -> LabelMap v -> Bool #

(/=) :: LabelMap v -> LabelMap v -> Bool #

Ord v => Ord (LabelMap v) Source # 
Instance details

Defined in GHC.Cmm.Dataflow.Label

Methods

compare :: LabelMap v -> LabelMap v -> Ordering #

(<) :: LabelMap v -> LabelMap v -> Bool #

(<=) :: LabelMap v -> LabelMap v -> Bool #

(>) :: LabelMap v -> LabelMap v -> Bool #

(>=) :: LabelMap v -> LabelMap v -> Bool #

max :: LabelMap v -> LabelMap v -> LabelMap v #

min :: LabelMap v -> LabelMap v -> LabelMap v #

type Key LabelMap Source # 
Instance details

Defined in GHC.Cmm.Dataflow.Label

data LabelSet Source #

Instances

Instances details
Outputable LabelSet Source # 
Instance details

Defined in GHC.Cmm.Dataflow.Label

Methods

ppr :: LabelSet -> SDoc Source #

Monoid LabelSet Source # 
Instance details

Defined in GHC.Cmm.Dataflow.Label

Semigroup LabelSet Source # 
Instance details

Defined in GHC.Cmm.Dataflow.Label

Show LabelSet Source # 
Instance details

Defined in GHC.Cmm.Dataflow.Label

Eq LabelSet Source # 
Instance details

Defined in GHC.Cmm.Dataflow.Label

Ord LabelSet Source # 
Instance details

Defined in GHC.Cmm.Dataflow.Label

Set

setFoldl :: (t -> Label -> t) -> t -> LabelSet -> t Source #

setFoldr :: (Label -> t -> t) -> t -> LabelSet -> t Source #

Map

mapInsertWith :: (v -> v -> v) -> Label -> v -> LabelMap v -> LabelMap v Source #

mapAlter :: (Maybe v -> Maybe v) -> Label -> LabelMap v -> LabelMap v Source #

mapAdjust :: (v -> v) -> Label -> LabelMap v -> LabelMap v Source #

mapUnionWithKey :: (Label -> v -> v -> v) -> LabelMap v -> LabelMap v -> LabelMap v Source #

mapMap :: (a -> v) -> LabelMap a -> LabelMap v Source #

mapMapWithKey :: (Label -> a -> v) -> LabelMap a -> LabelMap v Source #

mapFoldl :: (a -> b -> a) -> a -> LabelMap b -> a Source #

mapFoldr :: (a -> b -> b) -> b -> LabelMap a -> b Source #

mapFoldlWithKey :: (t -> Label -> b -> t) -> t -> LabelMap b -> t Source #

mapFoldMapWithKey :: Monoid m => (Label -> t -> m) -> LabelMap t -> m Source #

mapFilter :: (v -> Bool) -> LabelMap v -> LabelMap v Source #

mapFromListWith :: (v -> v -> v) -> [(Label, v)] -> LabelMap v Source #