| Safe Haskell | Safe |
|---|---|
| Language | Haskell98 |
LLVM.General.AST.Type
Description
A representation of an LLVM type
- data FloatingPointFormat
- data Type
- = VoidType
- | IntegerType { }
- | PointerType { }
- | FloatingPointType { }
- | FunctionType {
- resultType :: Type
- argumentTypes :: [Type]
- isVarArg :: Bool
- | VectorType { }
- | StructureType {
- isPacked :: Bool
- elementTypes :: [Type]
- | ArrayType { }
- | NamedTypeReference Name
- | MetadataType
- void :: Type
- i1 :: Type
- i8 :: Type
- i16 :: Type
- i32 :: Type
- i64 :: Type
- i128 :: Type
- ptr :: Type -> Type
- half :: Type
- float :: Type
- double :: Type
- fp128 :: Type
- x86_fp80 :: Type
- ppc_fp128 :: Type
Documentation
data FloatingPointFormat Source
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 |
Constructors
| VoidType | |
| IntegerType | |
| PointerType | |
Fields | |
| FloatingPointType | |
Fields | |
| FunctionType | |
Fields
| |
| VectorType | |
Fields
| |
| StructureType | |
Fields
| |
| ArrayType | |
Fields
| |
| NamedTypeReference Name | |
| MetadataType | |
An abbreviation for IntegerType 1
An abbreviation for IntegerType 8
An abbreviation for IntegerType 16
An abbreviation for IntegerType 32
An abbreviation for IntegerType 64
An abbreviation for IntegerType 128
An abbreviation for FloatingPointType 16 IEEE
An abbreviation for FloatingPointType 32 IEEE
An abbreviation for FloatingPointType 64 IEEE
An abbreviation for FloatingPointType 128 IEEE
An abbreviation for FloatingPointType 80 DoubleExtended
An abbreviation for FloatingPointType 128 PairOfFloats