Expand description
A type is a classification which determines how data is used.
Structs
- An
ArrayTypeis the type of contiguous constants or variables. - Iterate over all
BasicTypeEnums in a struct. - A
FloatTypeis the type of a floating point constant or variable. - A
FunctionTypeis the type of a function variable. - An
IntTypeis the type of an integer constant or variable. - A
MetadataTypeis the type of a metadata. - A
PointerTypeis the type of a pointer constant or variable. - A
StructTypeis the type of a heterogeneous container of types. - A
VectorTypeis the type of a multiple value SIMD constant or variable. - A
VoidTypeis a special type with no possible direct instances. It’s only useful as a function return type. 
Enums
- A wrapper for any
BasicType,VoidType, orFunctionType. - A wrapper for any
BasicType. - How to interpret a string or digits used to construct an integer constant.
 
Traits
- Represents any LLVM type.
 - Accessor to the inner LLVM type reference
 - Represents a basic LLVM type, that may be used in functions and struct definitions.
 - Represents an LLVM type that can have floating point math operations applied to it.
 - Represents an LLVM type that can have integer math operations applied to it.
 - Represents an LLVM type that can have pointer operations applied to it.