1 //===- ValueMapper.h - Interface shared by lib/Transforms/Utils -*- C++ -*-===//
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.
6 //===----------------------------------------------------------------------===//
8 #ifndef LIB_TRANSFORMS_UTILS_VALUE_MAPPER_H
9 #define LIB_TRANSFORMS_UTILS_VALUE_MAPPER_H
14 Value *MapValue(const Value *V, std::map<const Value*, Value*> &VM);