Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Synopsis
- data Endianness
- data AlignmentInfo = AlignmentInfo {}
- data AlignType
- data Mangling
- data DataLayout = DataLayout {}
- defaultDataLayout :: Endianness -> DataLayout
Documentation
data Endianness Source #
Little Endian is the one true way :-). Sadly, we must support the infidels.
Instances
data AlignmentInfo Source #
An AlignmentInfo describes how a given type must and would best be aligned
Instances
A type of type for which AlignmentInfo
may be specified
Instances
Eq AlignType Source # | |
Data AlignType Source # | |
Defined in LLVM.AST.DataLayout gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AlignType -> c AlignType # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AlignType # toConstr :: AlignType -> Constr # dataTypeOf :: AlignType -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AlignType) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AlignType) # gmapT :: (forall b. Data b => b -> b) -> AlignType -> AlignType # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AlignType -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AlignType -> r # gmapQ :: (forall d. Data d => d -> u) -> AlignType -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> AlignType -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> AlignType -> m AlignType # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AlignType -> m AlignType # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AlignType -> m AlignType # | |
Ord AlignType Source # | |
Defined in LLVM.AST.DataLayout | |
Read AlignType Source # | |
Show AlignType Source # | |
Generic AlignType Source # | |
type Rep AlignType Source # | |
Defined in LLVM.AST.DataLayout type Rep AlignType = D1 (MetaData "AlignType" "LLVM.AST.DataLayout" "llvm-hs-pure-6.1.0-SoZvXNdOUj4hA8AeUkTV6" False) (C1 (MetaCons "IntegerAlign" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "VectorAlign" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "FloatAlign" PrefixI False) (U1 :: * -> *))) |
A style of name mangling
Instances
Eq Mangling Source # | |
Data Mangling Source # | |
Defined in LLVM.AST.DataLayout gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Mangling -> c Mangling # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Mangling # toConstr :: Mangling -> Constr # dataTypeOf :: Mangling -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Mangling) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Mangling) # gmapT :: (forall b. Data b => b -> b) -> Mangling -> Mangling # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Mangling -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Mangling -> r # gmapQ :: (forall d. Data d => d -> u) -> Mangling -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Mangling -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Mangling -> m Mangling # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Mangling -> m Mangling # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Mangling -> m Mangling # | |
Ord Mangling Source # | |
Defined in LLVM.AST.DataLayout | |
Read Mangling Source # | |
Show Mangling Source # | |
Generic Mangling Source # | |
type Rep Mangling Source # | |
Defined in LLVM.AST.DataLayout type Rep Mangling = D1 (MetaData "Mangling" "LLVM.AST.DataLayout" "llvm-hs-pure-6.1.0-SoZvXNdOUj4hA8AeUkTV6" False) ((C1 (MetaCons "ELFMangling" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "MIPSMangling" PrefixI False) (U1 :: * -> *)) :+: (C1 (MetaCons "MachOMangling" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "WindowsCOFFMangling" PrefixI False) (U1 :: * -> *))) |
data DataLayout Source #
a description of the various data layout properties which may be used during optimization
Instances
defaultDataLayout :: Endianness -> DataLayout Source #
a default DataLayout