aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 409c10b01d..76425d12be 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);