Non-standard hash classes are not in the std:: namespace
authorChris Lattner <sabre@nondot.org>
Wed, 24 Jul 2002 21:21:33 +0000 (21:21 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 24 Jul 2002 21:21:33 +0000 (21:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3057 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/InstrForest.h
include/llvm/CodeGen/MachineCodeForMethod.h
include/llvm/CodeGen/MachineFunction.h
lib/CodeGen/RegAlloc/LiveRangeInfo.h
lib/Target/SparcV9/RegAlloc/LiveRangeInfo.h

index 6242dd48f01fd5864b266e2c9373b5fe74fcfa2e..650dbddf16290c75f9c8f038af0f3173b65d41e4 100644 (file)
@@ -247,7 +247,7 @@ protected:
 // 
 //------------------------------------------------------------------------ 
 
-class InstrForest : private std::hash_map<const Instruction *, InstructionNode*> {
+class InstrForest : private hash_map<const Instruction *, InstructionNode*> {
 public:
   // Use a vector for the root set to get a deterministic iterator
   // for stable code generation.  Even though we need to erase nodes
index e1b8e4f1f590c92ff48d21f9ca23fb17e4ab7f36..742d4b5c0f851727fa9d0440213d42c5188316d8 100644 (file)
@@ -21,8 +21,8 @@ class TargetMachine;
 
 
 class MachineCodeForMethod : private Annotation {
-  std::hash_set<const Constant*> constantsForConstPool;
-  std::hash_map<const Value*, int> offsets;
+  hash_set<const Constant*> constantsForConstPool;
+  hash_map<const Value*, int> offsets;
   const         Function* method;
   unsigned     staticStackSize;
   unsigned     automaticVarsSize;
@@ -60,7 +60,7 @@ public:
   inline unsigned getRegSpillsSize()       const { return regSpillsSize; }
   inline unsigned getMaxOptionalArgsSize() const { return maxOptionalArgsSize;}
   inline unsigned getMaxOptionalNumArgs()  const { return maxOptionalNumArgs;}
-  inline const std::hash_set<const Constant*>&
+  inline const hash_set<const Constant*>&
                   getConstantPoolValues() const {return constantsForConstPool;}
   
   //
index e1b8e4f1f590c92ff48d21f9ca23fb17e4ab7f36..742d4b5c0f851727fa9d0440213d42c5188316d8 100644 (file)
@@ -21,8 +21,8 @@ class TargetMachine;
 
 
 class MachineCodeForMethod : private Annotation {
-  std::hash_set<const Constant*> constantsForConstPool;
-  std::hash_map<const Value*, int> offsets;
+  hash_set<const Constant*> constantsForConstPool;
+  hash_map<const Value*, int> offsets;
   const         Function* method;
   unsigned     staticStackSize;
   unsigned     automaticVarsSize;
@@ -60,7 +60,7 @@ public:
   inline unsigned getRegSpillsSize()       const { return regSpillsSize; }
   inline unsigned getMaxOptionalArgsSize() const { return maxOptionalArgsSize;}
   inline unsigned getMaxOptionalNumArgs()  const { return maxOptionalNumArgs;}
-  inline const std::hash_set<const Constant*>&
+  inline const hash_set<const Constant*>&
                   getConstantPoolValues() const {return constantsForConstPool;}
   
   //
index 9fc3c64fe99dce1aeabe4901626cbbe40da98945..0ae5b341787683fb740b06418e083790f89a201e 100644 (file)
@@ -31,7 +31,7 @@ class Value;
 class Function;
 class Instruction;
 
-typedef std::hash_map<const Value*, LiveRange*> LiveRangeMapType;
+typedef hash_map<const Value*, LiveRange*> LiveRangeMapType;
 typedef std::vector<MachineInstr*> CallRetInstrListType;
 
 //----------------------------------------------------------------------------
index 9fc3c64fe99dce1aeabe4901626cbbe40da98945..0ae5b341787683fb740b06418e083790f89a201e 100644 (file)
@@ -31,7 +31,7 @@ class Value;
 class Function;
 class Instruction;
 
-typedef std::hash_map<const Value*, LiveRange*> LiveRangeMapType;
+typedef hash_map<const Value*, LiveRange*> LiveRangeMapType;
 typedef std::vector<MachineInstr*> CallRetInstrListType;
 
 //----------------------------------------------------------------------------