summaryrefslogtreecommitdiff
path: root/include/llvm/IR/GVMaterializer.h
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2016-07-23 20:41:05 +0000
committerDimitry Andric <dim@FreeBSD.org>2016-07-23 20:41:05 +0000
commit01095a5d43bbfde13731688ddcf6048ebb8b7721 (patch)
tree4def12e759965de927d963ac65840d663ef9d1ea /include/llvm/IR/GVMaterializer.h
parentf0f4822ed4b66e3579e92a89f368f8fb860e218e (diff)
Diffstat (limited to 'include/llvm/IR/GVMaterializer.h')
-rw-r--r--include/llvm/IR/GVMaterializer.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/llvm/IR/GVMaterializer.h b/include/llvm/IR/GVMaterializer.h
index 6cb593c7a3dab..9e47722c892b5 100644
--- a/include/llvm/IR/GVMaterializer.h
+++ b/include/llvm/IR/GVMaterializer.h
@@ -18,14 +18,12 @@
#ifndef LLVM_IR_GVMATERIALIZER_H
#define LLVM_IR_GVMATERIALIZER_H
-#include "llvm/ADT/DenseMap.h"
#include <system_error>
#include <vector>
namespace llvm {
class Function;
class GlobalValue;
-class Metadata;
class Module;
class StructType;
@@ -47,14 +45,6 @@ public:
virtual std::error_code materializeMetadata() = 0;
virtual void setStripDebugInfo() = 0;
- /// Client should define this interface if the mapping between metadata
- /// values and value ids needs to be preserved, e.g. across materializer
- /// instantiations. If OnlyTempMD is true, only those that have remained
- /// temporary metadata are recorded in the map.
- virtual void
- saveMetadataList(DenseMap<const Metadata *, unsigned> &MetadataToIDs,
- bool OnlyTempMD) {}
-
virtual std::vector<StructType *> getIdentifiedStructTypes() const = 0;
};