aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/ValueMapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Transforms/Utils/ValueMapper.h')
-rw-r--r--lib/Transforms/Utils/ValueMapper.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/Transforms/Utils/ValueMapper.h b/lib/Transforms/Utils/ValueMapper.h
index 941a8b3c5d..a0ad5c3600 100644
--- a/lib/Transforms/Utils/ValueMapper.h
+++ b/lib/Transforms/Utils/ValueMapper.h
@@ -12,14 +12,18 @@
//
//===----------------------------------------------------------------------===//
-#ifndef LIB_TRANSFORMS_UTILS_VALUE_MAPPER_H
-#define LIB_TRANSFORMS_UTILS_VALUE_MAPPER_H
+#ifndef VALUEMAPPER_H
+#define VALUEMAPPER_H
#include <map>
namespace llvm {
class Value;
- Value *MapValue(const Value *V, std::map<const Value*, Value*> &VM);
+ class Instruction;
+ typedef std::map<const Value *, Value *> ValueMapTy;
+
+ Value *MapValue(const Value *V, ValueMapTy &VM);
+ void RemapInstruction(Instruction *I, ValueMapTy &VM);
} // End llvm namespace
#endif