-- | Predicates for the 'LLVM.AST.Instruction.FCmp' instruction
module LLVM.AST.FloatingPointPredicate where

import LLVM.Prelude

-- | <http://llvm.org/docs/LangRef.html#fcmp-instruction>
data FloatingPointPredicate
  = False
  | OEQ
  | OGT
  | OGE
  | OLT
  | OLE
  | ONE
  | ORD
  | UNO
  | UEQ
  | UGT
  | UGE
  | ULT
  | ULE
  | UNE
  | True
  deriving (FloatingPointPredicate -> FloatingPointPredicate -> Bool
(FloatingPointPredicate -> FloatingPointPredicate -> Bool)
-> (FloatingPointPredicate -> FloatingPointPredicate -> Bool)
-> Eq FloatingPointPredicate
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: FloatingPointPredicate -> FloatingPointPredicate -> Bool
$c/= :: FloatingPointPredicate -> FloatingPointPredicate -> Bool
== :: FloatingPointPredicate -> FloatingPointPredicate -> Bool
$c== :: FloatingPointPredicate -> FloatingPointPredicate -> Bool
Eq, Eq FloatingPointPredicate
Eq FloatingPointPredicate =>
(FloatingPointPredicate -> FloatingPointPredicate -> Ordering)
-> (FloatingPointPredicate -> FloatingPointPredicate -> Bool)
-> (FloatingPointPredicate -> FloatingPointPredicate -> Bool)
-> (FloatingPointPredicate -> FloatingPointPredicate -> Bool)
-> (FloatingPointPredicate -> FloatingPointPredicate -> Bool)
-> (FloatingPointPredicate
    -> FloatingPointPredicate -> FloatingPointPredicate)
-> (FloatingPointPredicate
    -> FloatingPointPredicate -> FloatingPointPredicate)
-> Ord FloatingPointPredicate
FloatingPointPredicate -> FloatingPointPredicate -> Bool
FloatingPointPredicate -> FloatingPointPredicate -> Ordering
FloatingPointPredicate
-> FloatingPointPredicate -> FloatingPointPredicate
forall a.
Eq a =>
(a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
min :: FloatingPointPredicate
-> FloatingPointPredicate -> FloatingPointPredicate
$cmin :: FloatingPointPredicate
-> FloatingPointPredicate -> FloatingPointPredicate
max :: FloatingPointPredicate
-> FloatingPointPredicate -> FloatingPointPredicate
$cmax :: FloatingPointPredicate
-> FloatingPointPredicate -> FloatingPointPredicate
>= :: FloatingPointPredicate -> FloatingPointPredicate -> Bool
$c>= :: FloatingPointPredicate -> FloatingPointPredicate -> Bool
> :: FloatingPointPredicate -> FloatingPointPredicate -> Bool
$c> :: FloatingPointPredicate -> FloatingPointPredicate -> Bool
<= :: FloatingPointPredicate -> FloatingPointPredicate -> Bool
$c<= :: FloatingPointPredicate -> FloatingPointPredicate -> Bool
< :: FloatingPointPredicate -> FloatingPointPredicate -> Bool
$c< :: FloatingPointPredicate -> FloatingPointPredicate -> Bool
compare :: FloatingPointPredicate -> FloatingPointPredicate -> Ordering
$ccompare :: FloatingPointPredicate -> FloatingPointPredicate -> Ordering
$cp1Ord :: Eq FloatingPointPredicate
Ord, ReadPrec [FloatingPointPredicate]
ReadPrec FloatingPointPredicate
Int -> ReadS FloatingPointPredicate
ReadS [FloatingPointPredicate]
(Int -> ReadS FloatingPointPredicate)
-> ReadS [FloatingPointPredicate]
-> ReadPrec FloatingPointPredicate
-> ReadPrec [FloatingPointPredicate]
-> Read FloatingPointPredicate
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [FloatingPointPredicate]
$creadListPrec :: ReadPrec [FloatingPointPredicate]
readPrec :: ReadPrec FloatingPointPredicate
$creadPrec :: ReadPrec FloatingPointPredicate
readList :: ReadS [FloatingPointPredicate]
$creadList :: ReadS [FloatingPointPredicate]
readsPrec :: Int -> ReadS FloatingPointPredicate
$creadsPrec :: Int -> ReadS FloatingPointPredicate
Read, Int -> FloatingPointPredicate -> ShowS
[FloatingPointPredicate] -> ShowS
FloatingPointPredicate -> String
(Int -> FloatingPointPredicate -> ShowS)
-> (FloatingPointPredicate -> String)
-> ([FloatingPointPredicate] -> ShowS)
-> Show FloatingPointPredicate
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [FloatingPointPredicate] -> ShowS
$cshowList :: [FloatingPointPredicate] -> ShowS
show :: FloatingPointPredicate -> String
$cshow :: FloatingPointPredicate -> String
showsPrec :: Int -> FloatingPointPredicate -> ShowS
$cshowsPrec :: Int -> FloatingPointPredicate -> ShowS
Show, Typeable FloatingPointPredicate
DataType
Constr
Typeable FloatingPointPredicate =>
(forall (c :: * -> *).
 (forall d b. Data d => c (d -> b) -> d -> c b)
 -> (forall g. g -> c g)
 -> FloatingPointPredicate
 -> c FloatingPointPredicate)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c FloatingPointPredicate)
-> (FloatingPointPredicate -> Constr)
-> (FloatingPointPredicate -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c FloatingPointPredicate))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e))
    -> Maybe (c FloatingPointPredicate))
