Clarify the logic: the flag is renamed to `deleteFn' to signify it will delete
[oota-llvm.git] / lib / Transforms / Utils / ValueMapper.h
1 //===- ValueMapper.h - Interface shared by lib/Transforms/Utils -*- C++ -*-===//
2 // 
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file was developed by the LLVM research group and is distributed under
6 // the University of Illinois Open Source License. See LICENSE.TXT for details.
7 // 
8 //===----------------------------------------------------------------------===//
9 //
10 // This file defines the MapValue interface which is used by various parts of
11 // the Transforms/Utils library to implement cloning and linking facilities.
12 //
13 //===----------------------------------------------------------------------===//
14
15 #ifndef LIB_TRANSFORMS_UTILS_VALUE_MAPPER_H
16 #define LIB_TRANSFORMS_UTILS_VALUE_MAPPER_H
17
18 #include <map>
19
20 namespace llvm {
21   class Value;
22   Value *MapValue(const Value *V, std::map<const Value*, Value*> &VM);
23 } // End llvm namespace
24
25 #endif