|
LLVM 23.0.0git
|
Classes | |
| class | PointerUnionMembers |
| CRTP base that generates non-template constructors and assignment operators for each type in the union. More... | |
| class | PointerUnionMembers< Derived, Idx > |
| class | PointerUnionMembers< Derived, Idx, Type, Types... > |
Functions | |
| constexpr int | bitsRequired (unsigned NumValues) |
| Determine the number of bits required to store values in [0, NumValues). | |
| template<typename... Ts> | |
| constexpr int | lowBitsAvailable () |
|
constexpr |
Determine the number of bits required to store values in [0, NumValues).
This is ceil(log2(NumValues)).
Definition at line 34 of file PointerUnion.h.
References llvm::bit_width_constexpr().
|
constexpr |
Definition at line 38 of file PointerUnion.h.
Referenced by llvm::PointerUnion< TrivialCallback *, NonTrivialCallbacks * >::PointerLikeTypeTraits.