Expand description
A type is a classification which determines how data is used.
Structs§
- Array
Type - An
ArrayTypeis the type of contiguous constants or variables. - Field
Types Iter - Iterate over all
BasicTypeEnums in a struct. - Float
Type - A
FloatTypeis the type of a floating point constant or variable. - Function
Type - A
FunctionTypeis the type of a function variable. - IntType
- An
IntTypeis the type of an integer constant or variable. - Metadata
Type - A
MetadataTypeis the type of a metadata. - Pointer
Type - A
PointerTypeis the type of a pointer constant or variable. - Scalable
Vector Type - A
ScalableVectorTypeis the type of a scalable multiple value SIMD constant or variable. - Struct
Type - A
StructTypeis the type of a heterogeneous container of types. - Vector
Type - A
VectorTypeis the type of a multiple value SIMD constant or variable. - Void
Type - A
VoidTypeis 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.