aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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);