LLVM 24.0.0git
llvm::densemap::detail Namespace Reference

Typedefs

using UsedT = uint32_t

Functions

constexpr size_t usedWords (size_t N)
bool used (const UsedT *U, size_t I)
void setUsed (UsedT *U, size_t I)
void unsetUsed (UsedT *U, size_t I)
template<typename Fn>
LLVM_ATTRIBUTE_ALWAYS_INLINE void forEachUsed (const UsedT *U, unsigned N, Fn Func)
template<typename BucketT>
constexpr size_t allocAlign ()
template<typename BucketT>
size_t allocBytes (unsigned Num)
uint64_t mix (uint64_t x)

Variables

template<typename BucketT>
constexpr bool isRelocatableBucket

Typedef Documentation

◆ UsedT

Definition at line 98 of file DenseMap.h.

Function Documentation

◆ allocAlign()

template<typename BucketT>
size_t llvm::densemap::detail::allocAlign ( )
constexpr

Definition at line 134 of file DenseMap.h.

◆ allocBytes()

template<typename BucketT>
size_t llvm::densemap::detail::allocBytes ( unsigned Num)

◆ forEachUsed()

◆ mix()

◆ setUsed()

void llvm::densemap::detail::setUsed ( UsedT * U,
size_t I )
inline

Definition at line 110 of file DenseMap.h.

References I.

Referenced by llvm::DenseMapBase< DenseMap, KeyT, ValueT, KeyInfoT, BucketT >::moveFrom().

◆ unsetUsed()

void llvm::densemap::detail::unsetUsed ( UsedT * U,
size_t I )
inline

Definition at line 111 of file DenseMap.h.

References I.

Referenced by llvm::DenseMapBase< DenseMap, KeyT, ValueT, KeyInfoT, BucketT >::remove_if().

◆ used()

◆ usedWords()

Variable Documentation

◆ isRelocatableBucket

template<typename BucketT>
bool llvm::densemap::detail::isRelocatableBucket
inlineconstexpr
Initial value:
=
std::is_trivially_copy_constructible_v<BucketT> &&
std::is_trivially_destructible_v<BucketT>

Definition at line 94 of file DenseMap.h.

Referenced by llvm::DenseMapBase< DenseMap, KeyT, ValueT, KeyInfoT, BucketT >::copyFrom().