diff options
author | Chris Lattner <sabre@nondot.org> | 2003-06-22 03:08:05 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-06-22 03:08:05 +0000 |
commit | 3889a2cb05c36f30050941679d5fd55d45e6a3ed (patch) | |
tree | ef8c51f49c7d038915d87d21f9c92954d92a617d /include/llvm/Analysis | |
parent | 18345bb93f0c9906dcf1d9ac45b8ee6e693c7bc5 (diff) |
Remove a ton of extraneous #includes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6842 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis')
-rw-r--r-- | include/llvm/Analysis/AliasSetTracker.h | 2 | ||||
-rw-r--r-- | include/llvm/Analysis/CallGraph.h | 2 | ||||
-rw-r--r-- | include/llvm/Analysis/ConstantsScanner.h | 2 | ||||
-rw-r--r-- | include/llvm/Analysis/DSGraph.h | 2 | ||||
-rw-r--r-- | include/llvm/Analysis/DSGraphTraits.h | 2 | ||||
-rw-r--r-- | include/llvm/Analysis/DSSupport.h | 3 | ||||
-rw-r--r-- | include/llvm/Analysis/DataStructure.h | 2 | ||||
-rw-r--r-- | include/llvm/Analysis/DataStructure/DSGraph.h | 2 | ||||
-rw-r--r-- | include/llvm/Analysis/DataStructure/DSGraphTraits.h | 2 | ||||
-rw-r--r-- | include/llvm/Analysis/DataStructure/DSSupport.h | 3 | ||||
-rw-r--r-- | include/llvm/Analysis/DataStructure/DataStructure.h | 2 | ||||
-rw-r--r-- | include/llvm/Analysis/DependenceGraph.h | 2 | ||||
-rw-r--r-- | include/llvm/Analysis/Dominators.h | 1 | ||||
-rw-r--r-- | include/llvm/Analysis/IPModRef.h | 2 | ||||
-rw-r--r-- | include/llvm/Analysis/InstForest.h | 3 | ||||
-rw-r--r-- | include/llvm/Analysis/IntervalIterator.h | 2 | ||||
-rw-r--r-- | include/llvm/Analysis/MemoryDepAnalysis.h | 7 | ||||
-rw-r--r-- | include/llvm/Analysis/PgmDependenceGraph.h | 7 |
18 files changed, 4 insertions, 44 deletions
diff --git a/include/llvm/Analysis/AliasSetTracker.h b/include/llvm/Analysis/AliasSetTracker.h index d2f22f36bb..45867ae916 100644 --- a/include/llvm/Analysis/AliasSetTracker.h +++ b/include/llvm/Analysis/AliasSetTracker.h @@ -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" diff --git a/include/llvm/Analysis/CallGraph.h b/include/llvm/Analysis/CallGraph.h index 69dc5cf442..fde7c82abb 100644 --- a/include/llvm/Analysis/CallGraph.h +++ b/include/llvm/Analysis/CallGraph.h @@ -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" diff --git a/include/llvm/Analysis/ConstantsScanner.h b/include/llvm/Analysis/ConstantsScanner.h index c3d112f27b..8035409bbf 100644 --- a/include/llvm/Analysis/ConstantsScanner.h +++ b/include/llvm/Analysis/ConstantsScanner.h @@ -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" diff --git a/include/llvm/Analysis/DSGraph.h b/include/llvm/Analysis/DSGraph.h index c1f941c735..9a897b2c97 100644 --- a/include/llvm/Analysis/DSGraph.h +++ b/include/llvm/Analysis/DSGraph.h @@ -7,8 +7,6 @@ #ifndef LLVM_ANALYSIS_DSGRAPH_H #define LLVM_ANALYSIS_DSGRAPH_H -#include <assert.h> - #include "llvm/Analysis/DSNode.h" //===----------------------------------------------------------------------===// diff --git a/include/llvm/Analysis/DSGraphTraits.h b/include/llvm/Analysis/DSGraphTraits.h index 95cbbd7b0c..7ea30c02c0 100644 --- a/include/llvm/Analysis/DSGraphTraits.h +++ b/include/llvm/Analysis/DSGraphTraits.h @@ -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" diff --git a/include/llvm/Analysis/DSSupport.h b/include/llvm/Analysis/DSSupport.h index cc989f7736..1e886fe7c2 100644 --- a/include/llvm/Analysis/DSSupport.h +++ b/include/llvm/Analysis/DSSupport.h @@ -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" diff --git a/include/llvm/Analysis/DataStructure.h b/include/llvm/Analysis/DataStructure.h index fad56d966c..ebcc3c5c64 100644 --- a/include/llvm/Analysis/DataStructure.h +++ b/include/llvm/Analysis/DataStructure.h @@ -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" diff --git a/include/llvm/Analysis/DataStructure/DSGraph.h b/include/llvm/Analysis/DataStructure/DSGraph.h index c1f941c735..9a897b2c97 100644 --- a/include/llvm/Analysis/DataStructure/DSGraph.h +++ b/include/llvm/Analysis/DataStructure/DSGraph.h @@ -7,8 +7,6 @@ #ifndef LLVM_ANALYSIS_DSGRAPH_H #define LLVM_ANALYSIS_DSGRAPH_H -#include <assert.h> - #include "llvm/Analysis/DSNode.h" //===----------------------------------------------------------------------===// diff --git a/include/llvm/Analysis/DataStructure/DSGraphTraits.h b/include/llvm/Analysis/DataStructure/DSGraphTraits.h index 95cbbd7b0c..7ea30c02c0 100644 --- a/include/llvm/Analysis/DataStructure/DSGraphTraits.h +++ b/include/llvm/Analysis/DataStructure/DSGraphTraits.h @@ -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" diff --git a/include/llvm/Analysis/DataStructure/DSSupport.h b/include/llvm/Analysis/DataStructure/DSSupport.h index cc989f7736..1e886fe7c2 100644 --- a/include/llvm/Analysis/DataStructure/DSSupport.h +++ b/include/llvm/Analysis/DataStructure/DSSupport.h @@ -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" diff --git a/include/llvm/Analysis/DataStructure/DataStructure.h b/include/llvm/Analysis/DataStructure/DataStructure.h index fad56d966c..ebcc3c5c64 100644 --- a/include/llvm/Analysis/DataStructure/DataStructure.h +++ b/include/llvm/Analysis/DataStructure/DataStructure.h @@ -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" diff --git a/include/llvm/Analysis/DependenceGraph.h b/include/llvm/Analysis/DependenceGraph.h index 10013f7f4c..65831f980c 100644 --- a/include/llvm/Analysis/DependenceGraph.h +++ b/include/llvm/Analysis/DependenceGraph.h @@ -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; diff --git a/include/llvm/Analysis/Dominators.h b/include/llvm/Analysis/Dominators.h index 3a4c4080a3..7881d82125 100644 --- a/include/llvm/Analysis/Dominators.h +++ b/include/llvm/Analysis/Dominators.h @@ -20,7 +20,6 @@ #include "llvm/Pass.h" #include <set> -#include <assert.h> class Instruction; template <typename GraphType> struct GraphTraits; diff --git a/include/llvm/Analysis/IPModRef.h b/include/llvm/Analysis/IPModRef.h index a32203308c..eed264f978 100644 --- a/include/llvm/Analysis/IPModRef.h +++ b/include/llvm/Analysis/IPModRef.h @@ -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" diff --git a/include/llvm/Analysis/InstForest.h b/include/llvm/Analysis/InstForest.h index 81b3506414..56a918bd43 100644 --- a/include/llvm/Analysis/InstForest.h +++ b/include/llvm/Analysis/InstForest.h @@ -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; diff --git a/include/llvm/Analysis/IntervalIterator.h b/include/llvm/Analysis/IntervalIterator.h index 6b50080691..09bfc92aeb 100644 --- a/include/llvm/Analysis/IntervalIterator.h +++ b/include/llvm/Analysis/IntervalIterator.h @@ -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 diff --git a/include/llvm/Analysis/MemoryDepAnalysis.h b/include/llvm/Analysis/MemoryDepAnalysis.h index 71adc123a5..4263f395e5 100644 --- a/include/llvm/Analysis/MemoryDepAnalysis.h +++ b/include/llvm/Analysis/MemoryDepAnalysis.h @@ -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,17 +18,11 @@ #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: /// Dependence analysis for load/store/call instructions using IPModRef info diff --git a/include/llvm/Analysis/PgmDependenceGraph.h b/include/llvm/Analysis/PgmDependenceGraph.h index d5b2a148f2..25fa55f1fa 100644 --- a/include/llvm/Analysis/PgmDependenceGraph.h +++ b/include/llvm/Analysis/PgmDependenceGraph.h @@ -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; |