aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-10-01 22:40:31 +0000
committerChris Lattner <sabre@nondot.org>2002-10-01 22:40:31 +0000
commite68bf61f6f6d267ebe3c6b65e59a32754981edab (patch)
treefd37ce6f2c70297ef7f49c51f2afddd1d4f2f913
parent8328f1d9a6cd74bf5c84f335607fa94f3e1bcc58 (diff)
downloadexternal_llvm-e68bf61f6f6d267ebe3c6b65e59a32754981edab.zip
external_llvm-e68bf61f6f6d267ebe3c6b65e59a32754981edab.tar.gz
external_llvm-e68bf61f6f6d267ebe3c6b65e59a32754981edab.tar.bz2
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4004 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Transforms/Instrumentation/ProfilePaths/Graph.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/Transforms/Instrumentation/ProfilePaths/Graph.h b/lib/Transforms/Instrumentation/ProfilePaths/Graph.h
index 7fba016..11713eb 100644
--- a/lib/Transforms/Instrumentation/ProfilePaths/Graph.h
+++ b/lib/Transforms/Instrumentation/ProfilePaths/Graph.h
@@ -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