Safe Haskell | Safe |
---|---|
Language | Haskell98 |
A representation of an LLVM type
- data FloatingPointType
- data Type
- = VoidType
- | IntegerType { }
- | PointerType { }
- | FloatingPointType { }
- | FunctionType {
- resultType :: Type
- argumentTypes :: [Type]
- isVarArg :: Bool
- | VectorType { }
- | StructureType {
- isPacked :: Bool
- elementTypes :: [Type]
- | ArrayType { }
- | NamedTypeReference Name
- | MetadataType
- | LabelType
- | 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 FloatingPointType Source #
LLVM supports some special formats floating point format. This type is to distinguish those format. Also see http://llvm.org/docs/LangRef.html#floating-point-types
HalfFP | 16-bit floating point value |
FloatFP | 32-bit floating point value |
DoubleFP | 64-bit floating point value |
FP128FP | 128-bit floating point value (112-bit mantissa) |
X86_FP80FP | 80-bit floating point value (X87) |
PPC_FP128FP | 128-bit floating point value (two 64-bits) |
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
X86_FP80FP
An abbreviation for FloatingPointType
PPC_FP128FP