diff options
author | Chris Lattner <sabre@nondot.org> | 2009-12-29 07:44:16 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-12-29 07:44:16 +0000 |
commit | 508b19a5a41a4b82be4ae71e6ea5c691bea99b96 (patch) | |
tree | 1afdfc812176be8e7b7ab4cc913b3e2c22d1a7d6 /include/llvm | |
parent | 7f29dfd75c1503a863a6ffa422728e10de1c6338 (diff) | |
download | llvm-508b19a5a41a4b82be4ae71e6ea5c691bea99b96.tar.gz llvm-508b19a5a41a4b82be4ae71e6ea5c691bea99b96.tar.bz2 llvm-508b19a5a41a4b82be4ae71e6ea5c691bea99b96.tar.xz |
remove some unneeded Metadata interfaces.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92252 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/Instruction.h | 1 | ||||
-rw-r--r-- | include/llvm/Metadata.h | 8 |
2 files changed, 1 insertions, 8 deletions
diff --git a/include/llvm/Instruction.h b/include/llvm/Instruction.h index b5d5510d7c..d7161cf3f2 100644 --- a/include/llvm/Instruction.h +++ b/include/llvm/Instruction.h @@ -160,6 +160,7 @@ private: MDNode *getMetadataImpl(unsigned KindID) const; MDNode *getMetadataImpl(const char *Kind) const; void getAllMetadataImpl(SmallVectorImpl<std::pair<unsigned,MDNode*> > &)const; + void removeAllMetadata(); public: //===--------------------------------------------------------------------===// // Predicates and helper methods. diff --git a/include/llvm/Metadata.h b/include/llvm/Metadata.h index 1f185369a8..f45bdb50d8 100644 --- a/include/llvm/Metadata.h +++ b/include/llvm/Metadata.h @@ -231,14 +231,6 @@ public: /// getMDKindNames - Populate client supplied SmallVector with the name for /// each custom metadata ID. ID #0 is not used, so it is filled in as empty. void getMDKindNames(SmallVectorImpl<StringRef> &) const; - - /// ValueIsDeleted - This handler is used to update metadata store - /// when a value is deleted. - void ValueIsDeleted(Instruction *Inst); - - /// ValueIsCloned - This handler is used to update metadata store - /// when In1 is cloned to create In2. - void ValueIsCloned(const Instruction *In1, Instruction *In2); }; } // end llvm namespace |