blob: 23f70588586d5d3eae818c18922f6a0703e26089 [file] [log] [blame]
Chris Lattner51cbcbf2002-11-20 20:47:41 +00001//===- 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>
12class Value;
13
14Value *MapValue(const Value *V, std::map<const Value*, Value*> &VM);
15
16#endif