LLVM 20.0.0git
|
Classes | |
struct | GetFirstType |
Find the first type in a list of types. More... | |
class | PointerUnionMembers |
class | PointerUnionMembers< Derived, ValTy, I > |
class | PointerUnionMembers< Derived, ValTy, I, Type, Types... > |
class | PointerUnionUIntTraits |
Provide PointerLikeTypeTraits for void* that is used by PointerUnion for the template arguments. More... | |
Functions | |
constexpr int | bitsRequired (unsigned n) |
Determine the number of bits required to store integers with values < n. | |
template<typename... Ts> | |
constexpr int | lowBitsAvailable () |
|
constexpr |
Determine the number of bits required to store integers with values < n.
This is ceil(log2(n)).
Definition at line 33 of file PointerUnion.h.
References bitsRequired().
Referenced by bitsRequired().
|
constexpr |
Definition at line 37 of file PointerUnion.h.