Handle transformed static calls to reflect the original call

This technique is similar to LLVM transforms for static function calls