LLVM 22.0.0git
|
This is a constexpr reimplementation of a subset of std::bitset. More...
#include "llvm/ADT/Bitset.h"
Public Member Functions | |
constexpr | Bitset ()=default |
constexpr | Bitset (std::initializer_list< unsigned > Init) |
Bitset & | set () |
constexpr Bitset & | set (unsigned I) |
constexpr Bitset & | reset (unsigned I) |
constexpr Bitset & | flip (unsigned I) |
constexpr bool | operator[] (unsigned I) const |
constexpr bool | test (unsigned I) const |
constexpr size_t | size () const |
bool | any () const |
bool | none () const |
size_t | count () const |
constexpr Bitset & | operator^= (const Bitset &RHS) |
constexpr Bitset | operator^ (const Bitset &RHS) const |
constexpr Bitset & | operator&= (const Bitset &RHS) |
constexpr Bitset | operator& (const Bitset &RHS) const |
constexpr Bitset & | operator|= (const Bitset &RHS) |
constexpr Bitset | operator| (const Bitset &RHS) const |
constexpr Bitset | operator~ () const |
bool | operator== (const Bitset &RHS) const |
bool | operator!= (const Bitset &RHS) const |
bool | operator< (const Bitset &Other) const |
Protected Member Functions | |
constexpr | Bitset (const std::array< uint64_t,(NumBits+63)/64 > &B) |
This is a constexpr reimplementation of a subset of std::bitset.
It would be nice to use std::bitset directly, but it doesn't support constant initialization.
|
inlineconstexprprotected |
|
constexprdefault |
|
inlineconstexpr |
|
inline |
Definition at line 99 of file Bitset.h.
Referenced by llvm::Bitset< AEK_NUM_EXTENSIONS >::none().
|
inline |
|
inlineconstexpr |
|
inline |
|
inline |
|
inlineconstexpr |
|
inlineconstexpr |
|
inline |
|
inline |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inline |
Definition at line 70 of file Bitset.h.
Referenced by llvm::Bitset< AEK_NUM_EXTENSIONS >::Bitset().
|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 97 of file Bitset.h.
Referenced by llvm::Bitset< AEK_NUM_EXTENSIONS >::operator<().
|
inlineconstexpr |
Definition at line 95 of file Bitset.h.
Referenced by llvm::AArch64::ExtensionSet::addArchDefaults(), llvm::AArch64::ExtensionSet::addCPUDefaults(), llvm::AArch64::getCpuSupportsMask(), llvm::AArch64::getExtensionFeatures(), and llvm::AArch64::getFMVPriority().