aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis/MemoryDependenceAnalysis.h
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2007-08-08 21:54:33 +0000
committerOwen Anderson <resistor@mac.com>2007-08-08 21:54:33 +0000
commit49609a5ddfe8a318eb155a9ccaf0464cd54aa3c7 (patch)
treecce98840e9a0efbacba6ad3e47b7103605832043 /include/llvm/Analysis/MemoryDependenceAnalysis.h
parent179463c0d4c20bfb2c6b1e697eed6f16305a201e (diff)
downloadexternal_llvm-49609a5ddfe8a318eb155a9ccaf0464cd54aa3c7.zip
external_llvm-49609a5ddfe8a318eb155a9ccaf0464cd54aa3c7.tar.gz
external_llvm-49609a5ddfe8a318eb155a9ccaf0464cd54aa3c7.tar.bz2
Add one more comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40949 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/MemoryDependenceAnalysis.h')
-rw-r--r--include/llvm/Analysis/MemoryDependenceAnalysis.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Analysis/MemoryDependenceAnalysis.h b/include/llvm/Analysis/MemoryDependenceAnalysis.h
index 409c10b..76425d1 100644
--- a/include/llvm/Analysis/MemoryDependenceAnalysis.h
+++ b/include/llvm/Analysis/MemoryDependenceAnalysis.h
@@ -74,6 +74,9 @@ class MemoryDependenceAnalysis : public FunctionPass {
const Instruction* getDependency(Instruction* query, Instruction* start = 0,
BasicBlock* block = 0);
+ /// getNonLocalDependency - Fills the passed-in map with the non-local
+ /// dependencies of the queries. The map will contain NonLocal for
+ /// blocks between the query and its dependencies.
void getNonLocalDependency(Instruction* query,
DenseMap<BasicBlock*, Value*>& resp);