diff options
author | Chris Lattner <sabre@nondot.org> | 2008-12-07 00:35:51 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-12-07 00:35:51 +0000 |
commit | 8ef57c5faf77890828ac439482420646b2a0beb8 (patch) | |
tree | 2c5dd93f75c5ecb94774cf0a46032a6c6290251c /include | |
parent | 745291a6ce841f30a8a9e536071bd1b4cf540c55 (diff) | |
download | llvm-8ef57c5faf77890828ac439482420646b2a0beb8.tar.gz llvm-8ef57c5faf77890828ac439482420646b2a0beb8.tar.bz2 llvm-8ef57c5faf77890828ac439482420646b2a0beb8.tar.xz |
Rename getCallSiteDependency -> getCallSiteDependencyFrom to
emphasize the scanning and make it more similar to
getDependencyFrom
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60642 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Analysis/MemoryDependenceAnalysis.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/llvm/Analysis/MemoryDependenceAnalysis.h b/include/llvm/Analysis/MemoryDependenceAnalysis.h index 00c3755ca6..e61a431200 100644 --- a/include/llvm/Analysis/MemoryDependenceAnalysis.h +++ b/include/llvm/Analysis/MemoryDependenceAnalysis.h @@ -223,18 +223,16 @@ namespace llvm { /// getDependencyFrom - Return the instruction on which the memory operation /// 'QueryInst' depends. This starts scanning from the instruction before /// the position indicated by ScanIt. - /// - /// Note that this method does no caching at all. You should use - /// getDependency where possible. MemDepResult getDependencyFrom(Instruction *QueryInst, BasicBlock::iterator ScanIt, BasicBlock *BB); + MemDepResult getCallSiteDependencyFrom(CallSite C, + BasicBlock::iterator ScanIt, + BasicBlock *BB); /// verifyRemoved - Verify that the specified instruction does not occur /// in our internal data structures. void verifyRemoved(Instruction *Inst) const; - MemDepResult getCallSiteDependency(CallSite C, BasicBlock::iterator ScanIt, - BasicBlock *BB); }; } // End llvm namespace |