Move RemapInstruction() to ValueMapper, so that it can be shared with
authorBrian Gaeke <gaeke@uiuc.edu>
Wed, 19 May 2004 09:08:12 +0000 (09:08 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Wed, 19 May 2004 09:08:12 +0000 (09:08 +0000)
commit6129af3fb14d1050f9fb4800c787e6f930b910d1
treec602968fe8e371e6c15618e06aadcde90269002b
parenta4c6c522ee029e97aedccb6ee7cca912d52a5599
Move RemapInstruction() to ValueMapper, so that it can be shared with
CloneTrace, and because it is primarily an operation on ValueMaps.  It
is now a global (non-static) function which can be pulled in using
ValueMapper.h.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13600 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/CloneFunction.cpp
lib/Transforms/Utils/ValueMapper.cpp
lib/Transforms/Utils/ValueMapper.h