Expand description
A type is a classification which determines how data is used.
Structs§
- Array
Type - An
ArrayType
is the type of contiguous constants or variables. - Field
Types Iter - Iterate over all
BasicTypeEnum
s in a struct. - Float
Type - A
FloatType
is the type of a floating point constant or variable. - Function
Type - A
FunctionType
is the type of a function variable. - IntType
- An
IntType
is the type of an integer constant or variable. - Metadata
Type - A
MetadataType
is the type of a metadata. - Pointer
Type - A
PointerType
is the type of a pointer constant or variable. - Scalable
Vector Type - A
ScalableVectorType
is the type of a scalable multiple value SIMD constant or variable. - Struct
Type - A
StructType
is the type of a heterogeneous container of types. - Vector
Type - A
VectorType
is the type of a multiple value SIMD constant or variable. - Void
Type - A
VoidType
is a special type with no possible direct instances. It’s only useful as a function return type.
Enums§
- AnyType
Enum - A wrapper for any
BasicType
,VoidType
, orFunctionType
. - Basic
Metadata Type Enum - Basic
Type Enum - A wrapper for any
BasicType
. - String
Radix - How to interpret a string or digits used to construct an integer constant.
Traits§
- AnyType
- Represents any LLVM type.
- AsType
Ref - Accessor to the inner LLVM type reference
- Basic
Type - Represents a basic LLVM type, that may be used in functions and struct definitions.
- Float
Math Type - Represents an LLVM type that can have floating point math operations applied to it.
- IntMath
Type - Represents an LLVM type that can have integer math operations applied to it.
- Pointer
Math Type - Represents an LLVM type that can have pointer operations applied to it.