[LoopAccesses] Add canAnalyzeLoop
authorAdam Nemet <anemet@apple.com>
Thu, 19 Feb 2015 19:15:10 +0000 (19:15 +0000)
committerAdam Nemet <anemet@apple.com>
Thu, 19 Feb 2015 19:15:10 +0000 (19:15 +0000)
commit929c38e8ffbb77e82c2c59bb6fc1045a01224766
tree80bd545073d92161fcb565d37678a05d4c1c6103
parent339f42b3960485d8b568ff4c54acfe1abeba4ec6
[LoopAccesses] Add canAnalyzeLoop

This allows the analysis to be attempted with any loop.  This feature
will be used with -analysis.  (LV only requests the analysis on loops
that have already satisfied these tests.)

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

llvm-svn: 229895
llvm/include/llvm/Analysis/LoopAccessAnalysis.h
llvm/lib/Analysis/LoopAccessAnalysis.cpp