Safe Haskell | Safe |
---|---|
Language | Haskell98 |
Global
s - top-level values in Module
s - and supporting structures.
- data Global
- = GlobalVariable { }
- | 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 String
- comdat :: Maybe String
- alignment :: Word32
- garbageCollectorName :: Maybe String
- prefix :: Maybe Constant
- basicBlocks :: [BasicBlock]
- personalityFunction :: Maybe Constant
- 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