Lines Matching defs:Key

300   hash_value_type ComputeHash(key_type_ref Key) { return llvm::djbHash(Key); }
303 EmitKeyDataLength(raw_ostream &OS, key_type_ref Key, data_type_ref) {
304 uint32_t KeyLength = Key.size();
313 void EmitKey(raw_ostream &OS, key_type_ref Key, unsigned) { OS << Key; }
358 hash_value_type ComputeHash(key_type_ref Key) {
359 return static_cast<size_t>(Key.hashValue());
373 void EmitKey(raw_ostream &OS, key_type_ref Key, unsigned) {
375 writer.write<uint32_t>(Key.parentContextID);
376 writer.write<uint8_t>(Key.contextKind);
377 writer.write<uint32_t>(Key.contextID);
485 EmitKeyDataLength(raw_ostream &OS, key_type_ref Key, data_type_ref Data) {
486 uint32_t KeyLength = asDerived().getKeyLength(Key);
569 void EmitKey(raw_ostream &OS, key_type_ref Key, unsigned) {
571 writer.write<uint32_t>(Key);
574 hash_value_type ComputeHash(key_type_ref Key) {
575 return static_cast<size_t>(llvm::hash_value(Key));
683 void EmitKey(raw_ostream &OS, key_type_ref Key, unsigned) {
685 writer.write<uint32_t>(std::get<0>(Key));
686 writer.write<uint32_t>(std::get<1>(Key));
687 writer.write<uint8_t>(std::get<2>(Key));
690 hash_value_type ComputeHash(key_type_ref Key) {
691 return static_cast<size_t>(llvm::hash_value(Key));
752 void EmitKey(raw_ostream &OS, key_type_ref Key, unsigned) {
754 writer.write<uint32_t>(std::get<0>(Key));
755 writer.write<uint32_t>(std::get<1>(Key));
756 writer.write<uint8_t>(std::get<2>(Key));
787 void EmitKey(raw_ostream &OS, key_type_ref Key, unsigned) {
789 writer.write<uint32_t>(Key.parentContextID);
790 writer.write<uint32_t>(Key.nameID);
872 hash_value_type ComputeHash(key_type_ref Key) {
873 return llvm::DenseMapInfo<StoredObjCSelector>::getHashValue(Key);
877 EmitKeyDataLength(raw_ostream &OS, key_type_ref Key, data_type_ref) {
879 sizeof(uint16_t) + sizeof(uint32_t) * Key.Identifiers.size();
888 void EmitKey(raw_ostream &OS, key_type_ref Key, unsigned) {
890 writer.write<uint16_t>(Key.NumArgs);
891 for (auto Identifier : Key.Identifiers)
939 void EmitKey(raw_ostream &OS, key_type_ref Key, unsigned) {
941 writer.write<uint32_t>(Key.parentContextID);
942 writer.write<uint32_t>(Key.nameID);
945 hash_value_type ComputeHash(key_type_ref Key) {
946 return static_cast<size_t>(Key.hashValue());
1052 void EmitKey(raw_ostream &OS, key_type_ref Key, unsigned) {
1054 writer.write<uint32_t>(Key.parentContextID);
1055 writer.write<uint32_t>(Key.nameID);
1058 hash_value_type ComputeHash(key_type_ref Key) {
1059 return static_cast<size_t>(Key.hashValue());
1107 void EmitKey(raw_ostream &OS, key_type_ref Key, unsigned) {
1109 writer.write<uint32_t>(Key);
1112 hash_value_type ComputeHash(key_type_ref Key) {
1113 return static_cast<size_t>(llvm::hash_value(Key));
1166 void EmitKey(raw_ostream &OS, key_type_ref Key, unsigned) {
1168 writer.write<uint32_t>(Key.parentContextID);
1169 writer.write<IdentifierID>(Key.nameID);
1172 hash_value_type ComputeHash(key_type_ref Key) {
1173 return static_cast<size_t>(Key.hashValue());
1334 ContextTableKey Key(RawParentCtxID, static_cast<uint8_t>(Kind), NameID);
1335 auto Known = Implementation->Contexts.find(Key);
1342 Key, std::make_pair(NextID, EmptyVersionedInfo)))
1381 auto Key = std::tuple<unsigned, unsigned, char>{CtxID.Value, SelID,
1383 Implementation->ObjCMethods[Key].push_back({SwiftVersion, Info});
1415 SingleDeclTableKey Key(CtxID.Value, NameID);
1416 Implementation->CXXMethods[Key].push_back({SwiftVersion, Info});
1424 SingleDeclTableKey Key(Ctx, VariableID);
1425 Implementation->GlobalVariables[Key].push_back({SwiftVersion, Info});
1433 SingleDeclTableKey Key(Ctx, NameID);
1434 Implementation->GlobalFunctions[Key].push_back({SwiftVersion, Info});
1447 SingleDeclTableKey Key(Ctx, TagID);
1448 Implementation->Tags[Key].push_back({SwiftVersion, Info});
1455 SingleDeclTableKey Key(Ctx, TypedefID);
1456 Implementation->Typedefs[Key].push_back({SwiftVersion, Info});