Home
last modified time | relevance | path

Searched refs:MinNonEmpty (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/llvm/lib/Support/
DSmallPtrSet.cpp256 unsigned MinNonEmpty = std::min(this->NumNonEmpty, RHS.NumNonEmpty); in swap() local
257 std::swap_ranges(this->SmallArray, this->SmallArray + MinNonEmpty, in swap()
259 if (this->NumNonEmpty > MinNonEmpty) { in swap()
260 std::copy(this->SmallArray + MinNonEmpty, in swap()
262 RHS.SmallArray + MinNonEmpty); in swap()
264 std::copy(RHS.SmallArray + MinNonEmpty, RHS.SmallArray + RHS.NumNonEmpty, in swap()
265 this->SmallArray + MinNonEmpty); in swap()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DSmallPtrSet.cpp256 unsigned MinNonEmpty = std::min(this->NumNonEmpty, RHS.NumNonEmpty); in swap() local
257 std::swap_ranges(this->SmallArray, this->SmallArray + MinNonEmpty, in swap()
259 if (this->NumNonEmpty > MinNonEmpty) { in swap()
260 std::copy(this->SmallArray + MinNonEmpty, in swap()
262 RHS.SmallArray + MinNonEmpty); in swap()
264 std::copy(RHS.SmallArray + MinNonEmpty, RHS.SmallArray + RHS.NumNonEmpty, in swap()
265 this->SmallArray + MinNonEmpty); in swap()
/external/llvm/lib/Support/
DSmallPtrSet.cpp281 unsigned MinNonEmpty = std::min(this->NumNonEmpty, RHS.NumNonEmpty); in swap() local
282 std::swap_ranges(this->SmallArray, this->SmallArray + MinNonEmpty, in swap()
284 if (this->NumNonEmpty > MinNonEmpty) { in swap()
285 std::copy(this->SmallArray + MinNonEmpty, in swap()
287 RHS.SmallArray + MinNonEmpty); in swap()
289 std::copy(RHS.SmallArray + MinNonEmpty, RHS.SmallArray + RHS.NumNonEmpty, in swap()
290 this->SmallArray + MinNonEmpty); in swap()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DSmallPtrSet.cpp282 unsigned MinNonEmpty = std::min(this->NumNonEmpty, RHS.NumNonEmpty); in swap() local
283 std::swap_ranges(this->SmallArray, this->SmallArray + MinNonEmpty, in swap()
285 if (this->NumNonEmpty > MinNonEmpty) { in swap()
286 std::copy(this->SmallArray + MinNonEmpty, in swap()
288 RHS.SmallArray + MinNonEmpty); in swap()
290 std::copy(RHS.SmallArray + MinNonEmpty, RHS.SmallArray + RHS.NumNonEmpty, in swap()
291 this->SmallArray + MinNonEmpty); in swap()