LLVM 20.0.0git
|
#include "llvm/ADT/CoalescingBitVector.h"
Public Types | |
using | iterator_category = std::forward_iterator_tag |
using | value_type = IndexT |
using | difference_type = std::ptrdiff_t |
using | pointer = value_type * |
using | reference = value_type & |
Public Member Functions | |
const_iterator () | |
bool | operator== (const const_iterator &RHS) const |
bool | operator!= (const const_iterator &RHS) const |
IndexT | operator* () const |
const_iterator & | operator++ () |
const_iterator | operator++ (int) |
void | advanceToLowerBound (IndexT Index) |
Advance the iterator to the first set bit AT, OR AFTER, Index . | |
Friends | |
class | CoalescingBitVector |
Definition at line 235 of file CoalescingBitVector.h.
using llvm::CoalescingBitVector< IndexT >::const_iterator::difference_type = std::ptrdiff_t |
Definition at line 241 of file CoalescingBitVector.h.
using llvm::CoalescingBitVector< IndexT >::const_iterator::iterator_category = std::forward_iterator_tag |
Definition at line 239 of file CoalescingBitVector.h.
using llvm::CoalescingBitVector< IndexT >::const_iterator::pointer = value_type * |
Definition at line 242 of file CoalescingBitVector.h.
using llvm::CoalescingBitVector< IndexT >::const_iterator::reference = value_type & |
Definition at line 243 of file CoalescingBitVector.h.
using llvm::CoalescingBitVector< IndexT >::const_iterator::value_type = IndexT |
Definition at line 240 of file CoalescingBitVector.h.
|
inline |
Definition at line 292 of file CoalescingBitVector.h.
|
inline |
Advance the iterator to the first set bit AT, OR AFTER, Index
.
If no such set bit exists, advance to end(). This is like std::lower_bound. This is useful if Index
is close to the current iterator position. However, unlike find(), this has worst-case O(n) performance.
Definition at line 330 of file CoalescingBitVector.h.
Referenced by llvm::CoalescingBitVector< IndexT >::half_open_range().
|
inline |
Definition at line 302 of file CoalescingBitVector.h.
References llvm::CoalescingBitVector< IndexT >::const_iterator::operator==(), and RHS.
|
inline |
Definition at line 306 of file CoalescingBitVector.h.
|
inline |
Definition at line 308 of file CoalescingBitVector.h.
Referenced by llvm::CoalescingBitVector< IndexT >::const_iterator::operator++().
|
inline |
Definition at line 320 of file CoalescingBitVector.h.
References llvm::CoalescingBitVector< IndexT >::const_iterator::operator++().
|
inline |
Definition at line 294 of file CoalescingBitVector.h.
References RHS.
Referenced by llvm::CoalescingBitVector< IndexT >::const_iterator::operator!=().
|
friend |
Definition at line 236 of file CoalescingBitVector.h.