[LoopVectorize] Extract InductionInfo into a helper class...
authorJames Molloy <james.molloy@arm.com>
Thu, 27 Aug 2015 09:53:00 +0000 (09:53 +0000)
committerJames Molloy <james.molloy@arm.com>
Thu, 27 Aug 2015 09:53:00 +0000 (09:53 +0000)
commit18671a3a8f128ec934fb0345ba6a1960ed78196c
treed1ef8aea523898d00c54d6b2d2deeb0f2043bdf1
parentc20a7982e0e8adff4d22cba8102c7021fa566ea5
[LoopVectorize] Extract InductionInfo into a helper class...

... and move it into LoopUtils where it can be used by other passes, just like ReductionDescriptor. The API is very similar to ReductionDescriptor - that is, not very nice at all. Sorting these both out will come in a followup.

NFC

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246145 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Transforms/Utils/LoopUtils.h
lib/Transforms/Scalar/LoopInterchange.cpp
lib/Transforms/Utils/LoopUtils.cpp
lib/Transforms/Vectorize/LoopVectorize.cpp