Wyvern.Type (wyvern v1.0.4)

Copy Markdown

Represents an LLVM type e.g. :integer, :pointer

Summary

Types

t()

We declare t at the end to ensure we pick up our module definitions.

Types

t()

We declare t at the end to ensure we pick up our module definitions.

Functions

array(type, len)

bfloat()

char()

double()

field_type(type, index_list)

For struct and array types returns the inner type at the given index.

float()

float?(arg1)

float_width(arg1)

fp128()

function(ret_type, params, var_args \\ false)

half()

i1()

i8()

i16()

i32()

i64()

i128()

integer?(arg1)

is_struct?(arg1)

min_width_type(n)

named_struct(name, fields, opts \\ [])

ppc_fp128()

ptr()

ptr?(arg1)

struct(fields, opts \\ [])

void()

void?(arg1)

x86_fp80()