[llvm-commits] CVS: llvm/include/llvm/Transforms/Instrumentation/Graph.h

Chris Lattner lattner at cs.uiuc.edu
Tue Oct 1 17:41:01 PDT 2002

Changes in directory llvm/include/llvm/Transforms/Instrumentation:

Graph.h updated: 1.4 -> 1.5

Log message:

Changes to work with Statistics rework
    * 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/include/llvm/Transforms/Instrumentation/Graph.h
diff -u llvm/include/llvm/Transforms/Instrumentation/Graph.h:1.4 llvm/include/llvm/Transforms/Instrumentation/Graph.h:1.5
--- llvm/include/llvm/Transforms/Instrumentation/Graph.h:1.4	Fri Sep 20 11:44:35 2002
+++ llvm/include/llvm/Transforms/Instrumentation/Graph.h	Tue Oct  1 17:40:31 2002
@@ -9,18 +9,12 @@
 #ifndef LLVM_GRAPH_H
 #define LLVM_GRAPH_H
-#include "Support/StatisticReporter.h"
+#include "llvm/BasicBlock.h"
 #include <map>
-#include <vector>
 #include <cstdlib>
-#include "llvm/BasicBlock.h"
-class BasicBlock;
 class Module;
 class Function;
-class Instruction;
 //Class Node
 //It forms the vertex for the graph

More information about the llvm-commits mailing list