These functions allow us to determine if an object representing an LLVM type has particular characteristics or such as being a pointer type or an array.
sameType
determines if two LLVM types are the same,
ignoring any R structure and classes.
sameType(a, b)
isArrayType(type)
isDoubleType(type)
isFloatType(type)
isFP128Type(type)
isFunctionType(type)
isIntegerType(type)
isLabelType(type)
isMetadataType(type)
isOpaqueType(type)
isPointerType(type)
isPPC_FP128Type(type)
isStructType(type)
isVectorType(type)
isVoidType(type)
isX86_FP80Type(type)
isStringType(ty, asIs = FALSE)
the type object, inheriting from them class Type
the two Type objects to be compared.
a logical value that controls whether we go through the
different combinations of looking at the ref
slot of each and
compare external pointers within S4 objects
a logical value indicating whether the type is consistent with the queried type given in the name of the function.