This is a function that allows us to create an instruction to access an element of an array or index a pointer.
getGetElementPtr(cons, index = c(0L, 0L), inBounds = FALSE, ctx = getContext(cons))
the object whose element we want
the indices, as a vector of integers or explicitly created LLVM constant objects
whether the index is known to be in-bounds
the context which may be needed to create the LLVM
constants, i.e. if index
are numbers.
LLVM Documentation http://llvm.org/docs/