|
LLVM
4.0.0
|
#include "llvm/ADT/StringMap.h"#include "llvm/ADT/StringExtras.h"#include "llvm/Support/Compiler.h"#include "llvm/Support/MathExtras.h"#include <cassert>Go to the source code of this file.
Functions | |
| static unsigned | getMinBucketToReserveForEntries (unsigned NumEntries) |
Returns the number of buckets to allocate to ensure that the DenseMap can accommodate NumEntries without need to grow(). More... | |
Returns the number of buckets to allocate to ensure that the DenseMap can accommodate NumEntries without need to grow().
Definition at line 24 of file StringMap.cpp.
References llvm::NextPowerOf2().
Referenced by llvm::StringMapImpl::StringMapImpl().
1.8.6