[llvm-commits] CVS: llvm/lib/Analysis/DataStructure/DataStructureStats.cpp GraphChecker.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Oct 23 17:38:49 PDT 2005
Changes in directory llvm/lib/Analysis/DataStructure:
DataStructureStats.cpp updated: 1.18 -> 1.19
GraphChecker.cpp updated: 1.18 -> 1.19
---
Log message:
implement some prototypes
---
Diffs of the changes: (+10 -0)
DataStructureStats.cpp | 5 +++++
GraphChecker.cpp | 5 +++++
2 files changed, 10 insertions(+)
Index: llvm/lib/Analysis/DataStructure/DataStructureStats.cpp
diff -u llvm/lib/Analysis/DataStructure/DataStructureStats.cpp:1.18 llvm/lib/Analysis/DataStructure/DataStructureStats.cpp:1.19
--- llvm/lib/Analysis/DataStructure/DataStructureStats.cpp:1.18 Thu Apr 21 16:07:28 2005
+++ llvm/lib/Analysis/DataStructure/DataStructureStats.cpp Sun Oct 23 19:38:38 2005
@@ -63,6 +63,11 @@
static RegisterAnalysis<DSGraphStats> Z("dsstats", "DS Graph Statistics");
}
+FunctionPass *llvm::createDataStructureStatsPass() {
+ return new DSGraphStats();
+}
+
+
static bool isIndirectCallee(Value *V) {
if (isa<Function>(V)) return false;
Index: llvm/lib/Analysis/DataStructure/GraphChecker.cpp
diff -u llvm/lib/Analysis/DataStructure/GraphChecker.cpp:1.18 llvm/lib/Analysis/DataStructure/GraphChecker.cpp:1.19
--- llvm/lib/Analysis/DataStructure/GraphChecker.cpp:1.18 Thu Apr 21 16:07:28 2005
+++ llvm/lib/Analysis/DataStructure/GraphChecker.cpp Sun Oct 23 19:38:38 2005
@@ -77,6 +77,11 @@
RegisterAnalysis<DSGC> X("datastructure-gc", "DSA Graph Checking Pass");
}
+FunctionPass *llvm::createDataStructureGraphCheckerPass() {
+ return new DSGC();
+}
+
+
DSGC::DSGC() {
if (!AbortIfAnyCollapsed && AbortIfCollapsed.empty() &&
CheckFlags.empty() && AbortIfMerged.empty()) {
More information about the llvm-commits
mailing list