diff options
author | Duncan Sands <baldrick@free.fr> | 2012-04-16 13:44:35 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2012-04-16 13:44:35 +0000 |
commit | 0b36bb37d0616bd805e888e8f6bed3ed780d3071 (patch) | |
tree | 4bf9fedd311c7188b389effa827358bed1df2971 /include | |
parent | e773e8c3e53aadb6e861316e4db88d63a0226b2f (diff) | |
download | external_llvm-0b36bb37d0616bd805e888e8f6bed3ed780d3071.zip external_llvm-0b36bb37d0616bd805e888e8f6bed3ed780d3071.tar.gz external_llvm-0b36bb37d0616bd805e888e8f6bed3ed780d3071.tar.bz2 |
Remove the methods for attaching metadata to instructions/retrieving metadata
from instructions. Chandler doesn't like them being here.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154813 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Support/MDBuilder.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/include/llvm/Support/MDBuilder.h b/include/llvm/Support/MDBuilder.h index 72b2c67..022e8e3 100644 --- a/include/llvm/Support/MDBuilder.h +++ b/include/llvm/Support/MDBuilder.h @@ -17,7 +17,6 @@ #include "llvm/Constants.h" #include "llvm/DerivedTypes.h" -#include "llvm/Instructions.h" #include "llvm/LLVMContext.h" #include "llvm/Metadata.h" #include "llvm/ADT/APInt.h" @@ -52,16 +51,6 @@ namespace llvm { return MDNode::get(Context, Range); } - /// GetRangeMetadata - Get range metadata attached to an instruction. - MDNode *GetRangeMetadata(Instruction *I) const { - return I->getMetadata(LLVMContext::MD_range); - } - - /// SetRangeMetadata - Attach range metadata to an instruction. - void SetRangeMetadata(Instruction *I, MDNode *RangeTag) { - I->setMetadata(LLVMContext::MD_range, RangeTag); - } - //===------------------------------------------------------------------===// // TBAA metadata. @@ -106,16 +95,6 @@ namespace llvm { } } - /// GetTBAAMetadata - Get tbaa metadata attached to an instruction. - MDNode *GetTBAAMetadata(Instruction *I) const { - return I->getMetadata(LLVMContext::MD_tbaa); - } - - /// SetTBAAMetadata - Attach tbaa metadata to an instruction. - void SetTBAAMetadata(Instruction *I, MDNode *TBAATag) { - I->setMetadata(LLVMContext::MD_tbaa, TBAATag); - } - }; } // end namespace llvm |