blob: e67b3261dba85da0f08c1f3aaee978a2c9c994b2 [file] [log] [blame]
Chris Lattner51cbcbf2002-11-20 20:47:41 +00001//===- ValueMapper.h - Interface shared by lib/Transforms/Utils -*- C++ -*-===//
John Criswell856ba762003-10-21 15:17:13 +00002//
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//===----------------------------------------------------------------------===//
Chris Lattner51cbcbf2002-11-20 20:47:41 +00009//
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>
Brian Gaeked0fde302003-11-11 22:41:34 +000019
20namespace llvm {
21
Chris Lattner51cbcbf2002-11-20 20:47:41 +000022class Value;
23
24Value *MapValue(const Value *V, std::map<const Value*, Value*> &VM);
25
Brian Gaeked0fde302003-11-11 22:41:34 +000026} // End llvm namespace
27
Chris Lattner51cbcbf2002-11-20 20:47:41 +000028#endif