ValueMapper: Introduce Mapper helper class, NFC

Remove a bunch of boilerplate from ValueMapper.cpp by using a new
file-local class called Mapper.

llvm-svn: 265268
GitOrigin-RevId: 829dc87a68ca4cc630304c51dbd6be385fd6fb08
1 file changed