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 | f17ab7f1e47fc16d61cca0ef423138bea314772d (patch) | |
tree | abfbd21076958810380c56d319b5279c86bb1819 /include | |
parent | b88ee9116a2bff4681bad50a90ae3255e78afaab (diff) | |
download | external_llvm-f17ab7f1e47fc16d61cca0ef423138bea314772d.zip external_llvm-f17ab7f1e47fc16d61cca0ef423138bea314772d.tar.gz external_llvm-f17ab7f1e47fc16d61cca0ef423138bea314772d.tar.bz2 |
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')
-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 0c3dade..bde426b 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; |