[LV] Move InterleaveGroup and InterleavedAccessInfo to VectorUtils.h (NFC)
authorFlorian Hahn <florian.hahn@arm.com>
Wed, 12 Sep 2018 08:01:57 +0000 (08:01 +0000)
committerFlorian Hahn <florian.hahn@arm.com>
Wed, 12 Sep 2018 08:01:57 +0000 (08:01 +0000)
commit1086ce2397e0c954855ae96edbd864934a09a92b
tree6e2dd29a342b387af302dc543af9cdf6cf28303a
parent73c201da51505c8598625918f0f0cf8b315360da
[LV] Move InterleaveGroup and InterleavedAccessInfo to VectorUtils.h (NFC)

Move the 2 classes out of LoopVectorize.cpp to make it easier to re-use
them for VPlan outside LoopVectorize.cpp

Reviewers: Ayal, mssimpso, rengolin, dcaballe, mkuper, hsaito, hfinkel, xbolva00

Reviewed By: rengolin, xbolva00

Differential Revision: https://reviews.llvm.org/D49488

llvm-svn: 342027
llvm/include/llvm/Analysis/VectorUtils.h
llvm/include/llvm/IR/Instructions.h
llvm/lib/Analysis/VectorUtils.cpp
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/test/Transforms/LoopVectorize/SystemZ/mem-interleaving-costs.ll