aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Support/MDBuilder.h21
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