Included assert.h so that the code compiles under newer versions of GCC.
authorJohn Criswell <criswell@uiuc.edu>
Wed, 11 Jun 2003 14:01:36 +0000 (14:01 +0000)
committerJohn Criswell <criswell@uiuc.edu>
Wed, 11 Jun 2003 14:01:36 +0000 (14:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6682 91177308-0d34-0410-b5e6-96231b3b80d8

69 files changed:
include/Support/Annotation.h
include/Support/BitSetVector.h
include/Support/CommandLine.h
include/Support/SCCIterator.h
include/Support/Timer.h
include/Support/Tree.h
include/llvm/ADT/BitSetVector.h
include/llvm/ADT/SCCIterator.h
include/llvm/ADT/Tree.h
include/llvm/Analysis/AliasSetTracker.h
include/llvm/Analysis/CallGraph.h
include/llvm/Analysis/ConstantsScanner.h
include/llvm/Analysis/DSGraph.h
include/llvm/Analysis/DSGraphTraits.h
include/llvm/Analysis/DSNode.h
include/llvm/Analysis/DSSupport.h
include/llvm/Analysis/DataStructure.h
include/llvm/Analysis/DataStructure/DSGraph.h
include/llvm/Analysis/DataStructure/DSGraphTraits.h
include/llvm/Analysis/DataStructure/DSNode.h
include/llvm/Analysis/DataStructure/DSSupport.h
include/llvm/Analysis/DataStructure/DataStructure.h
include/llvm/Analysis/DependenceGraph.h
include/llvm/Analysis/Dominators.h
include/llvm/Analysis/IPModRef.h
include/llvm/Analysis/InstForest.h
include/llvm/Analysis/IntervalIterator.h
include/llvm/Analysis/MemoryDepAnalysis.h
include/llvm/Analysis/PgmDependenceGraph.h
include/llvm/CodeGen/InstrForest.h
include/llvm/CodeGen/InstrSelection.h
include/llvm/CodeGen/LiveVariables.h
include/llvm/CodeGen/MachineCodeForInstruction.h
include/llvm/CodeGen/MachineFrameInfo.h
include/llvm/CodeGen/MachineInstr.h
include/llvm/CodeGen/MachineInstrAnnot.h
include/llvm/CodeGen/SSARegMap.h
include/llvm/Constant.h
include/llvm/ConstantHandling.h
include/llvm/Constants.h
include/llvm/DerivedTypes.h
include/llvm/GlobalVariable.h
include/llvm/Instruction.h
include/llvm/Pass.h
include/llvm/PassAnalysisSupport.h
include/llvm/PassSupport.h
include/llvm/Support/Annotation.h
include/llvm/Support/CFG.h
include/llvm/Support/CommandLine.h
include/llvm/Support/InstVisitor.h
include/llvm/Support/PassNameParser.h
include/llvm/Support/Timer.h
include/llvm/SymbolTable.h
include/llvm/Target/TargetCacheInfo.h
include/llvm/Target/TargetInstrInfo.h
include/llvm/Target/TargetRegInfo.h
include/llvm/Target/TargetSchedInfo.h
include/llvm/User.h
include/llvm/iOther.h
include/llvm/iPHINode.h
include/llvm/iTerminators.h
lib/CodeGen/RegAlloc/IGNode.h
lib/CodeGen/RegAlloc/LiveRange.h
lib/Target/SparcV9/MachineCodeForInstruction.h
lib/Target/SparcV9/MachineInstrAnnot.h
lib/Target/SparcV9/RegAlloc/IGNode.h
lib/Target/SparcV9/RegAlloc/LiveRange.h
lib/VMCore/ConstantFold.h
lib/VMCore/ConstantFolding.h

index d9c02db83202f9d580301d171c9f9e46acd64661..8dbad760d7a2b232ad45e6dc8d6702a3a4039b41 100644 (file)
@@ -16,6 +16,7 @@
 #define SUPPORT_ANNOTATION_H
 
 #include <string>
+#include <assert.h>
 class AnnotationID;
 class Annotation;
 class Annotable;
index e52ca17c6b1f02048e47250dd9d6f41bdaff6c93..6ce56be4d0cf80b811c11706d59fe60ffdc724c6 100644 (file)
@@ -31,6 +31,7 @@
 #include <functional>
 #include <iostream>
 
+#include <assert.h>
 
 #define WORDSIZE (32U)
 
index aafef95f56ff3474dd95e0be402d1894b9f3dada..b524c977f7cfec04b6580b715612a85a60c82091 100644 (file)
@@ -19,6 +19,8 @@
 #include <cstdarg>
 #include "boost/type_traits/object_traits.hpp"
 
+#include <assert.h>
+
 /// cl Namespace - This namespace contains all of the command line option
 /// processing machinery.  It is intentionally a short name to make qualified
 /// usage concise.
index 26afdd76e4f3954d13e3e79fd4a7283b830ae2c8..ed660d64c723e6fd889eb73299b96c89e31fac2e 100644 (file)
@@ -21,6 +21,7 @@
 #include <stack>
 #include <map>
 
+#include <assert.h>
 
 //--------------------------------------------------------------------------
 // class SCC : A simple representation of an SCC in a generic Graph.
index e89f32feab4cc1bef4d55f82c751f9624b106b56..40ab643928ae88ec9cd1ce87f0f145ddfd331865 100644 (file)
@@ -29,6 +29,8 @@
 #include <vector>
 #include <iosfwd>
 
+#include <assert.h>
+
 class TimerGroup;
 
 class Timer {
index 9e8d5ae7efa7ee109e70aaa4da511ee8124203f5..544e57e5263dc4edda18f4a3d0ce839748b8fe2a 100644 (file)
@@ -10,6 +10,8 @@
 
 #include <vector>
 
+#include <assert.h>
+
 template<class ConcreteTreeNode, class Payload>
 class Tree {
   std::vector<ConcreteTreeNode*> Children;        // This nodes children, if any
index e52ca17c6b1f02048e47250dd9d6f41bdaff6c93..6ce56be4d0cf80b811c11706d59fe60ffdc724c6 100644 (file)
@@ -31,6 +31,7 @@
 #include <functional>
 #include <iostream>
 
+#include <assert.h>
 
 #define WORDSIZE (32U)
 
index 26afdd76e4f3954d13e3e79fd4a7283b830ae2c8..ed660d64c723e6fd889eb73299b96c89e31fac2e 100644 (file)
@@ -21,6 +21,7 @@
 #include <stack>
 #include <map>
 
+#include <assert.h>
 
 //--------------------------------------------------------------------------
 // class SCC : A simple representation of an SCC in a generic Graph.
index 9e8d5ae7efa7ee109e70aaa4da511ee8124203f5..544e57e5263dc4edda18f4a3d0ce839748b8fe2a 100644 (file)
@@ -10,6 +10,8 @@
 
 #include <vector>
 
+#include <assert.h>
+
 template<class ConcreteTreeNode, class Payload>
 class Tree {
   std::vector<ConcreteTreeNode*> Children;        // This nodes children, if any
index 45867ae9162621214459eece2da0ce4602dd2de9..d2f22f36bbb9dbea1b7dff5abbab11f4016ee4c3 100644 (file)
@@ -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"
index fde7c82abbe72a791da69dfe5ee37f5a31a4e711..69dc5cf44212dbf78d16dfffd905da3145d41828 100644 (file)
@@ -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"
index 8035409bbf949483d23e8a3e77d8806f0cd3960f..c3d112f27b94f9a20f69bbd7da9a2ac77e5b601e 100644 (file)
@@ -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"
index eebefa5f5dd6dd451d21e16c20b2d6d1283e1fe9..1d6c073e5730a831ef5f04b0c90564d322f89ad4 100644 (file)
@@ -7,6 +7,8 @@
 #ifndef LLVM_ANALYSIS_DSGRAPH_H
 #define LLVM_ANALYSIS_DSGRAPH_H
 
+#include <assert.h>
+
 #include "llvm/Analysis/DSNode.h"
 
 //===----------------------------------------------------------------------===//
index 34e0e825d284b40f2bbd7e4cdefbccf59f25759f..7a2191927352fbd88047d9bf4ed4c11ff0b40f05 100644 (file)
@@ -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"
index 5d4fc742675f881cce516222867fc203c08561ef..b147077deee200581f00b876855613142b863099 100644 (file)
@@ -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
index d36be9bb3aff300e8ddd846bfea548b65971cd9a..cc989f77361297f42a9e4a4d0e249560485e92dc 100644 (file)
@@ -7,6 +7,8 @@
 #ifndef LLVM_ANALYSIS_DSSUPPORT_H
 #define LLVM_ANALYSIS_DSSUPPORT_H
 
+#include <assert.h>
+
 #include <vector>
 #include <functional>
 #include <string>
index ebcc3c5c6456258a8295db22e8f6b7795ea7cfff..fad56d966c3b9c75473038914d24aa8332915651 100644 (file)
@@ -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"
index eebefa5f5dd6dd451d21e16c20b2d6d1283e1fe9..1d6c073e5730a831ef5f04b0c90564d322f89ad4 100644 (file)
@@ -7,6 +7,8 @@
 #ifndef LLVM_ANALYSIS_DSGRAPH_H
 #define LLVM_ANALYSIS_DSGRAPH_H
 
+#include <assert.h>
+
 #include "llvm/Analysis/DSNode.h"
 
 //===----------------------------------------------------------------------===//
index 34e0e825d284b40f2bbd7e4cdefbccf59f25759f..7a2191927352fbd88047d9bf4ed4c11ff0b40f05 100644 (file)
@@ -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"
index 5d4fc742675f881cce516222867fc203c08561ef..b147077deee200581f00b876855613142b863099 100644 (file)
@@ -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
index d36be9bb3aff300e8ddd846bfea548b65971cd9a..cc989f77361297f42a9e4a4d0e249560485e92dc 100644 (file)
@@ -7,6 +7,8 @@
 #ifndef LLVM_ANALYSIS_DSSUPPORT_H
 #define LLVM_ANALYSIS_DSSUPPORT_H
 
+#include <assert.h>
+
 #include <vector>
 #include <functional>
 #include <string>
index ebcc3c5c6456258a8295db22e8f6b7795ea7cfff..fad56d966c3b9c75473038914d24aa8332915651 100644 (file)
@@ -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"
index 509b6f429dbb55309c47e84a1bb07e96b77291b4..10013f7f4c1392b25ff21d25cc9268666a5fc02c 100644 (file)
@@ -23,6 +23,8 @@
 #include <vector>
 #include <utility>
 
+#include <assert.h>
+
 class Instruction;
 class Function;
 class Dependence;
index 7881d82125b112792bb3df9dbf37ce9d114f4db0..3a4c4080a35690eed78cbb604bbe2be1d9facbe6 100644 (file)
@@ -20,6 +20,7 @@
 
 #include "llvm/Pass.h"
 #include <set>
+#include <assert.h>
 class Instruction;
 
 template <typename GraphType> struct GraphTraits;
index eed264f9785b3cf17b78d6e6b99ab0faf458bd74..a32203308c76ac3fb84056dfb5acb869bf3023cb 100644 (file)
@@ -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"
index 243b0fdd054542d81a4bf42e7a391b0c4161c5b2..81b3506414e07f8ef2d285e9559885102fba34dc 100644 (file)
@@ -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;
index 5417aa74dc7ba1f52a989b8b612815e2d7ca84f6..6b50080691839c71c14be337bda593d59e834691 100644 (file)
@@ -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
index 965a2f42a18017c1f8924184ab5718206518bb8e..71adc123a56e1c9ade2c0558c3b4f946a619f4f1 100644 (file)
@@ -20,6 +20,7 @@
 #include "Support/NonCopyable.h"
 #include "Support/hash_map"
 
+#include <assert.h>
 
 class Instruction;
 class Function;
index 778ee78d90f6220311984e082671a01482560fbe..d5b2a148f28003c59a9a9f34631f55fbd8531a47 100644 (file)
@@ -40,6 +40,7 @@
 #include "Support/NonCopyable.h"
 #include <iterator>
 
+#include <assert.h>
 
 class Instruction;
 class Function;
index d9381128d6447e6ece67d119e06ed61af7b898d0..d6eaf7673ad83ff2a2271a89727a0da6c5a08a9f 100644 (file)
@@ -21,6 +21,7 @@
 
 #include "llvm/Instruction.h"
 #include "Support/HashExtras.h"
+#include <assert.h>
 
 class Constant;
 class BasicBlock;
index c1ed86ed4363dce9283e7af96761bef04832d6e4..a305578bfbbdca58a9a6001286ffe006876f6e14 100644 (file)
@@ -8,6 +8,7 @@
 #define LLVM_CODEGEN_INSTR_SELECTION_H
 
 #include "llvm/Instruction.h"
+#include <assert.h>
 class Function;
 class InstrForest;
 class MachineInstr;
index 51d3e82e771591cfddb9cd27969833d567f83ede..881fce4b0dceef45d40d4fded6fba096f6567ab5 100644 (file)
@@ -24,6 +24,7 @@
 
 #include "llvm/CodeGen/MachineFunctionPass.h"
 #include <map>
+#include <assert.h>
 
 class MRegisterInfo;
 
index ff171e9621d4e02fd64cb5eeb12c737d13695901..91b4dfdc5e277c9cea5f1d7b5e5f1d8bea6933fd 100644 (file)
@@ -20,6 +20,8 @@
 
 #include "Support/Annotation.h"
 #include <vector>
+#include <assert.h>
+
 class MachineInstr;
 class Instruction;
 class Value;
index 6f907e1ff36ecc1ecfa6d19f9fb9e1430b05a591..5b2b0b5234653bc7fd9d5cdaf052717b29f4009b 100644 (file)
@@ -35,6 +35,7 @@ class TargetData;
 class TargetRegisterClass;
 class MachineFunction;
 #include <vector>
+#include <assert.h>
 
 class MachineFrameInfo {
 
index 2ab9a0708f1dddae09d96ca2db98bab3f2031373..3c2f9abc257aeaceed935737a417c57900b1f583 100644 (file)
@@ -13,6 +13,8 @@
 #include "Support/Annotation.h"
 #include "Support/iterator"
 #include <set>
+#include <assert.h>
+
 class Value;
 class Function;
 class MachineBasicBlock;
index e1902e77b38b4726a32f821717c0e321a539e23a..b7e22d8138349840cb589011b81b822c794751d5 100644 (file)
@@ -10,6 +10,8 @@
 #include "llvm/CodeGen/MachineInstr.h"
 #include "llvm/Target/TargetRegInfo.h"
 
+#include <assert.h>
+
 class Value;
 class TmpInstruction;
 class CallInst;
index 08fa672a816e085b5d06581c02aca62105f0e817..ced04354cf44952f02856d14ce9e57d9c43ff0bc 100644 (file)
@@ -12,6 +12,8 @@
 
 #include "llvm/Target/MRegisterInfo.h"
 
+#include <assert.h>
+
 class TargetRegisterClass;
 
 class SSARegMap {
index a7ec6331bd5c658fc7a910f94b0cba01571c1d26..322764797b32d30cdc25d1b640b3f2fc3b6a2173 100644 (file)
@@ -7,6 +7,7 @@
 #ifndef LLVM_CONSTANT_H
 #define LLVM_CONSTANT_H
 
+#include <assert.h>
 #include "llvm/User.h"
 
 class Constant : public User {
index 2401ad7596b2b5ff7c7e7531bb03a69083844a89..7589bb9a35c6ee36d1f3b8f60a0234ede8bb0eb0 100644 (file)
@@ -33,6 +33,8 @@
 #ifndef LLVM_CONSTANTHANDLING_H
 #define LLVM_CONSTANTHANDLING_H
 
+#include <assert.h>
+
 #include "llvm/Constants.h"
 #include "llvm/Type.h"
 class PointerType;
index 77c39452d18488c102c8e4704f1e1421c59bad29..07d516bc173a27125d970ced4f48d052542b07d4 100644 (file)
@@ -8,6 +8,8 @@
 #ifndef LLVM_CONSTANTS_H
 #define LLVM_CONSTANTS_H
 
+#include <assert.h>
+
 #include "llvm/Constant.h"
 #include "Support/DataTypes.h"
 
index 3e9450ab7fdd3336a04822efb63b71bd1d4c5d03..ed1856f770bc2b2463a6c879f9e67455788e2436 100644 (file)
@@ -11,6 +11,8 @@
 #ifndef LLVM_DERIVED_TYPES_H
 #define LLVM_DERIVED_TYPES_H
 
+#include <assert.h>
+
 #include "llvm/Type.h"
 
 class DerivedType : public Type {
index 6fb74a3dbefb247dff94ca9f6f005ab38de52bc4..c32b15c2d5a93658b5aafcf24a11910f18ba09aa 100644 (file)
@@ -13,6 +13,8 @@
 #ifndef LLVM_GLOBAL_VARIABLE_H
 #define LLVM_GLOBAL_VARIABLE_H
 
+#include <assert.h>
+
 #include "llvm/GlobalValue.h"
 class Module;
 class Constant;
index 5f61b2d410879f993dadd1efe9301d0b60c3c2ce..aaf2d72a30a2a1a598de54e1d2a0e35585f665a7 100644 (file)
@@ -8,6 +8,8 @@
 #ifndef LLVM_INSTRUCTION_H
 #define LLVM_INSTRUCTION_H
 
+#include <assert.h>
+
 #include "llvm/User.h"
 template<typename SC> struct ilist_traits;
 template<typename ValueSubClass, typename ItemParentClass, typename SymTabClass,
index 344baa02baedabce29e0739f8f0667e0daf59f59..dbcbac8b39538210c6b7b1eb37dec439bc72875f 100644 (file)
@@ -22,6 +22,8 @@
 #ifndef LLVM_PASS_H
 #define LLVM_PASS_H
 
+#include <assert.h>
+
 #include <vector>
 #include <map>
 #include <iosfwd>
index 38987b56159d0c837b0b9a8f4cc189d2c46338bf..5b382703be28af803452b080e6f5004e159a7034 100644 (file)
@@ -14,7 +14,7 @@
 
 // No need to include Pass.h, we are being included by it!
 
-
+#include <assert.h>
 
 //===----------------------------------------------------------------------===//
 // AnalysisUsage - Represent the analysis usage information of a pass.  This
index 16115cf5f3518b2a60d7fb7d8892f59b264b6d76..2f6c316227a916bab10b8fa55f4446790c4eb24d 100644 (file)
@@ -14,6 +14,8 @@
 #ifndef LLVM_PASS_SUPPORT_H
 #define LLVM_PASS_SUPPORT_H
 
+#include <assert.h>
+
 // No need to include Pass.h, we are being included by it!
 
 class TargetMachine;
index d9c02db83202f9d580301d171c9f9e46acd64661..8dbad760d7a2b232ad45e6dc8d6702a3a4039b41 100644 (file)
@@ -16,6 +16,7 @@
 #define SUPPORT_ANNOTATION_H
 
 #include <string>
+#include <assert.h>
 class AnnotationID;
 class Annotation;
 class Annotable;
index aab0db9712b9f1aeefca7dd80dd148a64dd8e18c..7e2774a68836352ce65927fb4f1619fc6a19f1ca 100644 (file)
@@ -13,6 +13,8 @@
 #include "llvm/InstrTypes.h"
 #include "Support/iterator"
 
+#include <assert.h>
+
 //===--------------------------------------------------------------------===//
 // BasicBlock pred_iterator definition
 //===--------------------------------------------------------------------===//
index aafef95f56ff3474dd95e0be402d1894b9f3dada..b524c977f7cfec04b6580b715612a85a60c82091 100644 (file)
@@ -19,6 +19,8 @@
 #include <cstdarg>
 #include "boost/type_traits/object_traits.hpp"
 
+#include <assert.h>
+
 /// cl Namespace - This namespace contains all of the command line option
 /// processing machinery.  It is intentionally a short name to make qualified
 /// usage concise.
index 7141c2fb2675128ebe32a4d18467a3e1ed8df9b7..e4508a366f5891472567cc085bc68aa42fd6812a 100644 (file)
@@ -44,6 +44,8 @@
 #define LLVM_SUPPORT_INSTVISITOR_H
 
 #include "llvm/Instruction.h"
+#include <assert.h>
+
 class Module;
 
 // We operate on opaque instruction classes, so forward declare all instruction
index c324161f3087c61482b0281395d0a79e218b87e3..a1d525f21a3090fe1700f48388a6128e3364a753 100644 (file)
@@ -20,6 +20,7 @@
 #include "llvm/Pass.h"
 #include <algorithm>
 #include <iostream>
+#include <assert.h>
 
 //===----------------------------------------------------------------------===//
 // PassNameParser class - Make use of the pass registration mechanism to
index e89f32feab4cc1bef4d55f82c751f9624b106b56..40ab643928ae88ec9cd1ce87f0f145ddfd331865 100644 (file)
@@ -29,6 +29,8 @@
 #include <vector>
 #include <iosfwd>
 
+#include <assert.h>
+
 class TimerGroup;
 
 class Timer {
index fc5f470a65f739c8d2d0dc852e541c09fb94a472..4f4784743ec22a4fb7e8abab13bd2ec3ab9a3a7f 100644 (file)
@@ -16,6 +16,8 @@
 #ifndef LLVM_SYMBOL_TABLE_H
 #define LLVM_SYMBOL_TABLE_H
 
+#include <assert.h>
+
 #include "llvm/Value.h"
 #include <map>
 
index 5eb9fdecdc3d283bbc7ef2ce7c520831594eb781..6d5d374d2c11b7dcbf3c2bdf2cf2244a311151e0 100644 (file)
@@ -8,6 +8,8 @@
 #define LLVM_TARGET_TARGETCACHEINFO_H
 
 #include "Support/DataTypes.h"
+#include <assert.h>
+
 class TargetMachine;
 
 struct TargetCacheInfo {
index 806132e9d4191c6f2613d768e6a0e0d029afe557..33ccc2b51afe55cd57e68eb5847d4f2090e52329 100644 (file)
@@ -9,6 +9,7 @@
 
 #include "Support/DataTypes.h"
 #include <vector>
+#include <assert.h>
 
 class MachineInstr;
 class TargetMachine;
index 7808efca07fb3bd781220f9b2494c08ec89dd488..1b8c48186bb9c8c319f40806c8265640191948e0 100644 (file)
@@ -10,6 +10,7 @@
 
 #include "Support/hash_map"
 #include <string>
+#include <assert.h>
 
 class TargetMachine;
 class IGNode;
index 5d42d40bcbdf79f7c57ab116fe728f8cfe017061..b978cdfcccd8b95bd72a896e879c220e30183b48 100644 (file)
@@ -10,6 +10,7 @@
 #include "llvm/Target/TargetInstrInfo.h"
 #include "Support/hash_map"
 #include <string>
+#include <assert.h>
 
 typedef long long cycles_t; 
 static const cycles_t HUGE_LATENCY = ~((long long) 1 << (sizeof(cycles_t)-2));
index ce68c410e6787a1f8ff1b697a013f1151e21cbd4..751cdaf5ff92ea2f0dd2a350dedffbb69e4a5305 100644 (file)
@@ -12,6 +12,8 @@
 #ifndef LLVM_USER_H
 #define LLVM_USER_H
 
+#include <assert.h>
+
 #include "llvm/Value.h"
 
 class User : public Value {
index 45b8db367d8e27bfd9d165e4c099cf88d8ceb308..123aa0ac7089e94526d63eb6616c64bab418c7d7 100644 (file)
@@ -8,6 +8,8 @@
 #ifndef LLVM_IOTHER_H
 #define LLVM_IOTHER_H
 
+#include <assert.h>
+
 #include "llvm/InstrTypes.h"
 
 //===----------------------------------------------------------------------===//
index eba5a735542c2391dff74f371151c143d371c02f..1f6e5582d220c1a2992807a21b657e97f0d22dd8 100644 (file)
@@ -7,6 +7,8 @@
 #ifndef LLVM_IPHINODE_H
 #define LLVM_IPHINODE_H
 
+#include <assert.h>
+
 #include "llvm/Instruction.h"
 class BasicBlock;
 
index 35b07171ff13d5784813129eb0e9570393521855..312519eb45f6b27f36f5c7254afd143c4a1b3a6e 100644 (file)
@@ -9,6 +9,8 @@
 #ifndef LLVM_ITERMINATORS_H
 #define LLVM_ITERMINATORS_H
 
+#include <assert.h>
+
 #include "llvm/InstrTypes.h"
 
 //===---------------------------------------------------------------------------
index 2b782436aad5de3aada516438142799d4179b9b1..3b1344b85eddf8387a69b1691c2970f6332cd8c7 100644 (file)
@@ -26,6 +26,7 @@
 #define IG_NODE_H
 
 #include "llvm/CodeGen/LiveRange.h"
+#include <assert.h>
 class RegClass;
 
 //----------------------------------------------------------------------------
index ddaf329e53b464ee4adf960fabfe976e88e4e9eb..deab75d07462b63143a25d557d84d46317ed52bb 100644 (file)
@@ -14,6 +14,8 @@
 #include "llvm/CodeGen/ValueSet.h"
 #include "llvm/Value.h"
 
+#include <assert.h>
+
 class RegClass;
 class IGNode;
 class Type;
index ff171e9621d4e02fd64cb5eeb12c737d13695901..91b4dfdc5e277c9cea5f1d7b5e5f1d8bea6933fd 100644 (file)
@@ -20,6 +20,8 @@
 
 #include "Support/Annotation.h"
 #include <vector>
+#include <assert.h>
+
 class MachineInstr;
 class Instruction;
 class Value;
index e1902e77b38b4726a32f821717c0e321a539e23a..b7e22d8138349840cb589011b81b822c794751d5 100644 (file)
@@ -10,6 +10,8 @@
 #include "llvm/CodeGen/MachineInstr.h"
 #include "llvm/Target/TargetRegInfo.h"
 
+#include <assert.h>
+
 class Value;
 class TmpInstruction;
 class CallInst;
index 2b782436aad5de3aada516438142799d4179b9b1..3b1344b85eddf8387a69b1691c2970f6332cd8c7 100644 (file)
@@ -26,6 +26,7 @@
 #define IG_NODE_H
 
 #include "llvm/CodeGen/LiveRange.h"
+#include <assert.h>
 class RegClass;
 
 //----------------------------------------------------------------------------
index ddaf329e53b464ee4adf960fabfe976e88e4e9eb..deab75d07462b63143a25d557d84d46317ed52bb 100644 (file)
@@ -14,6 +14,8 @@
 #include "llvm/CodeGen/ValueSet.h"
 #include "llvm/Value.h"
 
+#include <assert.h>
+
 class RegClass;
 class IGNode;
 class Type;
index 2401ad7596b2b5ff7c7e7531bb03a69083844a89..7589bb9a35c6ee36d1f3b8f60a0234ede8bb0eb0 100644 (file)
@@ -33,6 +33,8 @@
 #ifndef LLVM_CONSTANTHANDLING_H
 #define LLVM_CONSTANTHANDLING_H
 
+#include <assert.h>
+
 #include "llvm/Constants.h"
 #include "llvm/Type.h"
 class PointerType;
index 2401ad7596b2b5ff7c7e7531bb03a69083844a89..7589bb9a35c6ee36d1f3b8f60a0234ede8bb0eb0 100644 (file)
@@ -33,6 +33,8 @@
 #ifndef LLVM_CONSTANTHANDLING_H
 #define LLVM_CONSTANTHANDLING_H
 
+#include <assert.h>
+
 #include "llvm/Constants.h"
 #include "llvm/Type.h"
 class PointerType;