LLVM 20.0.0git
|
Describes an element of a Bitfield. More...
#include "llvm/ADT/Bitfields.h"
Public Types | |
using | Type = T |
using | IntegerType = typename bitfields_details::ResolveUnderlyingType< T >::type |
Static Public Attributes | |
static constexpr unsigned | Shift = Offset |
static constexpr unsigned | Bits = Size |
static constexpr unsigned | FirstBit = Offset |
static constexpr unsigned | LastBit = Shift + Bits - 1 |
static constexpr unsigned | NextBit = Shift + Bits |
Friends | |
template<typename , typename > | |
struct | bitfields_details::Impl |
Describes an element of a Bitfield.
This type is then used with the Bitfield static member functions.
T | The type of the field once in unpacked form. |
Offset | The position of the first bit. |
Size | The size of the field. |
MaxValue | For enums the maximum enum allowed. |
Definition at line 223 of file Bitfields.h.
using llvm::Bitfield::Element< T, Offset, Size, MaxValue >::IntegerType = typename bitfields_details::ResolveUnderlyingType<T>::type |
Definition at line 225 of file Bitfields.h.
using llvm::Bitfield::Element< T, Offset, Size, MaxValue >::Type = T |
Definition at line 224 of file Bitfields.h.
|
friend |
Definition at line 234 of file Bitfields.h.
|
staticconstexpr |
Definition at line 228 of file Bitfields.h.
|
staticconstexpr |
Definition at line 229 of file Bitfields.h.
|
staticconstexpr |
Definition at line 230 of file Bitfields.h.
|
staticconstexpr |
Definition at line 231 of file Bitfields.h.
|
staticconstexpr |
Definition at line 227 of file Bitfields.h.