• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/ADT/

Lines Matching refs:getFirst

43   KeyT &getFirst() { return std::pair<KeyT, ValueT>::first; }
44 const KeyT &getFirst() const { return std::pair<KeyT, ValueT>::first; }
126 P->getFirst() = EmptyKey;
130 if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey)) {
131 if (!KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) {
135 P->getFirst() = EmptyKey;
278 TheBucket->getFirst() = getTombstoneKey();
286 TheBucket->getFirst() = getTombstoneKey();
336 if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) &&
337 !KeyInfoT::isEqual(P->getFirst(), TombstoneKey))
339 P->getFirst().~KeyT();
351 ::new (&B->getFirst()) KeyT(EmptyKey);
372 if (!KeyInfoT::isEqual(B->getFirst(), EmptyKey) &&
373 !KeyInfoT::isEqual(B->getFirst(), TombstoneKey)) {
376 bool FoundVal = LookupBucketFor(B->getFirst(), DestBucket);
379 DestBucket->getFirst() = std::move(B->getFirst());
386 B->getFirst().~KeyT();
405 ::new (&getBuckets()[i].getFirst())
406 KeyT(other.getBuckets()[i].getFirst());
407 if (!KeyInfoT::isEqual(getBuckets()[i].getFirst(), getEmptyKey()) &&
408 !KeyInfoT::isEqual(getBuckets()[i].getFirst(), getTombstoneKey()))
519 TheBucket->getFirst() = std::forward<KeyArg>(Key);
529 TheBucket->getFirst() = std::move(Key);
567 if (!KeyInfoT::isEqual(TheBucket->getFirst(), EmptyKey))
601 if (LLVM_LIKELY(KeyInfoT::isEqual(Val, ThisBucket->getFirst()))) {
608 if (LLVM_LIKELY(KeyInfoT::isEqual(ThisBucket->getFirst(), EmptyKey))) {
617 if (KeyInfoT::isEqual(ThisBucket->getFirst(), TombstoneKey) &&
918 bool hasLHSValue = (!KeyInfoT::isEqual(LHSB->getFirst(), EmptyKey) &&
919 !KeyInfoT::isEqual(LHSB->getFirst(), TombstoneKey));
920 bool hasRHSValue = (!KeyInfoT::isEqual(RHSB->getFirst(), EmptyKey) &&
921 !KeyInfoT::isEqual(RHSB->getFirst(), TombstoneKey));
928 std::swap(LHSB->getFirst(), RHSB->getFirst());
959 ::new (&NewB->getFirst()) KeyT(std::move(OldB->getFirst()));
960 OldB->getFirst().~KeyT();
961 if (!KeyInfoT::isEqual(NewB->getFirst(), EmptyKey) &&
962 !KeyInfoT::isEqual(NewB->getFirst(), TombstoneKey)) {
1023 if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) &&
1024 !KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) {
1027 ::new (&TmpEnd->getFirst()) KeyT(std::move(P->getFirst()));
1032 P->getFirst().~KeyT();
1252 while (Ptr != End && (KeyInfoT::isEqual(Ptr->getFirst(), Empty) ||
1253 KeyInfoT::isEqual(Ptr->getFirst(), Tombstone)))
1262 while (Ptr != End && (KeyInfoT::isEqual(Ptr[-1].getFirst(), Empty) ||
1263 KeyInfoT::isEqual(Ptr[-1].getFirst(), Tombstone)))