[llvm-commits] CVS: llvm/lib/Analysis/DataStructure/DataStructureStats.cpp IPModRef.cpp IPModRef.h MemoryDepAnalysis.cpp MemoryDepAnalysis.h PgmDependenceGraph.cpp PgmDependenceGraph.h
Reid Spencer
reid at x10sys.com
Mon Dec 6 20:03:57 PST 2004
Changes in directory llvm/lib/Analysis/DataStructure:
DataStructureStats.cpp updated: 1.14 -> 1.15
IPModRef.cpp updated: 1.27 -> 1.28
IPModRef.h updated: 1.3 -> 1.4
MemoryDepAnalysis.cpp updated: 1.19 -> 1.20
MemoryDepAnalysis.h updated: 1.4 -> 1.5
PgmDependenceGraph.cpp updated: 1.7 -> 1.8
PgmDependenceGraph.h updated: 1.5 -> 1.6
---
Log message:
For PR387: http://llvm.cs.uiuc.edu/PR387 :\
Make only one print method to avoid overloaded virtual warnings when \
compiled with -Woverloaded-virtual
---
Diffs of the changes: (+7 -7)
Index: llvm/lib/Analysis/DataStructure/DataStructureStats.cpp
diff -u llvm/lib/Analysis/DataStructure/DataStructureStats.cpp:1.14 llvm/lib/Analysis/DataStructure/DataStructureStats.cpp:1.15
--- llvm/lib/Analysis/DataStructure/DataStructureStats.cpp:1.14 Wed Sep 1 17:55:35 2004
+++ llvm/lib/Analysis/DataStructure/DataStructureStats.cpp Mon Dec 6 22:03:45 2004
@@ -57,7 +57,7 @@
void visitStore(StoreInst &SI);
/// Debugging support methods
- void print(std::ostream &O) const { }
+ void print(std::ostream &O, const Module* = 0) const { }
};
static RegisterAnalysis<DSGraphStats> Z("dsstats", "DS Graph Statistics");
Index: llvm/lib/Analysis/DataStructure/IPModRef.cpp
diff -u llvm/lib/Analysis/DataStructure/IPModRef.cpp:1.27 llvm/lib/Analysis/DataStructure/IPModRef.cpp:1.28
--- llvm/lib/Analysis/DataStructure/IPModRef.cpp:1.27 Sun Sep 19 23:45:25 2004
+++ llvm/lib/Analysis/DataStructure/IPModRef.cpp Mon Dec 6 22:03:45 2004
@@ -424,7 +424,7 @@
}
-void IPModRef::print(std::ostream &O) const
+void IPModRef::print(std::ostream &O, const Module*) const
{
O << "\nRESULTS OF INTERPROCEDURAL MOD/REF ANALYSIS:\n\n";
Index: llvm/lib/Analysis/DataStructure/IPModRef.h
diff -u llvm/lib/Analysis/DataStructure/IPModRef.h:1.3 llvm/lib/Analysis/DataStructure/IPModRef.h:1.4
--- llvm/lib/Analysis/DataStructure/IPModRef.h:1.3 Sun Sep 19 23:45:25 2004
+++ llvm/lib/Analysis/DataStructure/IPModRef.h Mon Dec 6 22:03:45 2004
@@ -213,7 +213,7 @@
// Debugging support methods
//
- void print(std::ostream &O) const;
+ void print(std::ostream &O, const Module* = 0) const;
void dump() const;
/// releaseMemory - Release memory held by this pass when the pass pipeline is
Index: llvm/lib/Analysis/DataStructure/MemoryDepAnalysis.cpp
diff -u llvm/lib/Analysis/DataStructure/MemoryDepAnalysis.cpp:1.19 llvm/lib/Analysis/DataStructure/MemoryDepAnalysis.cpp:1.20
--- llvm/lib/Analysis/DataStructure/MemoryDepAnalysis.cpp:1.19 Sun Sep 19 23:45:25 2004
+++ llvm/lib/Analysis/DataStructure/MemoryDepAnalysis.cpp Mon Dec 6 22:03:45 2004
@@ -405,7 +405,7 @@
/// Debugging support methods
///
-void MemoryDepAnalysis::print(std::ostream &O) const
+void MemoryDepAnalysis::print(std::ostream &O, const Module*) const
{
// TEMPORARY LOOP
for (hash_map<Function*, DependenceGraph*>::const_iterator
Index: llvm/lib/Analysis/DataStructure/MemoryDepAnalysis.h
diff -u llvm/lib/Analysis/DataStructure/MemoryDepAnalysis.h:1.4 llvm/lib/Analysis/DataStructure/MemoryDepAnalysis.h:1.5
--- llvm/lib/Analysis/DataStructure/MemoryDepAnalysis.h:1.4 Sun Sep 19 23:45:25 2004
+++ llvm/lib/Analysis/DataStructure/MemoryDepAnalysis.h Mon Dec 6 22:03:45 2004
@@ -94,7 +94,7 @@
/// Debugging support methods
///
- void print(std::ostream &O) const;
+ void print(std::ostream &O, const Module* = 0) const;
void dump() const;
};
Index: llvm/lib/Analysis/DataStructure/PgmDependenceGraph.cpp
diff -u llvm/lib/Analysis/DataStructure/PgmDependenceGraph.cpp:1.7 llvm/lib/Analysis/DataStructure/PgmDependenceGraph.cpp:1.8
--- llvm/lib/Analysis/DataStructure/PgmDependenceGraph.cpp:1.7 Sun Jul 4 07:19:55 2004
+++ llvm/lib/Analysis/DataStructure/PgmDependenceGraph.cpp Mon Dec 6 22:03:45 2004
@@ -222,7 +222,7 @@
}
-void PgmDependenceGraph::print(std::ostream &O) const
+void PgmDependenceGraph::print(std::ostream &O, const Module*) const
{
MemoryDepAnalysis& graphSet = getAnalysis<MemoryDepAnalysis>();
Index: llvm/lib/Analysis/DataStructure/PgmDependenceGraph.h
diff -u llvm/lib/Analysis/DataStructure/PgmDependenceGraph.h:1.5 llvm/lib/Analysis/DataStructure/PgmDependenceGraph.h:1.6
--- llvm/lib/Analysis/DataStructure/PgmDependenceGraph.h:1.5 Sun Sep 19 23:45:25 2004
+++ llvm/lib/Analysis/DataStructure/PgmDependenceGraph.h Mon Dec 6 22:03:45 2004
@@ -292,7 +292,7 @@
/// Debugging support methods
///
- void print(std::ostream &O) const;
+ void print(std::ostream &O, const Module* = 0) const;
void dump() const;
};
More information about the llvm-commits
mailing list