Safe Haskell | Safe-Inferred |
---|
LLVM.General.AST.Type
Description
A representation of an LLVM type
- data FloatingPointFormat
- = IEEE
- | DoubleExtended
- | PairOfFloats
- data Type
- = VoidType
- | IntegerType { }
- | PointerType { }
- | FloatingPointType { }
- | FunctionType {
- resultType :: Type
- argumentTypes :: [Type]
- isVarArg :: Bool
- | VectorType { }
- | StructureType {
- isPacked :: Bool
- elementTypes :: [Type]
- | ArrayType { }
- | NamedTypeReference Name
- | MetadataType
Documentation
data FloatingPointFormat
LLVM supports some special formats floating point format. This type is to distinguish those format. I believe it's treated as a format for a float, as opposed to a vector of two floats, because its intended usage is to represent a single number with a combined significand.
Constructors
IEEE | |
DoubleExtended | |
PairOfFloats |
data Type
Constructors
VoidType | |
IntegerType | |
PointerType | |
Fields | |
FloatingPointType | |
Fields | |
FunctionType | |
Fields
| |
VectorType | |
Fields
| |
StructureType | |
Fields
| |
ArrayType | |
Fields
| |
NamedTypeReference Name | |
MetadataType |