Safe Haskell | Safe |
---|---|
Language | Haskell98 |
LLVM.AST.Type
Description
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 #
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
Constructors
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) |
Constructors
VoidType | |
IntegerType | |
PointerType | |
Fields | |
FloatingPointType | |
Fields | |
FunctionType | |
Fields
| |
VectorType | |
Fields
| |
StructureType | |
Fields
| |
ArrayType | |
Fields
| |
NamedTypeReference Name | |
MetadataType | |
LabelType | |
TokenType |
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
HalfFP
An abbreviation for FloatingPointType
FloatFP
An abbreviation for FloatingPointType
DoubleFP
An abbreviation for FloatingPointType
FP128FP
An abbreviation for FloatingPointType
X86_FP80FP
An abbreviation for FloatingPointType
PPC_FP128FP