implementing LLVM-CALL