23f70588586d5d3eae818c18922f6a0703e26089
[oota-llvm.git] / lib / Transforms / Utils / ValueMapper.h
1 //===- ValueMapper.h - Interface shared by lib/Transforms/Utils -*- C++ -*-===//
2 //
3 // This file defines the MapValue interface which is used by various parts of
4 // the Transforms/Utils library to implement cloning and linking facilities.
5 //
6 //===----------------------------------------------------------------------===//
7
8 #ifndef LIB_TRANSFORMS_UTILS_VALUE_MAPPER_H
9 #define LIB_TRANSFORMS_UTILS_VALUE_MAPPER_H
10
11 #include <map>
12 class Value;
13
14 Value *MapValue(const Value *V, std::map<const Value*, Value*> &VM);
15
16 #endif