Home | History | Annotate | Download | only in LD

Lines Matching defs:Key

98   /** \class Key
99 * \brief Key to recognize a stub in the island.
102 class Key {
104 Key(const Stub* pPrototype, const LDSymbol* pSymbol, Stub::SWord pAddend)
107 ~Key() {}
116 size_t operator()(const Key& KEY) const {
117 llvm::StringRef sym_name(KEY.symbol()->name());
119 return (size_t((uintptr_t)KEY.prototype())) ^ str_hasher(sym_name) ^
120 KEY.addend();
125 bool operator()(const Key& KEY1, const Key& KEY2) const {
153 typedef HashEntry<Key, Stub*, Key::Compare> StubEntryType;
155 typedef HashTable<StubEntryType, Key::Hash, EntryFactory<StubEntryType> >