|
LLVM 22.0.0git
|
Describes an element of a Bitfield. More...
#include "llvm/ADT/Bitfields.h"
Public Types | |
| using | Type = T |
| using | IntegerType |
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 176 of file Bitfields.h.
| using llvm::Bitfield::Element< T, Offset, Size, MaxValue >::IntegerType |
Definition at line 178 of file Bitfields.h.
| using llvm::Bitfield::Element< T, Offset, Size, MaxValue >::Type = T |
Definition at line 177 of file Bitfields.h.
|
friend |
Definition at line 187 of file Bitfields.h.
|
staticconstexpr |
Definition at line 181 of file Bitfields.h.
|
staticconstexpr |
Definition at line 182 of file Bitfields.h.
|
staticconstexpr |
Definition at line 183 of file Bitfields.h.
|
staticconstexpr |
Definition at line 184 of file Bitfields.h.
|
staticconstexpr |
Definition at line 180 of file Bitfields.h.