-> ((forall b. Data b => b -> b)
    -> FloatingPointPredicate -> FloatingPointPredicate)
-> (forall r r'.
    (r -> r' -> r)
    -> r
    -> (forall d. Data d => d -> r')
    -> FloatingPointPredicate
    -> r)
-> (forall r r'.
    (r' -> r -> r)
    -> r
    -> (forall d. Data d => d -> r')
    -> FloatingPointPredicate
    -> r)
-> (forall u.
    (forall d. Data d => d -> u) -> FloatingPointPredicate -> [u])
-> (forall u.
    Int -> (forall d. Data d => d -> u) -> FloatingPointPredicate -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d)
    -> FloatingPointPredicate -> m FloatingPointPredicate)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d)
    -> FloatingPointPredicate -> m FloatingPointPredicate)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d)
    -> FloatingPointPredicate -> m FloatingPointPredicate)
-> Data FloatingPointPredicate
FloatingPointPredicate -> DataType
FloatingPointPredicate -> Constr
(forall b. Data b => b -> b)
-> FloatingPointPredicate -> FloatingPointPredicate
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> FloatingPointPredicate
-> c FloatingPointPredicate
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c FloatingPointPredicate
forall a.
Typeable a =>
(forall (c :: * -> *).
 (forall d b. Data d => c (d -> b) -> d -> c b)
 -> (forall g. g -> c g) -> a -> c a)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c a)
