Home | History | Annotate | Download | only in LD

Lines Matching refs:Key

102   /** \class Key
103 * \brief Key to recognize a stub in the island.
106 class Key {
108 Key(const Stub* pPrototype, const LDSymbol* pSymbol, Stub::SWord pAddend)
111 ~Key() {}
120 size_t operator()(const Key& KEY) const {
121 llvm::StringRef sym_name(KEY.symbol()->name());
123 return (size_t((uintptr_t)KEY.prototype())) ^ str_hasher(sym_name) ^
124 KEY.addend();
129 bool operator()(const Key& KEY1, const Key& KEY2) const {
157 typedef HashEntry<Key, Stub*, Key::Compare> StubEntryType;
159 typedef HashTable<StubEntryType, Key::Hash, EntryFactory<StubEntryType> >