llvm.org GIT mirror llvm / 1089790
Non-standard hash classes are not in the std:: namespace git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3057 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 18 years ago
5 changed file(s) with 9 addition(s) and 9 deletion(s). Raw diff Collapse all Expand all
246246 //
247247 //------------------------------------------------------------------------
248248
249 class InstrForest : private std::hash_map {
249 class InstrForest : private hash_map {
250250 public:
251251 // Use a vector for the root set to get a deterministic iterator
252252 // for stable code generation. Even though we need to erase nodes
2020
2121
2222 class MachineCodeForMethod : private Annotation {
23 std::hash_set constantsForConstPool;
24 std::hash_map offsets;
23 hash_set constantsForConstPool;
24 hash_map offsets;
2525 const Function* method;
2626 unsigned staticStackSize;
2727 unsigned automaticVarsSize;
5959 inline unsigned getRegSpillsSize() const { return regSpillsSize; }
6060 inline unsigned getMaxOptionalArgsSize() const { return maxOptionalArgsSize;}
6161 inline unsigned getMaxOptionalNumArgs() const { return maxOptionalNumArgs;}
62 inline const std::hash_set&
62 inline const hash_set&
6363 getConstantPoolValues() const {return constantsForConstPool;}
6464
6565 //
2020
2121
2222 class MachineCodeForMethod : private Annotation {
23 std::hash_set constantsForConstPool;
24 std::hash_map offsets;
23 hash_set constantsForConstPool;
24 hash_map offsets;
2525 const Function* method;
2626 unsigned staticStackSize;
2727 unsigned automaticVarsSize;
5959 inline unsigned getRegSpillsSize() const { return regSpillsSize; }
6060 inline unsigned getMaxOptionalArgsSize() const { return maxOptionalArgsSize;}
6161 inline unsigned getMaxOptionalNumArgs() const { return maxOptionalNumArgs;}
62 inline const std::hash_set&
62 inline const hash_set&
6363 getConstantPoolValues() const {return constantsForConstPool;}
6464
6565 //
3030 class Function;
3131 class Instruction;
3232
33 typedef std::hash_map LiveRangeMapType;
33 typedef hash_map LiveRangeMapType;
3434 typedef std::vector CallRetInstrListType;
3535
3636 //----------------------------------------------------------------------------
3030 class Function;
3131 class Instruction;
3232
33 typedef std::hash_map LiveRangeMapType;
33 typedef hash_map LiveRangeMapType;
3434 typedef std::vector CallRetInstrListType;
3535
3636 //----------------------------------------------------------------------------