Remove a ton of extraneous #includes
authorChris Lattner <sabre@nondot.org>
Sun, 22 Jun 2003 03:08:05 +0000 (03:08 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 22 Jun 2003 03:08:05 +0000 (03:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6842 91177308-0d34-0410-b5e6-96231b3b80d8

60 files changed:
include/Support/CommandLine.h
include/Support/SCCIterator.h
include/Support/Timer.h
include/Support/Tree.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/DSSupport.h
include/llvm/Analysis/DataStructure.h
include/llvm/Analysis/DataStructure/DSGraph.h
include/llvm/Analysis/DataStructure/DSGraphTraits.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/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/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/MRegisterInfo.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 728bb1467835f71e9a886e6f92e4dc27b161e035..ed2559bd2b9f1af962eddc1a4cf789896efc9585 100644 (file)
@@ -18,7 +18,6 @@
 #include <utility>
 #include <cstdarg>
 #include "boost/type_traits/object_traits.hpp"
-
 #include <assert.h>
 
 /// cl Namespace - This namespace contains all of the command line option
index b7037701e06b35722640fb970c8d59c776603c4f..a06e186a90207e1c31cf72db39e7465e8c0f27d3 100644 (file)
@@ -1,4 +1,4 @@
-//===-- Support/TarjanSCCIterator.h -Generic Tarjan SCC iterator -*- C++ -*--=//
+//===-- Support/TarjanSCCIterator.h - Tarjan SCC iterator -------*- C++ -*-===//
 //
 // This builds on the Support/GraphTraits.h file to find the strongly 
 // connected components (SCCs) of a graph in O(N+E) time using
@@ -9,18 +9,18 @@
 // 
 // To visit S1 *before* S2, use the TarjanSCCIterator on the Inverse graph.
 // (NOTE: This requires some simple wrappers and is not supported yet.)
+//
 //===----------------------------------------------------------------------===//
 
 #ifndef SUPPORT_TARJANSCCITERATOR_H
 #define SUPPORT_TARJANSCCITERATOR_H
 
 #include "Support/GraphTraits.h"
-#include <Support/Statistic.h>
-#include <Support/iterator>
+#include "Support/Statistic.h"
+#include "Support/iterator"
 #include <vector>
 #include <stack>
 #include <map>
-
 #include <assert.h>
 
 //--------------------------------------------------------------------------
index 40ab643928ae88ec9cd1ce87f0f145ddfd331865..5cacadaf1ce2b397ec5c30ce72cef317a6693571 100644 (file)
@@ -28,7 +28,6 @@
 #include <string>
 #include <vector>
 #include <iosfwd>
-
 #include <assert.h>
 
 class TimerGroup;
@@ -64,7 +63,7 @@ public:
     PeakMemBase = T.PeakMemBase;
     Name = T.Name;
     Started = T.Started;
-    assert (TG == T.TG && "Can only assign timers in the same TimerGroup!");
+    assert(TG == T.TG && "Can only assign timers in the same TimerGroup!");
     return *this;
   }
 
index 9979caaf312d84317a12e0e996f980c90a2bc5f5..7a3e9c43505f9e8d13acf7e738a2ee92fff186eb 100644 (file)
@@ -9,7 +9,6 @@
 #define SUPPORT_TREE_H
 
 #include <vector>
-
 #include <assert.h>
 
 template<class ConcreteTreeNode, class Payload>
index b7037701e06b35722640fb970c8d59c776603c4f..a06e186a90207e1c31cf72db39e7465e8c0f27d3 100644 (file)
@@ -1,4 +1,4 @@
-//===-- Support/TarjanSCCIterator.h -Generic Tarjan SCC iterator -*- C++ -*--=//
+//===-- Support/TarjanSCCIterator.h - Tarjan SCC iterator -------*- C++ -*-===//
 //
 // This builds on the Support/GraphTraits.h file to find the strongly 
 // connected components (SCCs) of a graph in O(N+E) time using
@@ -9,18 +9,18 @@
 // 
 // To visit S1 *before* S2, use the TarjanSCCIterator on the Inverse graph.
 // (NOTE: This requires some simple wrappers and is not supported yet.)
+//
 //===----------------------------------------------------------------------===//
 
 #ifndef SUPPORT_TARJANSCCITERATOR_H
 #define SUPPORT_TARJANSCCITERATOR_H
 
 #include "Support/GraphTraits.h"
-#include <Support/Statistic.h>
-#include <Support/iterator>
+#include "Support/Statistic.h"
+#include "Support/iterator"
 #include <vector>
 #include <stack>
 #include <map>
-
 #include <assert.h>
 
 //--------------------------------------------------------------------------
index 9979caaf312d84317a12e0e996f980c90a2bc5f5..7a3e9c43505f9e8d13acf7e738a2ee92fff186eb 100644 (file)
@@ -9,7 +9,6 @@
 #define SUPPORT_TREE_H
 
 #include <vector>
-
 #include <assert.h>
 
 template<class ConcreteTreeNode, class Payload>
index d2f22f36bbb9dbea1b7dff5abbab11f4016ee4c3..45867ae9162621214459eece2da0ce4602dd2de9 100644 (file)
@@ -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 69dc5cf44212dbf78d16dfffd905da3145d41828..fde7c82abbe72a791da69dfe5ee37f5a31a4e711 100644 (file)
@@ -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 c3d112f27b94f9a20f69bbd7da9a2ac77e5b601e..8035409bbf949483d23e8a3e77d8806f0cd3960f 100644 (file)
@@ -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 c1f941c735b0f22a5d51ac7103ef5a3bb6993b5e..9a897b2c97c153d9f94b11c052e4a73789b6019b 100644 (file)
@@ -7,8 +7,6 @@
 #ifndef LLVM_ANALYSIS_DSGRAPH_H
 #define LLVM_ANALYSIS_DSGRAPH_H
 
-#include <assert.h>
-
 #include "llvm/Analysis/DSNode.h"
 
 //===----------------------------------------------------------------------===//
index 95cbbd7b0c9364f463a81b71bfed0f91f94f1b91..7ea30c02c0db412b6b727ab9c7d459c2a7fc8d3e 100644 (file)
@@ -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 cc989f77361297f42a9e4a4d0e249560485e92dc..1e886fe7c26da97cafa5e16dd2afabed4aea2490 100644 (file)
@@ -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 fad56d966c3b9c75473038914d24aa8332915651..ebcc3c5c6456258a8295db22e8f6b7795ea7cfff 100644 (file)
@@ -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 c1f941c735b0f22a5d51ac7103ef5a3bb6993b5e..9a897b2c97c153d9f94b11c052e4a73789b6019b 100644 (file)
@@ -7,8 +7,6 @@
 #ifndef LLVM_ANALYSIS_DSGRAPH_H
 #define LLVM_ANALYSIS_DSGRAPH_H
 
-#include <assert.h>
-
 #include "llvm/Analysis/DSNode.h"
 
 //===----------------------------------------------------------------------===//
index 95cbbd7b0c9364f463a81b71bfed0f91f94f1b91..7ea30c02c0db412b6b727ab9c7d459c2a7fc8d3e 100644 (file)
@@ -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 cc989f77361297f42a9e4a4d0e249560485e92dc..1e886fe7c26da97cafa5e16dd2afabed4aea2490 100644 (file)
@@ -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 fad56d966c3b9c75473038914d24aa8332915651..ebcc3c5c6456258a8295db22e8f6b7795ea7cfff 100644 (file)
@@ -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 10013f7f4c1392b25ff21d25cc9268666a5fc02c..65831f980c54df9bd17049358654417497d43953 100644 (file)
@@ -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 3a4c4080a35690eed78cbb604bbe2be1d9facbe6..7881d82125b112792bb3df9dbf37ce9d114f4db0 100644 (file)
@@ -20,7 +20,6 @@
 
 #include "llvm/Pass.h"
 #include <set>
-#include <assert.h>
 class Instruction;
 
 template <typename GraphType> struct GraphTraits;
index a32203308c76ac3fb84056dfb5acb869bf3023cb..eed264f9785b3cf17b78d6e6b99ab0faf458bd74 100644 (file)
@@ -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 81b3506414e07f8ef2d285e9559885102fba34dc..56a918bd43995c42783cc98c85f7f273a9c605b1 100644 (file)
 #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 6b50080691839c71c14be337bda593d59e834691..09bfc92aeb265324498c263ec38419ae62294d93 100644 (file)
 
 #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 71adc123a56e1c9ade2c0558c3b4f946a619f4f1..4263f395e55219b018f178218515af94907dc8cc 100644 (file)
@@ -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
 #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
index d5b2a148f28003c59a9a9f34631f55fbd8531a47..25fa55f1fa9ecdb760cd0e7c2f8bbcd0a17cf1ed 100644 (file)
@@ -26,6 +26,7 @@
 //
 // class PgmDependenceGraph -- Interface to obtain PDGIterators for each
 //                          instruction.
+//
 //===----------------------------------------------------------------------===//
 
 #ifndef LLVM_ANALYSIS_PGMDEPENDENCEGRAPH_H
 #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;
index d6eaf7673ad83ff2a2271a89727a0da6c5a08a9f..0b623d125ee5cff5edb63942d9946f0302b838ac 100644 (file)
 
 #include "llvm/Instruction.h"
 #include "Support/HashExtras.h"
-#include <assert.h>
 
 class Constant;
-class BasicBlock;
 class Function;
 class InstrTreeNode;
 class InstrForest;
index a305578bfbbdca58a9a6001286ffe006876f6e14..c1ed86ed4363dce9283e7af96761bef04832d6e4 100644 (file)
@@ -8,7 +8,6 @@
 #define LLVM_CODEGEN_INSTR_SELECTION_H
 
 #include "llvm/Instruction.h"
-#include <assert.h>
 class Function;
 class InstrForest;
 class MachineInstr;
index 881fce4b0dceef45d40d4fded6fba096f6567ab5..51d3e82e771591cfddb9cd27969833d567f83ede 100644 (file)
@@ -24,7 +24,6 @@
 
 #include "llvm/CodeGen/MachineFunctionPass.h"
 #include <map>
-#include <assert.h>
 
 class MRegisterInfo;
 
index 91b4dfdc5e277c9cea5f1d7b5e5f1d8bea6933fd..25994a94a38f761b2423a98b52f41951ff4442ad 100644 (file)
@@ -20,7 +20,6 @@
 
 #include "Support/Annotation.h"
 #include <vector>
-#include <assert.h>
 
 class MachineInstr;
 class Instruction;
index 3c2f9abc257aeaceed935737a417c57900b1f583..721b513c747d0d5b4bd6d0186ae9e7ca459a569e 100644 (file)
@@ -13,7 +13,6 @@
 #include "Support/Annotation.h"
 #include "Support/iterator"
 #include <set>
-#include <assert.h>
 
 class Value;
 class Function;
index b7e22d8138349840cb589011b81b822c794751d5..e1902e77b38b4726a32f821717c0e321a539e23a 100644 (file)
@@ -10,8 +10,6 @@
 #include "llvm/CodeGen/MachineInstr.h"
 #include "llvm/Target/TargetRegInfo.h"
 
-#include <assert.h>
-
 class Value;
 class TmpInstruction;
 class CallInst;
index ced04354cf44952f02856d14ce9e57d9c43ff0bc..b1b00ac049155311c6ebcc562cefce5bdb48d7c9 100644 (file)
@@ -11,9 +11,6 @@
 #define LLVM_CODEGEN_SSAREGMAP_H
 
 #include "llvm/Target/MRegisterInfo.h"
-
-#include <assert.h>
-
 class TargetRegisterClass;
 
 class SSARegMap {
index 322764797b32d30cdc25d1b640b3f2fc3b6a2173..a7ec6331bd5c658fc7a910f94b0cba01571c1d26 100644 (file)
@@ -7,7 +7,6 @@
 #ifndef LLVM_CONSTANT_H
 #define LLVM_CONSTANT_H
 
-#include <assert.h>
 #include "llvm/User.h"
 
 class Constant : public User {
index 7589bb9a35c6ee36d1f3b8f60a0234ede8bb0eb0..2401ad7596b2b5ff7c7e7531bb03a69083844a89 100644 (file)
@@ -33,8 +33,6 @@
 #ifndef LLVM_CONSTANTHANDLING_H
 #define LLVM_CONSTANTHANDLING_H
 
-#include <assert.h>
-
 #include "llvm/Constants.h"
 #include "llvm/Type.h"
 class PointerType;
index 07d516bc173a27125d970ced4f48d052542b07d4..77c39452d18488c102c8e4704f1e1421c59bad29 100644 (file)
@@ -8,8 +8,6 @@
 #ifndef LLVM_CONSTANTS_H
 #define LLVM_CONSTANTS_H
 
-#include <assert.h>
-
 #include "llvm/Constant.h"
 #include "Support/DataTypes.h"
 
index bd44bd27200ac87088c4ccd0e6b343cf078250fa..76a4e0f8ac2d155e2711e4bad925a269b4881adb 100644 (file)
@@ -11,8 +11,6 @@
 #ifndef LLVM_DERIVED_TYPES_H
 #define LLVM_DERIVED_TYPES_H
 
-#include <assert.h>
-
 #include "llvm/Type.h"
 
 class DerivedType : public Type {
index c32b15c2d5a93658b5aafcf24a11910f18ba09aa..6fb74a3dbefb247dff94ca9f6f005ab38de52bc4 100644 (file)
@@ -13,8 +13,6 @@
 #ifndef LLVM_GLOBAL_VARIABLE_H
 #define LLVM_GLOBAL_VARIABLE_H
 
-#include <assert.h>
-
 #include "llvm/GlobalValue.h"
 class Module;
 class Constant;
index aaf2d72a30a2a1a598de54e1d2a0e35585f665a7..5f61b2d410879f993dadd1efe9301d0b60c3c2ce 100644 (file)
@@ -8,8 +8,6 @@
 #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 dbcbac8b39538210c6b7b1eb37dec439bc72875f..7ca3fddaf1e3945fed59a5a6f5d3f66d70a28366 100644 (file)
@@ -23,7 +23,6 @@
 #define LLVM_PASS_H
 
 #include <assert.h>
-
 #include <vector>
 #include <map>
 #include <iosfwd>
index 5b382703be28af803452b080e6f5004e159a7034..97588c3ae3499002f5ae3b82c2b35939318d7e5a 100644 (file)
@@ -14,8 +14,6 @@
 
 // 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
 // tracks analyses that the pass REQUIRES (must available when the pass runs),
index 2f6c316227a916bab10b8fa55f4446790c4eb24d..16115cf5f3518b2a60d7fb7d8892f59b264b6d76 100644 (file)
@@ -14,8 +14,6 @@
 #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 7e2774a68836352ce65927fb4f1619fc6a19f1ca..aab0db9712b9f1aeefca7dd80dd148a64dd8e18c 100644 (file)
@@ -13,8 +13,6 @@
 #include "llvm/InstrTypes.h"
 #include "Support/iterator"
 
-#include <assert.h>
-
 //===--------------------------------------------------------------------===//
 // BasicBlock pred_iterator definition
 //===--------------------------------------------------------------------===//
index 728bb1467835f71e9a886e6f92e4dc27b161e035..ed2559bd2b9f1af962eddc1a4cf789896efc9585 100644 (file)
@@ -18,7 +18,6 @@
 #include <utility>
 #include <cstdarg>
 #include "boost/type_traits/object_traits.hpp"
-
 #include <assert.h>
 
 /// cl Namespace - This namespace contains all of the command line option
index e4508a366f5891472567cc085bc68aa42fd6812a..6004aac88fddccb4a35a9b491fb3970afd9ffe51 100644 (file)
@@ -44,7 +44,6 @@
 #define LLVM_SUPPORT_INSTVISITOR_H
 
 #include "llvm/Instruction.h"
-#include <assert.h>
 
 class Module;
 
index a1d525f21a3090fe1700f48388a6128e3364a753..c324161f3087c61482b0281395d0a79e218b87e3 100644 (file)
@@ -20,7 +20,6 @@
 #include "llvm/Pass.h"
 #include <algorithm>
 #include <iostream>
-#include <assert.h>
 
 //===----------------------------------------------------------------------===//
 // PassNameParser class - Make use of the pass registration mechanism to
index 40ab643928ae88ec9cd1ce87f0f145ddfd331865..5cacadaf1ce2b397ec5c30ce72cef317a6693571 100644 (file)
@@ -28,7 +28,6 @@
 #include <string>
 #include <vector>
 #include <iosfwd>
-
 #include <assert.h>
 
 class TimerGroup;
@@ -64,7 +63,7 @@ public:
     PeakMemBase = T.PeakMemBase;
     Name = T.Name;
     Started = T.Started;
-    assert (TG == T.TG && "Can only assign timers in the same TimerGroup!");
+    assert(TG == T.TG && "Can only assign timers in the same TimerGroup!");
     return *this;
   }
 
index 4f4784743ec22a4fb7e8abab13bd2ec3ab9a3a7f..fc5f470a65f739c8d2d0dc852e541c09fb94a472 100644 (file)
@@ -16,8 +16,6 @@
 #ifndef LLVM_SYMBOL_TABLE_H
 #define LLVM_SYMBOL_TABLE_H
 
-#include <assert.h>
-
 #include "llvm/Value.h"
 #include <map>
 
index 41b01546ede295d7133fb9bdd60086d48fb757e5..bfe1db6761ea3206128e93ea9f73b8d7e7c6bc7c 100644 (file)
@@ -10,7 +10,6 @@
 #define LLVM_TARGET_MREGISTERINFO_H
 
 #include "llvm/CodeGen/MachineBasicBlock.h"
-#include <assert.h>
 
 class Type;
 class MachineFunction;
index b978cdfcccd8b95bd72a896e879c220e30183b48..5d42d40bcbdf79f7c57ab116fe728f8cfe017061 100644 (file)
@@ -10,7 +10,6 @@
 #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 bf398f4c80d3e83c32c6cdcaf1e928e523cc604a..cf0f53c4ad888d1cf9c985442077321499474daf 100644 (file)
@@ -12,8 +12,6 @@
 #ifndef LLVM_USER_H
 #define LLVM_USER_H
 
-#include <assert.h>
-
 #include "llvm/Value.h"
 
 class User : public Value {
index 123aa0ac7089e94526d63eb6616c64bab418c7d7..45b8db367d8e27bfd9d165e4c099cf88d8ceb308 100644 (file)
@@ -8,8 +8,6 @@
 #ifndef LLVM_IOTHER_H
 #define LLVM_IOTHER_H
 
-#include <assert.h>
-
 #include "llvm/InstrTypes.h"
 
 //===----------------------------------------------------------------------===//
index 1f6e5582d220c1a2992807a21b657e97f0d22dd8..eba5a735542c2391dff74f371151c143d371c02f 100644 (file)
@@ -7,8 +7,6 @@
 #ifndef LLVM_IPHINODE_H
 #define LLVM_IPHINODE_H
 
-#include <assert.h>
-
 #include "llvm/Instruction.h"
 class BasicBlock;
 
index ac8a1b39b8c662a2eaada11ec8aea4dca10d452f..16cfb19658a550b92004c3ea09958344a4f647c2 100644 (file)
@@ -9,8 +9,6 @@
 #ifndef LLVM_ITERMINATORS_H
 #define LLVM_ITERMINATORS_H
 
-#include <assert.h>
-
 #include "llvm/InstrTypes.h"
 
 //===---------------------------------------------------------------------------
index 3b1344b85eddf8387a69b1691c2970f6332cd8c7..2b782436aad5de3aada516438142799d4179b9b1 100644 (file)
@@ -26,7 +26,6 @@
 #define IG_NODE_H
 
 #include "llvm/CodeGen/LiveRange.h"
-#include <assert.h>
 class RegClass;
 
 //----------------------------------------------------------------------------
index deab75d07462b63143a25d557d84d46317ed52bb..588b7b526e06c2e485bd3323a6185712f84a3db3 100644 (file)
@@ -1,4 +1,4 @@
-//===-- LiveRange.h - Store info about a live range --------------*- C++ -*--=//
+//===-- LiveRange.h - Store info about a live range -------------*- C++ -*-===//
 //
 // Implements a live range using a ValueSet. A LiveRange is a simple set
 // of Values. 
 #include "llvm/CodeGen/ValueSet.h"
 #include "llvm/Value.h"
 
-#include <assert.h>
-
 class RegClass;
 class IGNode;
-class Type;
 
 class LiveRange : public ValueSet {
   RegClass *MyRegClass;       // register classs (e.g., int, FP) for this LR
index 91b4dfdc5e277c9cea5f1d7b5e5f1d8bea6933fd..25994a94a38f761b2423a98b52f41951ff4442ad 100644 (file)
@@ -20,7 +20,6 @@
 
 #include "Support/Annotation.h"
 #include <vector>
-#include <assert.h>
 
 class MachineInstr;
 class Instruction;
index b7e22d8138349840cb589011b81b822c794751d5..e1902e77b38b4726a32f821717c0e321a539e23a 100644 (file)
@@ -10,8 +10,6 @@
 #include "llvm/CodeGen/MachineInstr.h"
 #include "llvm/Target/TargetRegInfo.h"
 
-#include <assert.h>
-
 class Value;
 class TmpInstruction;
 class CallInst;
index 3b1344b85eddf8387a69b1691c2970f6332cd8c7..2b782436aad5de3aada516438142799d4179b9b1 100644 (file)
@@ -26,7 +26,6 @@
 #define IG_NODE_H
 
 #include "llvm/CodeGen/LiveRange.h"
-#include <assert.h>
 class RegClass;
 
 //----------------------------------------------------------------------------
index deab75d07462b63143a25d557d84d46317ed52bb..588b7b526e06c2e485bd3323a6185712f84a3db3 100644 (file)
@@ -1,4 +1,4 @@
-//===-- LiveRange.h - Store info about a live range --------------*- C++ -*--=//
+//===-- LiveRange.h - Store info about a live range -------------*- C++ -*-===//
 //
 // Implements a live range using a ValueSet. A LiveRange is a simple set
 // of Values. 
 #include "llvm/CodeGen/ValueSet.h"
 #include "llvm/Value.h"
 
-#include <assert.h>
-
 class RegClass;
 class IGNode;
-class Type;
 
 class LiveRange : public ValueSet {
   RegClass *MyRegClass;       // register classs (e.g., int, FP) for this LR
index 7589bb9a35c6ee36d1f3b8f60a0234ede8bb0eb0..2401ad7596b2b5ff7c7e7531bb03a69083844a89 100644 (file)
@@ -33,8 +33,6 @@
 #ifndef LLVM_CONSTANTHANDLING_H
 #define LLVM_CONSTANTHANDLING_H
 
-#include <assert.h>
-
 #include "llvm/Constants.h"
 #include "llvm/Type.h"
 class PointerType;
index 7589bb9a35c6ee36d1f3b8f60a0234ede8bb0eb0..2401ad7596b2b5ff7c7e7531bb03a69083844a89 100644 (file)
@@ -33,8 +33,6 @@
 #ifndef LLVM_CONSTANTHANDLING_H
 #define LLVM_CONSTANTHANDLING_H
 
-#include <assert.h>
-
 #include "llvm/Constants.h"
 #include "llvm/Type.h"
 class PointerType;