Lines Matching defs:Key
61 internal_key_type GetInternalKey(external_key_type Key) { return Key; }
63 external_key_type GetExternalKey(internal_key_type Key) { return Key; }
77 static data_type ReadData(internal_key_type Key, const uint8_t *Data,
87 auto UnversionedData = Derived::readUnversioned(Key, Data);
149 internal_key_type GetInternalKey(external_key_type Key) { return Key; }
151 external_key_type GetExternalKey(internal_key_type Key) { return Key; }
153 hash_value_type ComputeHash(internal_key_type Key) {
154 return llvm::djbHash(Key);
189 internal_key_type GetInternalKey(external_key_type Key) { return Key; }
191 external_key_type GetExternalKey(internal_key_type Key) { return Key; }
193 hash_value_type ComputeHash(internal_key_type Key) {
194 return static_cast<size_t>(Key.hashValue());
218 static data_type ReadData(internal_key_type Key, const uint8_t *Data,
232 hash_value_type ComputeHash(internal_key_type Key) {
233 return static_cast<size_t>(llvm::hash_value(Key));
236 static ContextInfo readUnversioned(internal_key_type Key,
287 hash_value_type ComputeHash(internal_key_type Key) {
288 return static_cast<size_t>(llvm::hash_value(Key));
291 static ObjCPropertyInfo readUnversioned(internal_key_type Key,
366 hash_value_type ComputeHash(internal_key_type Key) {
367 return static_cast<size_t>(llvm::hash_value(Key));
370 static ObjCMethodInfo readUnversioned(internal_key_type Key,
393 internal_key_type GetInternalKey(external_key_type Key) { return Key; }
395 external_key_type GetExternalKey(internal_key_type Key) { return Key; }
397 hash_value_type ComputeHash(internal_key_type Key) {
398 return llvm::DenseMapInfo<StoredObjCSelector>::getHashValue(Key);
414 internal_key_type Key;
415 Key.NumArgs = endian::readNext<uint16_t, llvm::endianness::little>(Data);
418 Key.Identifiers.push_back(
421 return Key;
424 static data_type ReadData(internal_key_type Key, const uint8_t *Data,
441 hash_value_type ComputeHash(internal_key_type Key) {
442 return static_cast<size_t>(Key.hashValue());
445 static GlobalVariableInfo readUnversioned(internal_key_type Key,
464 hash_value_type ComputeHash(internal_key_type Key) {
465 return static_cast<size_t>(Key.hashValue());
468 static GlobalFunctionInfo readUnversioned(internal_key_type Key,
487 hash_value_type ComputeHash(internal_key_type Key) {
488 return static_cast<size_t>(Key.hashValue());
491 static CXXMethodInfo readUnversioned(internal_key_type Key,
509 hash_value_type ComputeHash(internal_key_type Key) {
510 return static_cast<size_t>(llvm::hash_value(Key));
513 static EnumConstantInfo readUnversioned(internal_key_type Key,
532 hash_value_type ComputeHash(internal_key_type Key) {
533 return static_cast<size_t>(Key.hashValue());
536 static TagInfo readUnversioned(internal_key_type Key, const uint8_t *&Data) {
593 hash_value_type ComputeHash(internal_key_type Key) {
594 return static_cast<size_t>(Key.hashValue());
597 static TypedefInfo readUnversioned(internal_key_type Key,
752 StoredObjCSelector Key;
753 Key.NumArgs = Selector.NumArgs;
756 Key.Identifiers.push_back(*IdentID);
762 auto Known = ObjCSelectorTable->find(Key);
2055 SingleDeclTableKey Key(Ctx, *NameID);
2057 auto Known = Implementation->GlobalVariableTable->find(Key);
2074 SingleDeclTableKey Key(Ctx, *NameID);
2076 auto Known = Implementation->GlobalFunctionTable->find(Key);
2126 SingleDeclTableKey Key(Ctx, *NameID);
2128 auto Known = Implementation->TagTable->find(Key);
2145 SingleDeclTableKey Key(Ctx, *NameID);
2147 auto Known = Implementation->TypedefTable->find(Key);