Combine the metadata of two instructions so that K can replace J. This specifically handles the case of CSE-like transformations. Some metadata can only be kept if K dominates J. For this to be correct, K cannot be hoisted.
Declared in <llvm/Transforms/Utils/Local.h>
void
combineMetadataForCSE(
Instruction* K,
Instruction const* J,
bool DoesKMove);
Unknown metadata is removed.