#include <CoreBitVector.h>
Definition at line 147 of file CoreBitVector.h.
◆ difference_type
◆ iterator_category
◆ pointer
◆ reference
◆ value_type
◆ CoreBitVectorIterator() [1/4]
SVF::CoreBitVector::CoreBitVectorIterator::CoreBitVectorIterator |
( |
void |
| ) |
|
|
delete |
◆ CoreBitVectorIterator() [2/4]
Returns an iterator to the beginning of cbv if end is false, and to the end of cbv if end is true.
Definition at line 387 of file CoreBitVector.cpp.
389{
391
392
393
395}
const CoreBitVector * cbv
CoreBitVector we are iterating over.
std::vector< Word >::const_iterator wordIt
Word in words we are looking at.
std::vector< Word > words
Our actual bit vector.
const_iterator end(void) const
◆ CoreBitVectorIterator() [3/4]
◆ CoreBitVectorIterator() [4/4]
◆ atEnd()
bool SVF::CoreBitVector::CoreBitVectorIterator::atEnd |
( |
void |
| ) |
const |
|
private |
◆ operator!=()
Inequality: *this != rhs.
Definition at line 446 of file CoreBitVector.cpp.
447{
448 assert(
cbv ==
rhs.cbv &&
"CoreBitVectorIterator::!=: comparing iterators from different CBVs");
449 return !(*
this ==
rhs);
450}
llvm::IRBuilder IRBuilder
◆ operator*()
u32_t SVF::CoreBitVector::CoreBitVectorIterator::operator* |
( |
void |
| ) |
const |
Dereference: *it.
Definition at line 427 of file CoreBitVector.cpp.
428{
429 assert(!
atEnd() &&
"CoreBitVectorIterator::*: dereferencing end!");
431
432
433
434
436}
static const size_t WordSize
u32_t offset
The first bit of the first word.
◆ operator++() [1/2]
Post-increment: it++.
Definition at line 419 of file CoreBitVector.cpp.
420{
421 assert(!
atEnd() &&
"CoreBitVectorIterator::++(pre): incrementing past end!");
423 ++*this;
425}
CoreBitVectorIterator(void)=delete
◆ operator++() [2/2]
Pre-increment: ++it.
Definition at line 397 of file CoreBitVector.cpp.
398{
399 assert(!
atEnd() &&
"CoreBitVectorIterator::++(pre): incrementing past end!");
400
402
404 {
408 }
409
410
412 {
414 }
415
416 return *this;
417}
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ operator==()
Equality: *this == rhs.
Definition at line 438 of file CoreBitVector.cpp.
439{
440 assert(
cbv ==
rhs.cbv &&
"CoreBitVectorIterator::==: comparing iterators from different CBVs");
441
444}
◆ bit
u32_t SVF::CoreBitVector::CoreBitVectorIterator::bit |
|
private |
Current bit in wordIt we are looking at (index into *wordIt).
Definition at line 193 of file CoreBitVector.h.
◆ cbv
◆ wordIt
The documentation for this class was generated from the following files: