|
LLVM
10.0.0
|
Classes | |
| struct | AssignableFrom |
| Implement assignment in terms of construction. More... | |
| 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... | |
| struct | TypeIndex |
| Find the index of a type in a list of types. More... | |
| struct | TypeIndex< T > |
| struct | TypeIndex< T, T, Us... > |
| struct | TypeIndex< T, U, Us... > |
Functions | |
| constexpr int | bitsRequired (unsigned n) |
| Determine the number of bits required to store integers with values < n. More... | |
| template<typename... Ts> | |
| constexpr int | lowBitsAvailable () |
| constexpr int llvm::pointer_union_detail::bitsRequired | ( | unsigned | n | ) |
Determine the number of bits required to store integers with values < n.
This is ceil(log2(n)).
Definition at line 59 of file PointerUnion.h.
Referenced by llvm::detail::IEEEFloat::IEEEFloat().
| constexpr int llvm::pointer_union_detail::lowBitsAvailable | ( | ) |
Definition at line 63 of file PointerUnion.h.
1.8.13