[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)
commitc922853b931869e9c76ed06395add273c3af102a
tree2b99c017a8502e4dd53ffe4747f5880c6b4f49f9
parentf219c6472355e0b5d207281e1fb19031c90998d2
[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.

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