Module inkwell::types

source ·
Expand description

A type is a classification which determines how data is used.

Structs

  • An ArrayType is the type of contiguous constants or variables.
  • Iterate over all BasicTypeEnums in a struct.
  • A FloatType is the type of a floating point constant or variable.
  • A FunctionType is the type of a function variable.
  • An IntType is the type of an integer constant or variable.
  • A MetadataType is the type of a metadata.
  • A PointerType is the type of a pointer constant or variable.
  • A StructType is the type of a heterogeneous container of types.
  • A VectorType is the type of a multiple value SIMD constant or variable.
  • A VoidType is a special type with no possible direct instances. It’s only useful as a function return type.

Enums

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.