Chris Lattner | 51cbcbf | 2002-11-20 20:47:41 +0000 | [diff] [blame] | 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 |