module LLVM.AST.ParameterAttribute where
import LLVM.Prelude
data ParameterAttribute
= ZeroExt
| SignExt
| InReg
| SRet
| Alignment Word64
| NoAlias
| ByVal
| NoCapture
| Nest
| ReadNone
| ReadOnly
| WriteOnly
| ImmArg
| InAlloca
| NonNull
| Dereferenceable Word64
| DereferenceableOrNull Word64
| Returned
| SwiftSelf
| SwiftError
| StringAttribute {
ParameterAttribute -> ShortByteString
stringAttributeKind :: ShortByteString,
ParameterAttribute -> ShortByteString
stringAttributeValue :: ShortByteString
}
deriving (ParameterAttribute -> ParameterAttribute -> Bool
(ParameterAttribute -> ParameterAttribute -> Bool)
-> (ParameterAttribute -> ParameterAttribute -> Bool)
-> Eq ParameterAttribute
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ParameterAttribute -> ParameterAttribute -> Bool
$c/= :: ParameterAttribute -> ParameterAttribute -> Bool
== :: ParameterAttribute -> ParameterAttribute -> Bool
$c== :: ParameterAttribute -> ParameterAttribute -> Bool
Eq, Eq ParameterAttribute
Eq ParameterAttribute =>
(ParameterAttribute -> ParameterAttribute -> Ordering)
-> (ParameterAttribute -> ParameterAttribute -> Bool)
-> (ParameterAttribute -> ParameterAttribute -> Bool)
-> (ParameterAttribute -> ParameterAttribute -> Bool)
-> (ParameterAttribute -> ParameterAttribute -> Bool)
-> (ParameterAttribute -> ParameterAttribute -> ParameterAttribute)
-> (ParameterAttribute -> ParameterAttribute -> ParameterAttribute)
-> Ord ParameterAttribute
ParameterAttribute -> ParameterAttribute -> Bool
ParameterAttribute -> ParameterAttribute -> Ordering
ParameterAttribute -> ParameterAttribute -> ParameterAttribute
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 :: ParameterAttribute -> ParameterAttribute -> ParameterAttribute
$cmin :: ParameterAttribute -> ParameterAttribute -> ParameterAttribute
max :: ParameterAttribute -> ParameterAttribute -> ParameterAttribute
$cmax :: ParameterAttribute -> ParameterAttribute -> ParameterAttribute
>= :: ParameterAttribute -> ParameterAttribute -> Bool
$c>= :: ParameterAttribute -> ParameterAttribute -> Bool
> :: ParameterAttribute -> ParameterAttribute -> Bool
$c> :: ParameterAttribute -> ParameterAttribute -> Bool
<= :: ParameterAttribute -> ParameterAttribute -> Bool
$c<= :: ParameterAttribute -> ParameterAttribute -> Bool
< :: ParameterAttribute -> ParameterAttribute -> Bool
$c< :: ParameterAttribute -> ParameterAttribute -> Bool
compare :: ParameterAttribute -> ParameterAttribute -> Ordering
$ccompare :: ParameterAttribute -> ParameterAttribute -> Ordering
$cp1Ord :: Eq ParameterAttribute
Ord, ReadPrec [ParameterAttribute]
ReadPrec ParameterAttribute
Int -> ReadS ParameterAttribute
ReadS [ParameterAttribute]
(Int -> ReadS ParameterAttribute)
-> ReadS [ParameterAttribute]
-> ReadPrec ParameterAttribute
-> ReadPrec [ParameterAttribute]
-> Read ParameterAttribute
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ParameterAttribute]
$creadListPrec :: ReadPrec [ParameterAttribute]
readPrec :: ReadPrec ParameterAttribute
$creadPrec :: ReadPrec ParameterAttribute
readList :: ReadS [ParameterAttribute]
$creadList :: ReadS [ParameterAttribute]
readsPrec :: Int -> ReadS ParameterAttribute
$creadsPrec :: Int -> ReadS ParameterAttribute
Read, Int -> ParameterAttribute -> ShowS
[ParameterAttribute] -> ShowS
ParameterAttribute -> String
(Int -> ParameterAttribute -> ShowS)
-> (ParameterAttribute -> String)
-> ([ParameterAttribute] -> ShowS)
-> Show ParameterAttribute
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ParameterAttribute] -> ShowS
$cshowList :: [ParameterAttribute] -> ShowS
show :: ParameterAttribute -> String
$cshow :: ParameterAttribute -> String
showsPrec :: Int -> ParameterAttribute -> ShowS
$cshowsPrec :: Int -> ParameterAttribute -> ShowS
Show, Typeable, Typeable ParameterAttribute
DataType
Constr
Typeable ParameterAttribute =>
(forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> ParameterAttribute
-> c ParameterAttribute)
-> (forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c ParameterAttribute)
-> (ParameterAttribute -> Constr)
-> (ParameterAttribute -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c ParameterAttribute))
-> (forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c ParameterAttribute))
-> ((forall b. Data b => b -> b)
-> ParameterAttribute -> ParameterAttribute)
-> (forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> ParameterAttribute -> r)
-> (forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> ParameterAttribute -> r)
-> (forall u.
(forall d. Data d => d -> u) -> ParameterAttribute -> [u])
-> (forall u.
Int -> (forall d. Data d => d -> u) -> ParameterAttribute -> u)
-> (forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> ParameterAttribute -> m ParameterAttribute)
-> (forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> ParameterAttribute -> m ParameterAttribute)
-> (forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> ParameterAttribute -> m ParameterAttribute)
-> Data ParameterAttribute
ParameterAttribute -> DataType
ParameterAttribute -> Constr
(forall b. Data b => b -> b)
-> ParameterAttribute -> ParameterAttribute
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> ParameterAttribute
-> c ParameterAttribute
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c ParameterAttribute
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) -> ParameterAttribute -> u
forall u. (forall d. Data d => d -> u) -> ParameterAttribute -> [u]
forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> ParameterAttribute -> r
forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> ParameterAttribute -> r
forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> ParameterAttribute -> m ParameterAttribute
forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> ParameterAttribute -> m ParameterAttribute
forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c ParameterAttribute
forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> ParameterAttribute
-> c ParameterAttribute
forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c ParameterAttribute)
forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c ParameterAttribute)
$cStringAttribute :: Constr
$cSwiftError :: Constr
$cSwiftSelf :: Constr
$cReturned :: Constr
$cDereferenceableOrNull :: Constr
$cDereferenceable :: Constr
$cNonNull :: Constr
$cInAlloca :: Constr
$cImmArg :: Constr
$cWriteOnly :: Constr
$cReadOnly :: Constr
$cReadNone :: Constr
$cNest :: Constr
$cNoCapture :: Constr
$cByVal :: Constr
$cNoAlias :: Constr
$cAlignment :: Constr
$cSRet :: Constr
$cInReg :: Constr
$cSignExt :: Constr
$cZeroExt :: Constr
$tParameterAttribute :: DataType
gmapMo :: (forall d. Data d => d -> m d)
-> ParameterAttribute -> m ParameterAttribute
$cgmapMo :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> ParameterAttribute -> m ParameterAttribute
gmapMp :: (forall d. Data d => d -> m d)
-> ParameterAttribute -> m ParameterAttribute
$cgmapMp :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d)
-> ParameterAttribute -> m ParameterAttribute
gmapM :: (forall d. Data d => d -> m d)
-> ParameterAttribute -> m ParameterAttribute
$cgmapM :: forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d)
-> ParameterAttribute -> m ParameterAttribute
gmapQi :: Int -> (forall d. Data d => d -> u) -> ParameterAttribute -> u
$cgmapQi :: forall u.
Int -> (forall d. Data d => d -> u) -> ParameterAttribute -> u
gmapQ :: (forall d. Data d => d -> u) -> ParameterAttribute -> [u]
$cgmapQ :: forall u. (forall d. Data d => d -> u) -> ParameterAttribute -> [u]
gmapQr :: (r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> ParameterAttribute -> r
$cgmapQr :: forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> ParameterAttribute -> r
gmapQl :: (r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> ParameterAttribute -> r
$cgmapQl :: forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> ParameterAttribute -> r
gmapT :: (forall b. Data b => b -> b)
-> ParameterAttribute -> ParameterAttribute
$cgmapT :: (forall b. Data b => b -> b)
-> ParameterAttribute -> ParameterAttribute
dataCast2 :: (forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c ParameterAttribute)
$cdataCast2 :: forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e))
-> Maybe (c ParameterAttribute)
dataCast1 :: (forall d. Data d => c (t d)) -> Maybe (c ParameterAttribute)
$cdataCast1 :: forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c ParameterAttribute)
dataTypeOf :: ParameterAttribute -> DataType
$cdataTypeOf :: ParameterAttribute -> DataType
toConstr :: ParameterAttribute -> Constr
$ctoConstr :: ParameterAttribute -> Constr
gunfold :: (forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c ParameterAttribute
$cgunfold :: forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c ParameterAttribute
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> ParameterAttribute
-> c ParameterAttribute
$cgfoldl :: forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g)
-> ParameterAttribute
-> c ParameterAttribute
$cp1Data :: Typeable ParameterAttribute
Data, (forall x. ParameterAttribute -> Rep ParameterAttribute x)
-> (forall x. Rep ParameterAttribute x -> ParameterAttribute)
-> Generic ParameterAttribute
forall x. Rep ParameterAttribute x -> ParameterAttribute
forall x. ParameterAttribute -> Rep ParameterAttribute x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ParameterAttribute x -> ParameterAttribute
$cfrom :: forall x. ParameterAttribute -> Rep ParameterAttribute x
Generic)