[LoopAccesses] Split out LoopAccessReport from VectorizerReport
authorAdam Nemet <anemet@apple.com>
Wed, 18 Feb 2015 03:44:25 +0000 (03:44 +0000)
committerAdam Nemet <anemet@apple.com>
Wed, 18 Feb 2015 03:44:25 +0000 (03:44 +0000)
commitc548c640bc201ceeb45f3cb8c1371bd5583128f7
treee06104382dfdf129f05cddc7cfdc27b2a739d733
parent69c9697fa7da77feec29aef669df5a9fa7f388a4
[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@229632 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/LoopAccessAnalysis.h
lib/Analysis/LoopAccessAnalysis.cpp
lib/Transforms/Vectorize/LoopVectorize.cpp