aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-12-07 00:16:50 +0000
committerChris Lattner <sabre@nondot.org>2008-12-07 00:16:50 +0000
commitaea5a2a22ad5fa030bb77899f79d9aa27a8b6a88 (patch)
tree1f82f9e395637e84065cab4dcc1a75a58e968fc3
parent630c99fd21cb27d955b43db250de36393e514ba4 (diff)
make getDependencyFrom private.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60637 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Analysis/MemoryDependenceAnalysis.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/include/llvm/Analysis/MemoryDependenceAnalysis.h b/include/llvm/Analysis/MemoryDependenceAnalysis.h
index c30a85266d..00c3755ca6 100644
--- a/include/llvm/Analysis/MemoryDependenceAnalysis.h
+++ b/include/llvm/Analysis/MemoryDependenceAnalysis.h
@@ -200,16 +200,6 @@ namespace llvm {
/// this on non-memory instructions.
MemDepResult getDependency(Instruction *QueryInst);
- /// 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);
-
-
/// getNonLocalDependency - Perform a full dependency query for the
/// specified instruction, returning the set of blocks that the value is
/// potentially live across. The returned set of results will include a
@@ -229,6 +219,16 @@ namespace llvm {
void removeInstruction(Instruction *InstToRemove);
private:
+
+ /// 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);
+
/// verifyRemoved - Verify that the specified instruction does not occur
/// in our internal data structures.
void verifyRemoved(Instruction *Inst) const;