LLVM API Documentation
#include <BitSetVector.h>
Collaboration diagram for llvm::BitSetVector:

Public Member Functions | |
| BitSetVector (unsigned maxSetSize) | |
| unsigned | size () const |
| size - Return the number of bits tracked by this bit vector... | |
| void | reset () |
| void | set () |
| reference | operator[] (unsigned n) |
| iterator | begin () |
| iterator | end () |
| bool | operator== (const BitSetVector &set2) const |
| bool | operator!= (const BitSetVector &set2) const |
| bool | test (unsigned n) const |
| bool | any () const |
| bool | none () const |
| unsigned | count () const |
| bool | all () const |
| BitSetVector | operator & (const BitSetVector &set2) const |
| BitSetVector | operator| (const BitSetVector &set2) const |
| BitSetVector | operator^ (const BitSetVector &set2) const |
| BitSetVector | operator~ () const |
| void | print (std::ostream &O) const |
| void | dump () const |
Friends | |
| bool | Disjoint (const BitSetVector &set1, const BitSetVector &set2) |
Classes | |
| class | iterator |
Definition at line 35 of file BitSetVector.h.
| llvm::BitSetVector::BitSetVector | ( | unsigned | maxSetSize | ) | [inline] |
Constructor: create a set of the maximum size maxSetSize. The set is initialized to empty.
Definition at line 74 of file BitSetVector.h.
| unsigned llvm::BitSetVector::size | ( | ) | const [inline] |
size - Return the number of bits tracked by this bit vector...
Definition at line 78 of file BitSetVector.h.
Referenced by all(), llvm::Disjoint(), llvm::BitSetVector::iterator::end(), llvm::BitSetVector::iterator::operator *(), llvm::BitSetVector::iterator::operator++(), llvm::BitSetVector::iterator::operator--(), operator[](), and test().
| void llvm::BitSetVector::reset | ( | ) | [inline] |
Modifier methods: reset, set for entire set, operator[] for one element.
Definition at line 83 of file BitSetVector.h.
| void llvm::BitSetVector::set | ( | ) | [inline] |
Definition at line 87 of file BitSetVector.h.
| reference llvm::BitSetVector::operator[] | ( | unsigned | n | ) | [inline] |
| iterator llvm::BitSetVector::begin | ( | ) | [inline] |
| iterator llvm::BitSetVector::end | ( | ) | [inline] |
| bool llvm::BitSetVector::operator== | ( | const BitSetVector & | set2 | ) | const [inline] |
Comparison operations: equal, not equal
Definition at line 103 of file BitSetVector.h.
| bool llvm::BitSetVector::operator!= | ( | const BitSetVector & | set2 | ) | const [inline] |
Definition at line 110 of file BitSetVector.h.
| bool llvm::BitSetVector::test | ( | unsigned | n | ) | const [inline] |
Set membership operations: single element, any, none, count
Definition at line 117 of file BitSetVector.h.
References size().
| bool llvm::BitSetVector::any | ( | ) | const [inline] |
| bool llvm::BitSetVector::none | ( | ) | const [inline] |
| unsigned llvm::BitSetVector::count | ( | ) | const [inline] |
| bool llvm::BitSetVector::all | ( | ) | const [inline] |
| BitSetVector llvm::BitSetVector::operator & | ( | const BitSetVector & | set2 | ) | const [inline] |
Set operations: intersection, union, disjoint union, complement.
Definition at line 144 of file BitSetVector.h.
| BitSetVector llvm::BitSetVector::operator| | ( | const BitSetVector & | set2 | ) | const [inline] |
| BitSetVector llvm::BitSetVector::operator^ | ( | const BitSetVector & | set2 | ) | const [inline] |
| BitSetVector llvm::BitSetVector::operator~ | ( | ) | const [inline] |
| void llvm::BitSetVector::print | ( | std::ostream & | O | ) | const [inline] |
Printing and debugging support
Definition at line 244 of file BitSetVector.h.
References E.
Referenced by dump(), and llvm::operator<<().
| void llvm::BitSetVector::dump | ( | ) | const [inline] |
| bool Disjoint | ( | const BitSetVector & | set1, | |
| const BitSetVector & | set2 | |||
| ) | [friend] |
Optimized versions of fundamental comparison operations
Definition at line 261 of file BitSetVector.h.