[flow] IR Value: adds helper method to replace all uses of a given value.
TODO update
cleanup