[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)
commit2bd6e984ef50574e832caec19135043f325356d0
treeadbfab28f621cda30710d47bf8c69f7406ade809
parent3e87634fd835cc809c19c5313c208b8e87bdf8a0
[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.

llvm-svn: 229897
llvm/include/llvm/Analysis/LoopAccessAnalysis.h
llvm/lib/Analysis/LoopAccessAnalysis.cpp
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp