GCC Middle and Back End API Reference
|
#include <cfg.h>
Public Member Functions | |
auto_flag (T *sptr) | |
~auto_flag () | |
operator T () const | |
Private Attributes | |
T * | m_sptr |
T | m_flag |
Generic RAII class to allocate a bit from storage of integer type T. The allocated bit is accessible as mask with the single bit set via the conversion operator to T.
|
inline |
References ffs_hwi(), gcc_checking_assert, gcc_unreachable, HOST_WIDE_INT_1U, auto_flag< T >::m_flag, and auto_flag< T >::m_sptr.
References gcc_checking_assert, auto_flag< T >::m_flag, and auto_flag< T >::m_sptr.
Referenced by auto_flag< T >::auto_flag(), auto_flag< int >::operator int(), and auto_flag< T >::~auto_flag().
Referenced by auto_flag< T >::auto_flag(), and auto_flag< T >::~auto_flag().