[llvm-commits] CVS: llvm/include/llvm/Analysis/AliasSetTracker.h CallGraph.h ConstantsScanner.h DSGraph.h DSGraphTraits.h DSSupport.h DataStructure.h DependenceGraph.h Dominators.h IPModRef.h InstForest.h IntervalIterator.h MemoryDepAnalysis.h PgmDependenceGraph.h
Chris Lattner
lattner at cs.uiuc.edu
Sat Jun 21 22:06:01 PDT 2003
Changes in directory llvm/include/llvm/Analysis:
AliasSetTracker.h updated: 1.5 -> 1.6
CallGraph.h updated: 1.27 -> 1.28
ConstantsScanner.h updated: 1.10 -> 1.11
DSGraph.h updated: 1.49 -> 1.50
DSGraphTraits.h updated: 1.15 -> 1.16
DSSupport.h updated: 1.16 -> 1.17
DataStructure.h updated: 1.63 -> 1.64
DependenceGraph.h updated: 1.4 -> 1.5
Dominators.h updated: 1.33 -> 1.34
IPModRef.h updated: 1.10 -> 1.11
InstForest.h updated: 1.17 -> 1.18
IntervalIterator.h updated: 1.11 -> 1.12
MemoryDepAnalysis.h updated: 1.2 -> 1.3
PgmDependenceGraph.h updated: 1.2 -> 1.3
---
Log message:
Remove a ton of extraneous #includes
---
Diffs of the changes:
Index: llvm/include/llvm/Analysis/AliasSetTracker.h
diff -u llvm/include/llvm/Analysis/AliasSetTracker.h:1.5 llvm/include/llvm/Analysis/AliasSetTracker.h:1.6
--- llvm/include/llvm/Analysis/AliasSetTracker.h:1.5 Wed Jun 11 09:01:29 2003
+++ llvm/include/llvm/Analysis/AliasSetTracker.h Sat Jun 21 22:05:45 2003
@@ -10,8 +10,6 @@
#ifndef LLVM_ANALYSIS_ALIASSETTRACKER_H
#define LLVM_ANALYSIS_ALIASSETTRACKER_H
-#include <assert.h>
-
#include "llvm/Support/CallSite.h"
#include "Support/iterator"
#include "Support/hash_map"
Index: llvm/include/llvm/Analysis/CallGraph.h
diff -u llvm/include/llvm/Analysis/CallGraph.h:1.27 llvm/include/llvm/Analysis/CallGraph.h:1.28
--- llvm/include/llvm/Analysis/CallGraph.h:1.27 Wed Jun 11 09:01:29 2003
+++ llvm/include/llvm/Analysis/CallGraph.h Sat Jun 21 22:05:45 2003
@@ -41,8 +41,6 @@
#ifndef LLVM_ANALYSIS_CALLGRAPH_H
#define LLVM_ANALYSIS_CALLGRAPH_H
-#include <assert.h>
-
#include "Support/GraphTraits.h"
#include "Support/STLExtras.h"
#include "llvm/Pass.h"
Index: llvm/include/llvm/Analysis/ConstantsScanner.h
diff -u llvm/include/llvm/Analysis/ConstantsScanner.h:1.10 llvm/include/llvm/Analysis/ConstantsScanner.h:1.11
--- llvm/include/llvm/Analysis/ConstantsScanner.h:1.10 Wed Jun 11 09:01:29 2003
+++ llvm/include/llvm/Analysis/ConstantsScanner.h Sat Jun 21 22:05:45 2003
@@ -9,8 +9,6 @@
#ifndef LLVM_ANALYSIS_CONSTANTSSCANNER_H
#define LLVM_ANALYSIS_CONSTANTSSCANNER_H
-#include <assert.h>
-
#include "llvm/Support/InstIterator.h"
#include "llvm/Instruction.h"
#include "Support/iterator"
Index: llvm/include/llvm/Analysis/DSGraph.h
diff -u llvm/include/llvm/Analysis/DSGraph.h:1.49 llvm/include/llvm/Analysis/DSGraph.h:1.50
--- llvm/include/llvm/Analysis/DSGraph.h:1.49 Thu Jun 19 16:14:22 2003
+++ llvm/include/llvm/Analysis/DSGraph.h Sat Jun 21 22:05:45 2003
@@ -7,8 +7,6 @@
#ifndef LLVM_ANALYSIS_DSGRAPH_H
#define LLVM_ANALYSIS_DSGRAPH_H
-#include <assert.h>
-
#include "llvm/Analysis/DSNode.h"
//===----------------------------------------------------------------------===//
Index: llvm/include/llvm/Analysis/DSGraphTraits.h
diff -u llvm/include/llvm/Analysis/DSGraphTraits.h:1.15 llvm/include/llvm/Analysis/DSGraphTraits.h:1.16
--- llvm/include/llvm/Analysis/DSGraphTraits.h:1.15 Thu Jun 19 16:14:22 2003
+++ llvm/include/llvm/Analysis/DSGraphTraits.h Sat Jun 21 22:05:45 2003
@@ -9,8 +9,6 @@
#ifndef LLVM_ANALYSIS_DSGRAPHTRAITS_H
#define LLVM_ANALYSIS_DSGRAPHTRAITS_H
-#include <assert.h>
-
#include "llvm/Analysis/DSGraph.h"
#include "Support/GraphTraits.h"
#include "Support/iterator"
Index: llvm/include/llvm/Analysis/DSSupport.h
diff -u llvm/include/llvm/Analysis/DSSupport.h:1.16 llvm/include/llvm/Analysis/DSSupport.h:1.17
--- llvm/include/llvm/Analysis/DSSupport.h:1.16 Wed Jun 11 09:01:29 2003
+++ llvm/include/llvm/Analysis/DSSupport.h Sat Jun 21 22:05:45 2003
@@ -7,11 +7,10 @@
#ifndef LLVM_ANALYSIS_DSSUPPORT_H
#define LLVM_ANALYSIS_DSSUPPORT_H
-#include <assert.h>
-
#include <vector>
#include <functional>
#include <string>
+#include <assert.h>
#include "Support/HashExtras.h"
#include "Support/hash_set"
Index: llvm/include/llvm/Analysis/DataStructure.h
diff -u llvm/include/llvm/Analysis/DataStructure.h:1.63 llvm/include/llvm/Analysis/DataStructure.h:1.64
--- llvm/include/llvm/Analysis/DataStructure.h:1.63 Wed Jun 11 09:01:29 2003
+++ llvm/include/llvm/Analysis/DataStructure.h Sat Jun 21 22:05:45 2003
@@ -7,8 +7,6 @@
#ifndef LLVM_ANALYSIS_DATA_STRUCTURE_H
#define LLVM_ANALYSIS_DATA_STRUCTURE_H
-#include <assert.h>
-
#include "llvm/Pass.h"
#include "Support/HashExtras.h"
#include "Support/hash_set"
Index: llvm/include/llvm/Analysis/DependenceGraph.h
diff -u llvm/include/llvm/Analysis/DependenceGraph.h:1.4 llvm/include/llvm/Analysis/DependenceGraph.h:1.5
--- llvm/include/llvm/Analysis/DependenceGraph.h:1.4 Wed Jun 11 09:01:29 2003
+++ llvm/include/llvm/Analysis/DependenceGraph.h Sat Jun 21 22:05:45 2003
@@ -14,7 +14,6 @@
//
//===----------------------------------------------------------------------===//
-
#ifndef LLVM_ANALYSIS_DEPENDENCEGRAPH_H
#define LLVM_ANALYSIS_DEPENDENCEGRAPH_H
@@ -22,7 +21,6 @@
#include <iosfwd>
#include <vector>
#include <utility>
-
#include <assert.h>
class Instruction;
Index: llvm/include/llvm/Analysis/Dominators.h
diff -u llvm/include/llvm/Analysis/Dominators.h:1.33 llvm/include/llvm/Analysis/Dominators.h:1.34
--- llvm/include/llvm/Analysis/Dominators.h:1.33 Wed Jun 11 09:01:29 2003
+++ llvm/include/llvm/Analysis/Dominators.h Sat Jun 21 22:05:45 2003
@@ -20,7 +20,6 @@
#include "llvm/Pass.h"
#include <set>
-#include <assert.h>
class Instruction;
template <typename GraphType> struct GraphTraits;
Index: llvm/include/llvm/Analysis/IPModRef.h
diff -u llvm/include/llvm/Analysis/IPModRef.h:1.10 llvm/include/llvm/Analysis/IPModRef.h:1.11
--- llvm/include/llvm/Analysis/IPModRef.h:1.10 Wed Jun 11 09:01:29 2003
+++ llvm/include/llvm/Analysis/IPModRef.h Sat Jun 21 22:05:45 2003
@@ -39,8 +39,6 @@
#ifndef LLVM_ANALYSIS_IPMODREF_H
#define LLVM_ANALYSIS_IPMODREF_H
-#include <assert.h>
-
#include "llvm/Pass.h"
#include "Support/BitSetVector.h"
#include "Support/hash_map"
Index: llvm/include/llvm/Analysis/InstForest.h
diff -u llvm/include/llvm/Analysis/InstForest.h:1.17 llvm/include/llvm/Analysis/InstForest.h:1.18
--- llvm/include/llvm/Analysis/InstForest.h:1.17 Wed Jun 11 09:01:29 2003
+++ llvm/include/llvm/Analysis/InstForest.h Sat Jun 21 22:05:45 2003
@@ -14,12 +14,9 @@
#ifndef LLVM_ANALYSIS_INSTFOREST_H
#define LLVM_ANALYSIS_INSTFOREST_H
-#include "llvm/Instruction.h"
-#include "llvm/BasicBlock.h"
#include "llvm/Function.h"
#include "Support/Tree.h"
#include <map>
-#include <assert.h>
template<class Payload> class InstTreeNode;
template<class Payload> class InstForest;
Index: llvm/include/llvm/Analysis/IntervalIterator.h
diff -u llvm/include/llvm/Analysis/IntervalIterator.h:1.11 llvm/include/llvm/Analysis/IntervalIterator.h:1.12
--- llvm/include/llvm/Analysis/IntervalIterator.h:1.11 Wed Jun 11 09:01:29 2003
+++ llvm/include/llvm/Analysis/IntervalIterator.h Sat Jun 21 22:05:45 2003
@@ -28,12 +28,10 @@
#include "llvm/Analysis/IntervalPartition.h"
#include "llvm/Function.h"
-#include "llvm/BasicBlock.h"
#include "llvm/Support/CFG.h"
#include <stack>
#include <set>
#include <algorithm>
-#include <assert.h>
// getNodeHeader - Given a source graph node and the source graph, return the
// BasicBlock that is the header node. This is the opposite of
Index: llvm/include/llvm/Analysis/MemoryDepAnalysis.h
diff -u llvm/include/llvm/Analysis/MemoryDepAnalysis.h:1.2 llvm/include/llvm/Analysis/MemoryDepAnalysis.h:1.3
--- llvm/include/llvm/Analysis/MemoryDepAnalysis.h:1.2 Wed Jun 11 09:01:29 2003
+++ llvm/include/llvm/Analysis/MemoryDepAnalysis.h Sat Jun 21 22:05:45 2003
@@ -7,6 +7,7 @@
//
// The result of this pass is a DependenceGraph for each function
// representing the memory-based data dependences between instructions.
+//
//===----------------------------------------------------------------------===//
#ifndef LLVM_ANALYSIS_MEMORYDEPANALYSIS_H
@@ -17,16 +18,10 @@
#include "llvm/Analysis/DataStructure.h"
#include "llvm/Pass.h"
#include "Support/TarjanSCCIterator.h"
-#include "Support/NonCopyable.h"
#include "Support/hash_map"
-#include <assert.h>
-
class Instruction;
-class Function;
-class DSGraph;
class ModRefTable;
-
///---------------------------------------------------------------------------
/// class MemoryDepGraph:
Index: llvm/include/llvm/Analysis/PgmDependenceGraph.h
diff -u llvm/include/llvm/Analysis/PgmDependenceGraph.h:1.2 llvm/include/llvm/Analysis/PgmDependenceGraph.h:1.3
--- llvm/include/llvm/Analysis/PgmDependenceGraph.h:1.2 Wed Jun 11 09:01:29 2003
+++ llvm/include/llvm/Analysis/PgmDependenceGraph.h Sat Jun 21 22:05:45 2003
@@ -26,6 +26,7 @@
//
// class PgmDependenceGraph -- Interface to obtain PDGIterators for each
// instruction.
+//
//===----------------------------------------------------------------------===//
#ifndef LLVM_ANALYSIS_PGMDEPENDENCEGRAPH_H
@@ -35,15 +36,9 @@
#include "llvm/Analysis/MemoryDepAnalysis.h"
/* #include "llvm/Analysis/PostDominators.h" -- see below */
#include "llvm/Instruction.h"
-#include "llvm/Value.h"
#include "llvm/Pass.h"
-#include "Support/NonCopyable.h"
#include <iterator>
-#include <assert.h>
-
-class Instruction;
-class Function;
class DSGraph;
class DependenceGraph;
class PgmDependenceGraph;
More information about the llvm-commits
mailing list