From: Chris Lattner Date: Mon, 28 Oct 2002 02:11:53 +0000 (+0000) Subject: Don't #include , #include "Support/*" X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4a63b72df95b5c0d4af064cef19377f811ba6060;p=oota-llvm.git Don't #include , #include "Support/*" git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4325 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/Support/DepthFirstIterator.h b/include/Support/DepthFirstIterator.h index e0782ac83aa..7ae4b9dc6ff 100644 --- a/include/Support/DepthFirstIterator.h +++ b/include/Support/DepthFirstIterator.h @@ -9,7 +9,7 @@ #define LLVM_SUPPORT_DEPTH_FIRST_ITERATOR_H #include "Support/GraphTraits.h" -#include +#include "Support/iterator" #include #include diff --git a/include/Support/HashExtras.h b/include/Support/HashExtras.h index 5887a831162..68a49eac9e9 100644 --- a/include/Support/HashExtras.h +++ b/include/Support/HashExtras.h @@ -11,7 +11,7 @@ #define LLVM_SUPPORT_HASHEXTRAS_H #include -#include +#include "Support/hash_map" // Cannot specialize hash template from outside of the std namespace. namespace HASH_NAMESPACE { diff --git a/include/Support/MathExtras.h b/include/Support/MathExtras.h index d9076580b7e..d73394149ba 100644 --- a/include/Support/MathExtras.h +++ b/include/Support/MathExtras.h @@ -7,7 +7,7 @@ #ifndef SUPPORT_MATH_EXTRAS_H #define SUPPORT_MATH_EXTRAS_H -#include +#include "Support/DataTypes.h" inline unsigned log2(uint64_t C) { unsigned getPow; diff --git a/include/Support/PostOrderIterator.h b/include/Support/PostOrderIterator.h index a9f13da03de..507f4c2a0b2 100644 --- a/include/Support/PostOrderIterator.h +++ b/include/Support/PostOrderIterator.h @@ -10,7 +10,7 @@ #define LLVM_SUPPORT_POSTORDER_ITERATOR_H #include "Support/GraphTraits.h" -#include +#include "Support/iterator" #include #include diff --git a/include/llvm/ADT/DepthFirstIterator.h b/include/llvm/ADT/DepthFirstIterator.h index e0782ac83aa..7ae4b9dc6ff 100644 --- a/include/llvm/ADT/DepthFirstIterator.h +++ b/include/llvm/ADT/DepthFirstIterator.h @@ -9,7 +9,7 @@ #define LLVM_SUPPORT_DEPTH_FIRST_ITERATOR_H #include "Support/GraphTraits.h" -#include +#include "Support/iterator" #include #include diff --git a/include/llvm/ADT/HashExtras.h b/include/llvm/ADT/HashExtras.h index 5887a831162..68a49eac9e9 100644 --- a/include/llvm/ADT/HashExtras.h +++ b/include/llvm/ADT/HashExtras.h @@ -11,7 +11,7 @@ #define LLVM_SUPPORT_HASHEXTRAS_H #include -#include +#include "Support/hash_map" // Cannot specialize hash template from outside of the std namespace. namespace HASH_NAMESPACE { diff --git a/include/llvm/ADT/PostOrderIterator.h b/include/llvm/ADT/PostOrderIterator.h index a9f13da03de..507f4c2a0b2 100644 --- a/include/llvm/ADT/PostOrderIterator.h +++ b/include/llvm/ADT/PostOrderIterator.h @@ -10,7 +10,7 @@ #define LLVM_SUPPORT_POSTORDER_ITERATOR_H #include "Support/GraphTraits.h" -#include +#include "Support/iterator" #include #include diff --git a/include/llvm/Analysis/ConstantsScanner.h b/include/llvm/Analysis/ConstantsScanner.h index 5e0ee61636d..8035409bbf9 100644 --- a/include/llvm/Analysis/ConstantsScanner.h +++ b/include/llvm/Analysis/ConstantsScanner.h @@ -11,7 +11,7 @@ #include "llvm/Support/InstIterator.h" #include "llvm/Instruction.h" -#include +#include "Support/iterator" class Constant; class constant_iterator : public forward_iterator { diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h index 69eed2d72f3..ca9c3a3aecb 100644 --- a/include/llvm/CodeGen/MachineInstr.h +++ b/include/llvm/CodeGen/MachineInstr.h @@ -11,7 +11,7 @@ #include "llvm/Target/MachineInstrInfo.h" #include "llvm/Annotation.h" -#include +#include "Support/iterator" class Instruction; //--------------------------------------------------------------------------- diff --git a/include/llvm/Support/MathExtras.h b/include/llvm/Support/MathExtras.h index d9076580b7e..d73394149ba 100644 --- a/include/llvm/Support/MathExtras.h +++ b/include/llvm/Support/MathExtras.h @@ -7,7 +7,7 @@ #ifndef SUPPORT_MATH_EXTRAS_H #define SUPPORT_MATH_EXTRAS_H -#include +#include "Support/DataTypes.h" inline unsigned log2(uint64_t C) { unsigned getPow; diff --git a/include/llvm/Target/TargetRegInfo.h b/include/llvm/Target/TargetRegInfo.h index 712a9b7fb3a..2ad92549e90 100644 --- a/include/llvm/Target/TargetRegInfo.h +++ b/include/llvm/Target/TargetRegInfo.h @@ -9,7 +9,7 @@ #define LLVM_TARGET_MACHINEREGINFO_H #include "Support/NonCopyable.h" -#include +#include "Support/hash_map" #include class TargetMachine; diff --git a/include/llvm/Target/TargetSchedInfo.h b/include/llvm/Target/TargetSchedInfo.h index 9bb7068cdfd..48da1c1d3ba 100644 --- a/include/llvm/Target/TargetSchedInfo.h +++ b/include/llvm/Target/TargetSchedInfo.h @@ -8,7 +8,7 @@ #define LLVM_TARGET_MACHINESCHEDINFO_H #include "llvm/Target/MachineInstrInfo.h" -#include +#include "Support/hash_map" typedef long long cycles_t; static const cycles_t HUGE_LATENCY = ~((long long) 1 << (sizeof(cycles_t)-2)); diff --git a/lib/CodeGen/InstrSched/SchedPriorities.h b/lib/CodeGen/InstrSched/SchedPriorities.h index 31d974dc4bb..1366884b580 100644 --- a/lib/CodeGen/InstrSched/SchedPriorities.h +++ b/lib/CodeGen/InstrSched/SchedPriorities.h @@ -16,8 +16,8 @@ #include "SchedGraph.h" #include "llvm/CodeGen/InstrScheduling.h" #include "llvm/Target/MachineSchedInfo.h" +#include "Support/hash_set" #include -#include class Function; class MachineInstr; diff --git a/lib/Target/SparcV9/InstrSched/SchedPriorities.h b/lib/Target/SparcV9/InstrSched/SchedPriorities.h index 31d974dc4bb..1366884b580 100644 --- a/lib/Target/SparcV9/InstrSched/SchedPriorities.h +++ b/lib/Target/SparcV9/InstrSched/SchedPriorities.h @@ -16,8 +16,8 @@ #include "SchedGraph.h" #include "llvm/CodeGen/InstrScheduling.h" #include "llvm/Target/MachineSchedInfo.h" +#include "Support/hash_set" #include -#include class Function; class MachineInstr;