-> (a -> Constr)
-> (a -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c a))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c a))
-> ((forall b. Data b => b -> b) -> a -> a)
-> (forall r r'.
    (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall r r'.
    (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall u. (forall d. Data d => d -> u) -> a -> [u])
-> (forall u. Int -> (forall d. Data d => d -> u) -> a -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> Data a
forall u.
Int -> (forall d. Data d => d -> u) -> FloatingPointPredicate -> u
forall u.
(forall d. Data d => d -> u) -> FloatingPointPredicate -> [u]
forall r r'.
(r -> r' -> r)
-> r
-> (forall d. Data d => d -> r')
-> FloatingPointPredicate
-> r
forall r r'.
(r' -> r -> r)
-> r
-> (forall d. Data d => d -> r')
-> FloatingPointPredicate
-> r
forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> FloatingPointPredicate -> m FloatingPointPredicate
forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> FloatingPointPredicate -> m FloatingPointPredicate
forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c FloatingPointPredicate
forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> FloatingPointPredicate
-> c FloatingPointPredicate
forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c FloatingPointPredicate)
forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c FloatingPointPredicate)
$cTrue :: Constr
$cUNE :: Constr
$cULE :: Constr
$cULT :: Constr
$cUGE :: Constr
$cUGT :: Constr
$cUEQ :: Constr
$cUNO :: Constr
$cORD :: Constr
$cONE :: Constr
$cOLE :: Constr
$cOLT :: Constr
$cOGE :: Constr
$cOGT :: Constr
$cOEQ :: Constr
$cFalse :: Constr
$tFloatingPointPredicate :: DataType
gmapMo :: (forall d. Data d => d -> m d)
-> FloatingPointPredicate -> m FloatingPointPredicate
$cgmapMo :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> FloatingPointPredicate -> m FloatingPointPredicate
gmapMp :: (forall d. Data d => d -> m d)
-> FloatingPointPredicate -> m FloatingPointPredicate
$cgmapMp :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> FloatingPointPredicate -> m FloatingPointPredicate
gmapM :: (forall d. Data d => d -> m d)
-> FloatingPointPredicate -> m FloatingPointPredicate
$cgmapM :: forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> FloatingPointPredicate -> m FloatingPointPredicate
gmapQi :: Int -> (forall d. Data d => d -> u) -> FloatingPointPredicate -> u
$cgmapQi :: forall u.
Int -> (forall d. Data d => d -> u) -> FloatingPointPredicate -> u
gmapQ :: (forall d. Data d => d -> u) -> FloatingPointPredicate -> [u]
$cgmapQ :: forall u.
(forall d. Data d => d -> u) -> FloatingPointPredicate -> [u]
gmapQr :: (r' -> r -> r)
-> r
-> (forall d. Data d => d -> r')
-> FloatingPointPredicate
-> r
$cgmapQr :: forall r r'.
(r' -> r -> r)
-> r
-> (forall d. Data d => d -> r')
-> FloatingPointPredicate
-> r
gmapQl :: (r -> r' -> r)
-> r
-> (forall d. Data d => d -> r')
-> FloatingPointPredicate
-> r
$cgmapQl :: forall r r'.
(r -> r' -> r)
-> r
-> (forall d. Data d => d -> r')
-> FloatingPointPredicate
-> r
gmapT :: (forall b. Data b => b -> b)
-> FloatingPointPredicate -> FloatingPointPredicate
$cgmapT :: (forall b. Data b => b -> b)
-> FloatingPointPredicate -> FloatingPointPredicate
dataCast2 :: (forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c FloatingPointPredicate)
$cdataCast2 :: forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c FloatingPointPredicate)
dataCast1 :: (forall d. Data d => c (t d)) -> Maybe (c FloatingPointPredicate)
$cdataCast1 :: forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c FloatingPointPredicate)
dataTypeOf :: FloatingPointPredicate -> DataType
$cdataTypeOf :: FloatingPointPredicate -> DataType
toConstr :: FloatingPointPredicate -> Constr
$ctoConstr :: FloatingPointPredicate -> Constr
gunfold :: (forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c FloatingPointPredicate
$cgunfold :: forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c FloatingPointPredicate
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> FloatingPointPredicate
-> c FloatingPointPredicate
$cgfoldl :: forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> FloatingPointPredicate
-> c FloatingPointPredicate
$cp1Data :: Typeable FloatingPointPredicate
Data, Typeable, (forall x. FloatingPointPredicate -> Rep FloatingPointPredicate x)
-> (forall x.
    Rep FloatingPointPredicate x -> FloatingPointPredicate)
-> Generic FloatingPointPredicate
forall x. Rep FloatingPointPredicate x -> FloatingPointPredicate
forall x. FloatingPointPredicate -> Rep FloatingPointPredicate x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep FloatingPointPredicate x -> FloatingPointPredicate
$cfrom :: forall x. FloatingPointPredicate -> Rep FloatingPointPredicate x
Generic)