diff options
Diffstat (limited to 'include/llvm/Metadata.h')
-rw-r--r-- | include/llvm/Metadata.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Metadata.h b/include/llvm/Metadata.h index dd79ac0..63c2da2 100644 --- a/include/llvm/Metadata.h +++ b/include/llvm/Metadata.h @@ -351,6 +351,10 @@ public: /// removeMDs - Remove all metadata attached with an instruction. void removeMDs(const Instruction *Inst); + /// copyMD - If metadata is attached with Instruction In1 then attach + /// the same metadata to In2. + void copyMD(Instruction *In1, Instruction *In2); + /// getHandlerNames - Get handler names. This is used by bitcode /// writer. const StringMap<unsigned> *getHandlerNames(); |