Safe Haskell | Safe |
---|---|
Language | Haskell98 |
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
- | TokenType
- 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.
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
80 DoubleExtended
An abbreviation for FloatingPointType
128 PairOfFloats