modify the llvm function type to account for the retval attribute