This uses LLVMBuildCall2 in the background, which is the replacement for the deprecated LLVMBuildCall function.
This moves the transformation pass to the right location, and adds tests to see that it actually works correctly.