[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)
commit5c4c262b3c97bfa740d30122aa8d68be4a244d36
tree028547dd1ecf40256ffd19d7565346aa6aed06c8
parent9fdb32eb846c9dff55a9f12d186de9e77abe37b9
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229895 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/LoopAccessAnalysis.h
lib/Analysis/LoopAccessAnalysis.cpp