Safe Haskell | Safe |
---|---|
Language | Haskell98 |
Global
s - top-level values in Module
s - and supporting structures.
- data Global
- = GlobalVariable {
- name :: Name
- linkage :: Linkage
- visibility :: Visibility
- dllStorageClass :: Maybe StorageClass
- threadLocalMode :: Maybe Model
- unnamedAddr :: Maybe UnnamedAddr
- isConstant :: Bool
- type' :: Type
- addrSpace :: AddrSpace
- initializer :: Maybe Constant
- section :: Maybe ShortByteString
- comdat :: Maybe ShortByteString
- alignment :: Word32
- | GlobalAlias { }
- | Function {
- linkage :: Linkage
- visibility :: Visibility
- dllStorageClass :: Maybe StorageClass
- callingConvention :: CallingConvention
- returnAttributes :: [ParameterAttribute]
- returnType :: Type
- name :: Name
- parameters :: ([Parameter], Bool)
- functionAttributes :: [Either GroupID FunctionAttribute]
- section :: Maybe ShortByteString
- comdat :: Maybe ShortByteString
- alignment :: Word32
- garbageCollectorName :: Maybe ShortByteString
- prefix :: Maybe Constant
- basicBlocks :: [BasicBlock]
- personalityFunction :: Maybe Constant
- = GlobalVariable {
- data Parameter = Parameter Type Name [ParameterAttribute]
- data BasicBlock = BasicBlock Name [Named Instruction] (Named Terminator)
- data UnnamedAddr
- globalVariableDefaults :: Global
- globalAliasDefaults :: Global
- functionDefaults :: Global
Documentation
data BasicBlock Source #
http://llvm.org/doxygen/classllvm_1_1BasicBlock.html
LLVM code in a function is a sequence of BasicBlock
s each with a label,
some instructions, and a terminator.
data UnnamedAddr Source #
globalVariableDefaults :: Global Source #
helper for making GlobalVariable
s
globalAliasDefaults :: Global Source #
helper for making GlobalAlias
s
functionDefaults :: Global Source #
helper for making Function
s