These are some of the functions that work with LLVM Type descriptions.
arrayType(elType, num)
getIntegerBitWidth(x, ...)functionType(returnType, argTypes, varArgs = FALSE)
the type, an Integer type for getIntegerBitWidth.
the type of the element
the number of elements in the array
additional parameters for methds
the type for the return value of the function/routine type
a list of types for the parameters of the function/routine type
a logical value indicating if the function/routine type has a variable number of arguments, i.e. …
LLVM Documentation