Lines Matching defs:getFirst

45   KeyT &getFirst() { return std::pair<KeyT, ValueT>::first; }
46 const KeyT &getFirst() const { return std::pair<KeyT, ValueT>::first; }
126 P->getFirst() = EmptyKey;
131 if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey)) {
132 if (!KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) {
136 P->getFirst() = EmptyKey;
327 TheBucket->getFirst() = getTombstoneKey();
335 TheBucket->getFirst() = getTombstoneKey();
377 if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) &&
378 !KeyInfoT::isEqual(P->getFirst(), TombstoneKey))
380 P->getFirst().~KeyT();
392 ::new (&B->getFirst()) KeyT(EmptyKey);
413 if (!KeyInfoT::isEqual(B->getFirst(), EmptyKey) &&
414 !KeyInfoT::isEqual(B->getFirst(), TombstoneKey)) {
417 bool FoundVal = LookupBucketFor(B->getFirst(), DestBucket);
420 DestBucket->getFirst() = std::move(B->getFirst());
427 B->getFirst().~KeyT();
451 ::new (&Buckets[I].getFirst()) KeyT(OtherBuckets[I].getFirst());
452 if (!KeyInfoT::isEqual(Buckets[I].getFirst(), EmptyKey) &&
453 !KeyInfoT::isEqual(Buckets[I].getFirst(), TombstoneKey))
545 TheBucket->getFirst() = std::forward<KeyArg>(Key);
555 TheBucket->getFirst() = std::move(Key);
593 if (!KeyInfoT::isEqual(TheBucket->getFirst(), EmptyKey))
610 if (LLVM_LIKELY(KeyInfoT::isEqual(Val, Bucket->getFirst())))
612 if (LLVM_LIKELY(KeyInfoT::isEqual(Bucket->getFirst(), EmptyKey)))
654 if (LLVM_LIKELY(KeyInfoT::isEqual(Val, ThisBucket->getFirst()))) {
661 if (LLVM_LIKELY(KeyInfoT::isEqual(ThisBucket->getFirst(), EmptyKey))) {
670 if (KeyInfoT::isEqual(ThisBucket->getFirst(), TombstoneKey) &&
953 bool hasLHSValue = (!KeyInfoT::isEqual(LHSB->getFirst(), EmptyKey) &&
954 !KeyInfoT::isEqual(LHSB->getFirst(), TombstoneKey));
955 bool hasRHSValue = (!KeyInfoT::isEqual(RHSB->getFirst(), EmptyKey) &&
956 !KeyInfoT::isEqual(RHSB->getFirst(), TombstoneKey));
963 std::swap(LHSB->getFirst(), RHSB->getFirst());
994 ::new (&NewB->getFirst()) KeyT(std::move(OldB->getFirst()));
995 OldB->getFirst().~KeyT();
996 if (!KeyInfoT::isEqual(NewB->getFirst(), EmptyKey) &&
997 !KeyInfoT::isEqual(NewB->getFirst(), TombstoneKey)) {
1058 if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) &&
1059 !KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) {
1062 ::new (&TmpEnd->getFirst()) KeyT(std::move(P->getFirst()));
1067 P->getFirst().~KeyT();
1284 while (Ptr != End && (KeyInfoT::isEqual(Ptr->getFirst(), Empty) ||
1285 KeyInfoT::isEqual(Ptr->getFirst(), Tombstone)))
1294 while (Ptr != End && (KeyInfoT::isEqual(Ptr[-1].getFirst(), Empty) ||
1295 KeyInfoT::isEqual(Ptr[-1].getFirst(), Tombstone)))