This patch seeks to swap the getTargetEntryUniqueInfo
function to the shared OMPIRBuilder function.
As well as fix an issue with getting the targetEntryUniqueInfo
when mlir-translate's --split-input-file is used and target op's
are used within the file. Essentially filename has some extra
prefix and suffix information that needs to be filtered out to
get the "cannonical" filename.
We wouldn't want to do something like this. Could you provide some more info or a reproducer for this issue?