Home
last modified time | relevance | path

Searched refs:RoundUpToPowerOfTwo (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DSmallPtrSet.h489 static constexpr size_t RoundUpToPowerOfTwo(size_t X) { in RoundUpToPowerOfTwo() function
498 static constexpr size_t SmallSizePowTwo = RoundUpToPowerOfTwo(SmallSize);
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_dense_map.h285 return RoundUpToPowerOfTwo((NumEntries * 4 / 3 + 1) + /* NextPowerOf2 */ 1); in getMinBucketToReserveForEntries()
648 allocateBuckets(RoundUpToPowerOfTwo(Max<unsigned>(64, AtLeast))); in grow()
H A Dsanitizer_common.h449 inline uptr RoundUpToPowerOfTwo(uptr size) { in RoundUpToPowerOfTwo() function
534 uptr new_capacity = RoundUpToPowerOfTwo(size_ + 1); in push_back()
H A Dsanitizer_allocator_primary64.h418 RoundUpToPowerOfTwo(MostSignificantSetBitIndex(max_value) + 1); in PackedCounterArray()
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_thread.cpp239 uptr stack_size_log = Log2(RoundUpToPowerOfTwo(stack_size)); in AsyncSignalSafeLazyInitFakeStack()
H A Dasan_allocator.cpp465 u32 hdr_log = RZSize2Log(RoundUpToPowerOfTwo(sizeof(ChunkHeader))); in ComputeRZLog()