From: Dan Gohman Date: Thu, 30 Nov 2017 22:13:13 +0000 (+0000) Subject: [memcpyopt] Commit file missed in r319482. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c5a00e0fac46bca7fb3a2667af19671d0d4b0e0e;p=llvm [memcpyopt] Commit file missed in r319482. This change was meant to be included with r319482 but was accidentally omitted. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319483 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Analysis/MemoryDependenceAnalysis.h b/include/llvm/Analysis/MemoryDependenceAnalysis.h index c2974525a6f..391a333594e 100644 --- a/include/llvm/Analysis/MemoryDependenceAnalysis.h +++ b/include/llvm/Analysis/MemoryDependenceAnalysis.h @@ -407,6 +407,12 @@ public: void getNonLocalPointerDependency(Instruction *QueryInst, SmallVectorImpl &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 &Result); + /// Removes an instruction from the dependence analysis, updating the /// dependence of instructions that previously depended on it. void removeInstruction(Instruction *InstToRemove);