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 Types | |
using | StorageType = std::array<BitWord, NumWords> |
Protected Member Functions | |
constexpr | Bitset (const StorageType &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.
|
protected |
|
inlineconstexprprotected |
|
constexprdefault |
|
inlineconstexpr |
|
inline |
Definition at line 86 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 57 of file Bitset.h.
Referenced by llvm::Bitset< AEK_NUM_EXTENSIONS >::Bitset().
|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 84 of file Bitset.h.
Referenced by llvm::Bitset< AEK_NUM_EXTENSIONS >::operator<().
|
inlineconstexpr |
Definition at line 82 of file Bitset.h.
Referenced by llvm::AArch64::ExtensionSet::addArchDefaults(), llvm::AArch64::ExtensionSet::addCPUDefaults(), llvm::AArch64::getCpuSupportsMask(), llvm::AArch64::getExtensionFeatures(), and llvm::AArch64::getFMVPriority().