Home
last modified time | relevance | path

Searched refs:NumShared (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DSmallVector.h972 size_t NumShared = this->size(); in swap() local
973 if (NumShared > RHS.size()) NumShared = RHS.size(); in swap()
974 for (size_type i = 0; i != NumShared; ++i) in swap()
980 this->uninitialized_copy(this->begin()+NumShared, this->end(), RHS.end()); in swap()
982 this->destroy_range(this->begin()+NumShared, this->end()); in swap()
983 this->set_size(NumShared); in swap()
986 this->uninitialized_copy(RHS.begin()+NumShared, RHS.end(), this->end()); in swap()
988 this->destroy_range(RHS.begin()+NumShared, RHS.end()); in swap()
989 RHS.set_size(NumShared); in swap()
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DEHStreamer.cpp98 unsigned NumShared = PrevLPI ? sharedTypeIDs(LPI, PrevLPI) : 0; in computeActionsTable() local
101 if (NumShared < TypeIds.size()) { in computeActionsTable()
106 if (NumShared) { in computeActionsTable()
113 for (unsigned j = NumShared; j != SizePrevIds; ++j) { in computeActionsTable()
122 for (unsigned J = NumShared, M = TypeIds.size(); J != M; ++J) { in computeActionsTable()