aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis/MemoryDependenceAnalysis.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-11-28 21:42:09 +0000
committerChris Lattner <sabre@nondot.org>2008-11-28 21:42:09 +0000
commit8b589fa135d873e683b29ed0918638a79272f5d2 (patch)
tree37aef8aa9dcff1440eda9240e6d33f0a2c543cb0 /include/llvm/Analysis/MemoryDependenceAnalysis.h
parente85866313a551fa3d4e2f118c3bf34e96af36763 (diff)
downloadexternal_llvm-8b589fa135d873e683b29ed0918638a79272f5d2.zip
external_llvm-8b589fa135d873e683b29ed0918638a79272f5d2.tar.gz
external_llvm-8b589fa135d873e683b29ed0918638a79272f5d2.tar.bz2
rename "ping" to "verifyRemoved". I don't know why 'ping' what chosen,
but it doesn't make any sense at all. Also make the method const, private, and fit in 80 cols while we're at it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60215 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/MemoryDependenceAnalysis.h')
-rw-r--r--include/llvm/Analysis/MemoryDependenceAnalysis.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/llvm/Analysis/MemoryDependenceAnalysis.h b/include/llvm/Analysis/MemoryDependenceAnalysis.h
index 17e28fc..ffc6758 100644
--- a/include/llvm/Analysis/MemoryDependenceAnalysis.h
+++ b/include/llvm/Analysis/MemoryDependenceAnalysis.h
@@ -51,8 +51,6 @@ namespace llvm {
reverseDepMapType reverseDepNonLocal;
public:
- void ping(Instruction* D);
-
// Special marker indicating that the query has no dependency
// in the specified block.
static Instruction* const NonLocal;
@@ -104,6 +102,10 @@ namespace llvm {
void dropInstruction(Instruction* drop);
private:
+ /// verifyRemoved - Verify that the specified instruction does not occur
+ /// in our internal data structures.
+ void verifyRemoved(Instruction *Inst) const;
+
Instruction* getCallSiteDependency(CallSite C, Instruction* start,
BasicBlock* block);
void nonLocalHelper(Instruction* query, BasicBlock* block,