[LoopDist] Move loop-versioning helper functions to Cloning, NFC
authorAdam Nemet <anemet@apple.com>
Fri, 10 Jul 2015 18:55:09 +0000 (18:55 +0000)
committerAdam Nemet <anemet@apple.com>
Fri, 10 Jul 2015 18:55:09 +0000 (18:55 +0000)
commit8c3eef8b7c1b1a170ed1707b467b8c7b310c7ee5
tree15d64e1509da2ba71617480027c53e2da752ce2c
parent74c23af0065edb138c8a90fc61fcd3b43857453c
[LoopDist] Move loop-versioning helper functions to Cloning, NFC

Summary:
This makes them available to the LoopVersioning class as that is moved
to its own module in the next patch.

Reviewers: ashutosh.nema, hfinkel

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D10576

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241931 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Transforms/Utils/Cloning.h
lib/Transforms/Scalar/LoopDistribute.cpp
lib/Transforms/Utils/CloneFunction.cpp