Changes to work with Statistics rework
authorChris Lattner <sabre@nondot.org>
Tue, 1 Oct 2002 22:40:31 +0000 (22:40 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 1 Oct 2002 22:40:31 +0000 (22:40 +0000)
    * 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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4004 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Instrumentation/ProfilePaths/Graph.h

index 7fba0162d15cdff7cb726e6b92b97a4b59f15712..11713ebb95585baa0df49e2318e2c420b4852a23 100644 (file)
@@ -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