diff options
| author | Andreas Bolka <a@bolka.at> | 2009-06-28 00:21:21 +0000 |
|---|---|---|
| committer | Andreas Bolka <a@bolka.at> | 2009-06-28 00:21:21 +0000 |
| commit | f35626d3cda3af2f445a04322253a0d9dca607db (patch) | |
| tree | abfbd21076958810380c56d319b5279c86bb1819 /include/llvm/Analysis | |
| parent | 707207adaed969c32a09ae873ac5a171b3744617 (diff) | |
Minimal LDA interface, maximally conservative tester.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74401 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis')
| -rw-r--r-- | include/llvm/Analysis/LoopDependenceAnalysis.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/Analysis/LoopDependenceAnalysis.h b/include/llvm/Analysis/LoopDependenceAnalysis.h index 0c3dadea75..bde426ba9a 100644 --- a/include/llvm/Analysis/LoopDependenceAnalysis.h +++ b/include/llvm/Analysis/LoopDependenceAnalysis.h @@ -28,6 +28,7 @@ namespace llvm { class AnalysisUsage; class ScalarEvolution; + class Value; class LoopDependenceAnalysis : public LoopPass { Loop *L; @@ -37,6 +38,10 @@ namespace llvm { static char ID; // Class identification, replacement for typeinfo LoopDependenceAnalysis() : LoopPass(&ID) {} + /// TODO: docs + bool isDependencePair(const Value*, const Value*) const; + bool depends(Value*, Value*); + bool runOnLoop(Loop*, LPPassManager&); virtual void getAnalysisUsage(AnalysisUsage&) const; |
