Add support for finding the dependencies of call and invoke instructions.