[llvm-commits] CVS: llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp GraphAuxillary.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Oct 1 17:39:05 PDT 2002
Changes in directory llvm/lib/Transforms/Instrumentation/ProfilePaths:
Graph.cpp updated: 1.6 -> 1.7
GraphAuxillary.cpp updated: 1.12 -> 1.13
---
Log message:
Updates to work with recent Statistic's changes:
* Renamed StatisticReporter.h/cpp to Statistic.h/cpp
* Broke constructor to take two const char * arguments instead of one, so
that indendation can be taken care of automatically.
* Sort the list by pass name when printing
* Make sure to print all statistics as a group, instead of randomly when
the statistics dtors are called.
* Updated ProgrammersManual with new semantics.
---
Diffs of the changes:
Index: llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp
diff -u llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp:1.6 llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp:1.7
--- llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp:1.6 Mon Sep 16 00:25:42 2002
+++ llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp Tue Oct 1 17:38:37 2002
@@ -8,8 +8,8 @@
#include "llvm/Transforms/Instrumentation/Graph.h"
#include "llvm/iTerminators.h"
#include "llvm/BasicBlock.h"
+#include "Support/Statistic.h"
#include <algorithm>
-#include <iostream>
//using std::list;
//using std::set;
Index: llvm/lib/Transforms/Instrumentation/ProfilePaths/GraphAuxillary.cpp
diff -u llvm/lib/Transforms/Instrumentation/ProfilePaths/GraphAuxillary.cpp:1.12 llvm/lib/Transforms/Instrumentation/ProfilePaths/GraphAuxillary.cpp:1.13
--- llvm/lib/Transforms/Instrumentation/ProfilePaths/GraphAuxillary.cpp:1.12 Fri Sep 20 11:43:52 2002
+++ llvm/lib/Transforms/Instrumentation/ProfilePaths/GraphAuxillary.cpp Tue Oct 1 17:38:37 2002
@@ -10,12 +10,9 @@
#include "llvm/Transforms/Instrumentation/Graph.h"
#include "llvm/Pass.h"
#include "llvm/Module.h"
-#include "llvm/InstrTypes.h"
#include "llvm/iTerminators.h"
+#include "Support/Statistic.h"
#include <algorithm>
-#include <iostream>
-#include <sstream>
-#include <vector>
//using std::list;
using std::map;
More information about the llvm-commits
mailing list