diff options
author | John Criswell <criswell@uiuc.edu> | 2003-06-11 14:01:36 +0000 |
---|---|---|
committer | John Criswell <criswell@uiuc.edu> | 2003-06-11 14:01:36 +0000 |
commit | be583b914d8156b99d3da264d5adca37fee8dbc9 (patch) | |
tree | da884b147eb2f4dbcaf253225e26f82899ec3553 /include/llvm/Analysis | |
parent | aff713cca56dced4a1423f6cbab666ea30e93c23 (diff) | |
download | llvm-be583b914d8156b99d3da264d5adca37fee8dbc9.tar.gz llvm-be583b914d8156b99d3da264d5adca37fee8dbc9.tar.bz2 llvm-be583b914d8156b99d3da264d5adca37fee8dbc9.tar.xz |
Included assert.h so that the code compiles under newer versions of GCC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6682 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis')
20 files changed, 35 insertions, 0 deletions
diff --git a/include/llvm/Analysis/AliasSetTracker.h b/include/llvm/Analysis/AliasSetTracker.h index 45867ae916..d2f22f36bb 100644 --- a/include/llvm/Analysis/AliasSetTracker.h +++ b/include/llvm/Analysis/AliasSetTracker.h @@ -10,6 +10,8 @@ #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 fde7c82abb..69dc5cf442 100644 --- a/include/llvm/Analysis/CallGraph.h +++ b/include/llvm/Analysis/CallGraph.h @@ -41,6 +41,8 @@ #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 8035409bbf..c3d112f27b 100644 --- a/include/llvm/Analysis/ConstantsScanner.h +++ b/include/llvm/Analysis/ConstantsScanner.h @@ -9,6 +9,8 @@ #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 eebefa5f5d..1d6c073e57 100644 --- a/include/llvm/Analysis/DSGraph.h +++ b/include/llvm/Analysis/DSGraph.h @@ -7,6 +7,8 @@ #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 34e0e825d2..7a21919273 100644 --- a/include/llvm/Analysis/DSGraphTraits.h +++ b/include/llvm/Analysis/DSGraphTraits.h @@ -9,6 +9,8 @@ #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/DSNode.h b/include/llvm/Analysis/DSNode.h index 5d4fc74267..b147077dee 100644 --- a/include/llvm/Analysis/DSNode.h +++ b/include/llvm/Analysis/DSNode.h @@ -7,6 +7,8 @@ #ifndef LLVM_ANALYSIS_DSNODE_H #define LLVM_ANALYSIS_DSNODE_H +#include <assert.h> + #include "llvm/Analysis/DSSupport.h" template<typename BaseType> class DSNodeIterator; // Data structure graph traversal iterator diff --git a/include/llvm/Analysis/DSSupport.h b/include/llvm/Analysis/DSSupport.h index d36be9bb3a..cc989f7736 100644 --- a/include/llvm/Analysis/DSSupport.h +++ b/include/llvm/Analysis/DSSupport.h @@ -7,6 +7,8 @@ #ifndef LLVM_ANALYSIS_DSSUPPORT_H #define LLVM_ANALYSIS_DSSUPPORT_H +#include <assert.h> + #include <vector> #include <functional> #include <string> diff --git a/include/llvm/Analysis/DataStructure.h b/include/llvm/Analysis/DataStructure.h index ebcc3c5c64..fad56d966c 100644 --- a/include/llvm/Analysis/DataStructure.h +++ b/include/llvm/Analysis/DataStructure.h @@ -7,6 +7,8 @@ #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 eebefa5f5d..1d6c073e57 100644 --- a/include/llvm/Analysis/DataStructure/DSGraph.h +++ b/include/llvm/Analysis/DataStructure/DSGraph.h @@ -7,6 +7,8 @@ #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 34e0e825d2..7a21919273 100644 --- a/include/llvm/Analysis/DataStructure/DSGraphTraits.h +++ b/include/llvm/Analysis/DataStructure/DSGraphTraits.h @@ -9,6 +9,8 @@ #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/DSNode.h b/include/llvm/Analysis/DataStructure/DSNode.h index 5d4fc74267..b147077dee 100644 --- a/include/llvm/Analysis/DataStructure/DSNode.h +++ b/include/llvm/Analysis/DataStructure/DSNode.h @@ -7,6 +7,8 @@ #ifndef LLVM_ANALYSIS_DSNODE_H #define LLVM_ANALYSIS_DSNODE_H +#include <assert.h> + #include "llvm/Analysis/DSSupport.h" template<typename BaseType> class DSNodeIterator; // Data structure graph traversal iterator diff --git a/include/llvm/Analysis/DataStructure/DSSupport.h b/include/llvm/Analysis/DataStructure/DSSupport.h index d36be9bb3a..cc989f7736 100644 --- a/include/llvm/Analysis/DataStructure/DSSupport.h +++ b/include/llvm/Analysis/DataStructure/DSSupport.h @@ -7,6 +7,8 @@ #ifndef LLVM_ANALYSIS_DSSUPPORT_H #define LLVM_ANALYSIS_DSSUPPORT_H +#include <assert.h> + #include <vector> #include <functional> #include <string> diff --git a/include/llvm/Analysis/DataStructure/DataStructure.h b/include/llvm/Analysis/DataStructure/DataStructure.h index ebcc3c5c64..fad56d966c 100644 --- a/include/llvm/Analysis/DataStructure/DataStructure.h +++ b/include/llvm/Analysis/DataStructure/DataStructure.h @@ -7,6 +7,8 @@ #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 509b6f429d..10013f7f4c 100644 --- a/include/llvm/Analysis/DependenceGraph.h +++ b/include/llvm/Analysis/DependenceGraph.h @@ -23,6 +23,8 @@ #include <vector> #include <utility> +#include <assert.h> + class Instruction; class Function; class Dependence; diff --git a/include/llvm/Analysis/Dominators.h b/include/llvm/Analysis/Dominators.h index 7881d82125..3a4c4080a3 100644 --- a/include/llvm/Analysis/Dominators.h +++ b/include/llvm/Analysis/Dominators.h @@ -20,6 +20,7 @@ #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 eed264f978..a32203308c 100644 --- a/include/llvm/Analysis/IPModRef.h +++ b/include/llvm/Analysis/IPModRef.h @@ -39,6 +39,8 @@ #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 243b0fdd05..81b3506414 100644 --- a/include/llvm/Analysis/InstForest.h +++ b/include/llvm/Analysis/InstForest.h @@ -19,6 +19,7 @@ #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 5417aa74dc..6b50080691 100644 --- a/include/llvm/Analysis/IntervalIterator.h +++ b/include/llvm/Analysis/IntervalIterator.h @@ -33,6 +33,7 @@ #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 965a2f42a1..71adc123a5 100644 --- a/include/llvm/Analysis/MemoryDepAnalysis.h +++ b/include/llvm/Analysis/MemoryDepAnalysis.h @@ -20,6 +20,7 @@ #include "Support/NonCopyable.h" #include "Support/hash_map" +#include <assert.h> class Instruction; class Function; diff --git a/include/llvm/Analysis/PgmDependenceGraph.h b/include/llvm/Analysis/PgmDependenceGraph.h index 778ee78d90..d5b2a148f2 100644 --- a/include/llvm/Analysis/PgmDependenceGraph.h +++ b/include/llvm/Analysis/PgmDependenceGraph.h @@ -40,6 +40,7 @@ #include "Support/NonCopyable.h" #include <iterator> +#include <assert.h> class Instruction; class Function; |