LLVM
8.0.1
|
#include "llvm/ADT/StringMap.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/DJB.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 25 of file StringMap.cpp.
References llvm::NextPowerOf2().
Referenced by llvm::DenseMap< unsigned, unsigned >::init(), llvm::DenseMapBase< DenseMap< const llvm::SCEV *, const llvm::SCEV *, DenseMapInfo< const llvm::SCEV *>, llvm::detail::DenseMapPair< const llvm::SCEV *, const llvm::SCEV *> >, const llvm::SCEV *, const llvm::SCEV *, DenseMapInfo< const llvm::SCEV *>, llvm::detail::DenseMapPair< const llvm::SCEV *, const llvm::SCEV *> >::reserve(), and llvm::StringMapImpl::StringMapImpl().