Factor out redundancy from clone() implementations.
authorDevang Patel <dpatel@apple.com>
Tue, 27 Oct 2009 22:16:29 +0000 (22:16 +0000)
committerDevang Patel <dpatel@apple.com>
Tue, 27 Oct 2009 22:16:29 +0000 (22:16 +0000)
commit50b6e33584f4e4cf75c7795b1f1a90731861c825
tree1ae76dc6ddfc8b31bfd97e7f273756780cb7cdb4
parenteef55dc3fdebf915128e5d3848f372c7db6c38e8
Factor out redundancy from clone() implementations.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85327 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/InstrTypes.h
include/llvm/Instruction.h
include/llvm/Instructions.h
lib/Transforms/Scalar/IndVarSimplify.cpp
lib/Transforms/Utils/BasicBlockUtils.cpp
lib/VMCore/Instruction.cpp
lib/VMCore/Instructions.cpp
unittests/Transforms/Utils/Cloning.cpp