Module types

Source
Expand description

Provides functions that return LLVM types in the global context

Functionsยง

create_named_struct
Create a named struct type
ty_array
A array type with a certain number of elements
ty_double
The double type
ty_float
The float type
ty_fp128
The fp128 type
ty_half
The half type
ty_i
An integer type with any number of bits
ty_i1
The i1 type
ty_i8
The i8 type
ty_i16
The i16 type
ty_i32
The i32 type
ty_i64
The i64 type
ty_i128
The i128 type
ty_isize
The isize type for a given data layout
ty_struct
A struct type with the given elements
ty_void
The void type