[LoopAccesses] Add canAnalyzeLoop
authorAdam Nemet <anemet@apple.com>
Wed, 18 Feb 2015 03:44:08 +0000 (03:44 +0000)
committerAdam Nemet <anemet@apple.com>
Wed, 18 Feb 2015 03:44:08 +0000 (03:44 +0000)
commit4166c7ff595d087692953993a2f44c52d75c4540
tree51c947f51995c3aef9252198b7166020be66fc93
parent0cbfb71d7b937da14f365efc371b5c23dfce06bc
[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@229630 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/LoopAccessAnalysis.h
lib/Analysis/LoopAccessAnalysis.cpp