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]
- data Parameter = Parameter Type Name [ParameterAttribute]
- data BasicBlock = BasicBlock Name [Named Instruction] (Named Terminator)
- globalVariableDefaults :: Global
- globalAliasDefaults :: Global
- functionDefaults :: Global
Documentation
GlobalVariable | |
| |
GlobalAlias | |
| |
Function | |
|
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.
globalVariableDefaults :: Global Source
helper for making GlobalVariable
s
globalAliasDefaults :: Global Source
helper for making GlobalAlias
s
functionDefaults :: Global Source
helper for making Function
s