Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DStringMap.cpp57 unsigned NewNumBuckets = InitSize ? InitSize : 16; in init() local
62 safe_calloc(NewNumBuckets+1, in init()
66 NumBuckets = NewNumBuckets; in init()
/external/llvm/include/llvm/ADT/
DDenseMap.h689 unsigned NewNumBuckets = 0; in shrink_and_clear() local
691 NewNumBuckets = std::max(64, 1 << (Log2_32_Ceil(OldNumEntries) + 1)); in shrink_and_clear()
692 if (NewNumBuckets == NumBuckets) { in shrink_and_clear()
698 init(NewNumBuckets); in shrink_and_clear()
950 unsigned NewNumBuckets = 0; in shrink_and_clear() local
952 NewNumBuckets = 1 << (Log2_32_Ceil(OldSize) + 1); in shrink_and_clear()
953 if (NewNumBuckets > InlineBuckets && NewNumBuckets < 64u) in shrink_and_clear()
954 NewNumBuckets = 64; in shrink_and_clear()
956 if ((Small && NewNumBuckets <= InlineBuckets) || in shrink_and_clear()
957 (!Small && NewNumBuckets == getLargeRep()->NumBuckets)) { in shrink_and_clear()
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DDenseMap.h687 unsigned NewNumBuckets = 0; in shrink_and_clear() local
689 NewNumBuckets = std::max(64, 1 << (Log2_32_Ceil(OldNumEntries) + 1)); in shrink_and_clear()
690 if (NewNumBuckets == NumBuckets) { in shrink_and_clear()
696 init(NewNumBuckets); in shrink_and_clear()
950 unsigned NewNumBuckets = 0; in shrink_and_clear() local
952 NewNumBuckets = 1 << (Log2_32_Ceil(OldSize) + 1); in shrink_and_clear()
953 if (NewNumBuckets > InlineBuckets && NewNumBuckets < 64u) in shrink_and_clear()
954 NewNumBuckets = 64; in shrink_and_clear()
956 if ((Small && NewNumBuckets <= InlineBuckets) || in shrink_and_clear()
957 (!Small && NewNumBuckets == getLargeRep()->NumBuckets)) { in shrink_and_clear()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DDenseMap.h750 unsigned NewNumBuckets = 0; in shrink_and_clear() local
752 NewNumBuckets = std::max(64, 1 << (Log2_32_Ceil(OldNumEntries) + 1)); in shrink_and_clear()
753 if (NewNumBuckets == NumBuckets) { in shrink_and_clear()
759 init(NewNumBuckets); in shrink_and_clear()
1017 unsigned NewNumBuckets = 0; in shrink_and_clear() local
1019 NewNumBuckets = 1 << (Log2_32_Ceil(OldSize) + 1); in shrink_and_clear()
1020 if (NewNumBuckets > InlineBuckets && NewNumBuckets < 64u) in shrink_and_clear()
1021 NewNumBuckets = 64; in shrink_and_clear()
1023 if ((Small && NewNumBuckets <= InlineBuckets) || in shrink_and_clear()
1024 (!Small && NewNumBuckets == getLargeRep()->NumBuckets)) { in shrink_and_clear()
[all …]