[LoopAccesses] Split out LoopAccessReport from VectorizerReport
authorAdam Nemet <anemet@apple.com>
Thu, 19 Feb 2015 19:15:15 +0000 (19:15 +0000)
committerAdam Nemet <anemet@apple.com>
Thu, 19 Feb 2015 19:15:15 +0000 (19:15 +0000)
commit4db669fb26764b55bd9c0b8b2c2b917b135efe24
tree2ef744026bb4e7dfa967313989fb1d0325800751
parent7d39ae845d28ce36087b5b431e0f27960d2b8d19
[LoopAccesses] Split out LoopAccessReport from VectorizerReport

The only difference between these two is that VectorizerReport adds a
vectorizer-specific prefix to its messages.  When LAA is used in the
vectorizer context the prefix is added when we promote the
LoopAccessReport into a VectorizerReport via one of the constructors.

This is part of the patchset that converts LoopAccessAnalysis into an
actual analysis pass.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229897 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/LoopAccessAnalysis.h
lib/Analysis/LoopAccessAnalysis.cpp
lib/Transforms/Vectorize/LoopVectorize.cpp