[reland][ADT] add ConcurrentHashtable class.
authorAlexey Lapshin <a.v.lapshin@mail.ru>
Wed, 22 Mar 2023 16:37:15 +0000 (17:37 +0100)
committerAlexey Lapshin <a.v.lapshin@mail.ru>
Mon, 27 Mar 2023 13:49:00 +0000 (15:49 +0200)
commit42058eea7912183aa8ac1be4e8d47f39d272bafa
treee18e622b4221a9b3a10303884df195249a9b0c7d
parent70074c113432e4065724b5aba79f610d9d7281de
[reland][ADT] add ConcurrentHashtable class.

ConcurrentHashTable - is a resizeable concurrent hashtable.
The range of resizings is limited up to x2^31.
The hashtable allows only concurrent insertions.

Concurrent hashtable is necessary for the D96035 patch.

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D132455
llvm/include/llvm/ADT/ConcurrentHashtable.h [new file with mode: 0644]
llvm/unittests/ADT/CMakeLists.txt
llvm/unittests/ADT/ConcurrentHashtableTest.cpp [new file with mode: 0644]