We populate IslNodeBuilder::ValueMap which contains replacements for
llvm::Values. There was no simple method to pick up a replacement if
it exists, otherwise fall back to the original.
Create a method IslNodeBuilder::getLatestValue which provides this
functionality.
This will be used in the next patch to fix bugs in PPCGCodeGeneration
where the latest value is not being used.
@grosser, @Meinersbur, @singam-sanjay - I wanted some thought on the name.