[LoopAccesses] Stash the report from the analysis rather than emitting it
authorAdam Nemet <anemet@apple.com>
Thu, 19 Feb 2015 19:14:56 +0000 (19:14 +0000)
committerAdam Nemet <anemet@apple.com>
Thu, 19 Feb 2015 19:14:56 +0000 (19:14 +0000)
commit7b507eb2a5f37d03aec153244f443de17ea0e9b9
tree3155edfbd105e13f8f28ac32e9d50749131ede3d
parent4b86046b7cd9bab73fb29b81b37f881b8d66d936
[LoopAccesses] Stash the report from the analysis rather than emitting it

The transformation passes will query this and then emit them as part of
their own report.  The currently only user LV is modified to do just
that.

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@229891 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/LoopAccessAnalysis.h
lib/Analysis/LoopAccessAnalysis.cpp
lib/Transforms/Vectorize/LoopVectorize.cpp