[memcpyopt] Commit file missed in r319482.
authorDan Gohman <dan433584@gmail.com>
Thu, 30 Nov 2017 22:13:13 +0000 (22:13 +0000)
committerDan Gohman <dan433584@gmail.com>
Thu, 30 Nov 2017 22:13:13 +0000 (22:13 +0000)
This change was meant to be included with r319482 but was accidentally
omitted.

llvm-svn: 319483

llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h

index c297452..391a333 100644 (file)
@@ -407,6 +407,12 @@ public:
   void getNonLocalPointerDependency(Instruction *QueryInst,
                                     SmallVectorImpl<NonLocalDepResult> &Result);
 
+  /// Perform a dependency query specifically for QueryInst's access to Loc.
+  /// The other comments for getNonLocalPointerDependency apply here as well.
+  void getNonLocalPointerDependencyFrom(Instruction *QueryInst,
+                                        const MemoryLocation &Loc, bool isLoad,
+                                        SmallVectorImpl<NonLocalDepResult> &Result);
+
   /// Removes an instruction from the dependence analysis, updating the
   /// dependence of instructions that previously depended on it.
   void removeInstruction(Instruction *InstToRemove);