Transform function that renames an instruction node based on a mapping.
The node to transform
Object mapping old instruction names to new instruction names
The transformed instruction node
Transform function that renames an instruction node based on a mapping.