Merge DIAssignID metadata from this instruction and SourceInstructions.

Synopsis

Declared in <llvm/IR/Instruction.h>

void
mergeDIAssignID(ArrayRef<Instruction const*> SourceInstructions);

Description

This process performs a RAUW on the MetadataAsValue uses of the merged DIAssignID nodes. Not every instruction in SourceInstructions needs to have DIAssignID metadata. If none of them do then nothing happens. If this instruction does not have a DIAssignID attachment but at least one in SourceInstructions does then the merged one will be attached to it. However, instructions without attachments in SourceInstructions are not modified.

Parameters

Name

Description

SourceInstructions

Instructions whose DIAssignID metadata is merged.

Created with MrDocs