Add method for replacing instructions to LibCallSimplifier