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