[llvm-commits] [llvm] r60637 - /llvm/trunk/include/llvm/Analysis/MemoryDependenceAnalysis.h

Chris Lattner sabre at nondot.org
Sat Dec 6 16:16:50 PST 2008


Author: lattner
Date: Sat Dec  6 18:16:50 2008
New Revision: 60637

URL: http://llvm.org/viewvc/llvm-project?rev=60637&view=rev
Log:
make getDependencyFrom private.

Modified:
    llvm/trunk/include/llvm/Analysis/MemoryDependenceAnalysis.h

Modified: llvm/trunk/include/llvm/Analysis/MemoryDependenceAnalysis.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/MemoryDependenceAnalysis.h?rev=60637&r1=60636&r2=60637&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Analysis/MemoryDependenceAnalysis.h (original)
+++ llvm/trunk/include/llvm/Analysis/MemoryDependenceAnalysis.h Sat Dec  6 18:16:50 2008
@@ -200,16 +200,6 @@
     /// 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 @@
     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;





More information about the llvm-commits mailing list