RetroArch
Public Member Functions | Private Attributes | List of all members
spirv_cross::Bitset Class Reference

#include <spirv_common.hpp>

Public Member Functions

 Bitset ()=default
 
 Bitset (uint64_t lower_)
 
bool get (uint32_t bit) const
 
void set (uint32_t bit)
 
void clear (uint32_t bit)
 
uint64_t get_lower () const
 
void reset ()
 
void merge_and (const Bitset &other)
 
void merge_or (const Bitset &other)
 
bool operator== (const Bitset &other) const
 
bool operator!= (const Bitset &other) const
 
template<typename Op >
void for_each_bit (const Op &op) const
 
bool empty () const
 

Private Attributes

uint64_t lower = 0
 
std::unordered_set< uint32_thigher
 

Constructor & Destructor Documentation

◆ Bitset() [1/2]

spirv_cross::Bitset::Bitset ( )
default

◆ Bitset() [2/2]

spirv_cross::Bitset::Bitset ( uint64_t  lower_)
inlineexplicit

Member Function Documentation

◆ clear()

void spirv_cross::Bitset::clear ( uint32_t  bit)
inline
Here is the caller graph for this function:

◆ empty()

bool spirv_cross::Bitset::empty ( ) const
inline
Here is the caller graph for this function:

◆ for_each_bit()

template<typename Op >
void spirv_cross::Bitset::for_each_bit ( const Op &  op) const
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get()

bool spirv_cross::Bitset::get ( uint32_t  bit) const
inline
Here is the caller graph for this function:

◆ get_lower()

uint64_t spirv_cross::Bitset::get_lower ( ) const
inline
Here is the caller graph for this function:

◆ merge_and()

void spirv_cross::Bitset::merge_and ( const Bitset other)
inline
Here is the caller graph for this function:

◆ merge_or()

void spirv_cross::Bitset::merge_or ( const Bitset other)
inline
Here is the caller graph for this function:

◆ operator!=()

bool spirv_cross::Bitset::operator!= ( const Bitset other) const
inline

◆ operator==()

bool spirv_cross::Bitset::operator== ( const Bitset other) const
inline

◆ reset()

void spirv_cross::Bitset::reset ( )
inline
Here is the caller graph for this function:

◆ set()

void spirv_cross::Bitset::set ( uint32_t  bit)
inline
Here is the caller graph for this function:

Member Data Documentation

◆ higher

std::unordered_set<uint32_t> spirv_cross::Bitset::higher
private

◆ lower

uint64_t spirv_cross::Bitset::lower = 0
private

The documentation for this class was generated from the following file: