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.
|
Constructor: create a set of the maximum size maxSetSize. The set is initialized to empty. Definition at line 74 of file BitSetVector.h. |
|
Definition at line 137 of file BitSetVector.h. References count(), and size(). Referenced by llvm::DSGraphPrintHelper::printValuesInBitVec(). |
|
Definition at line 122 of file BitSetVector.h. Referenced by none(), and llvm::ModRefInfoBuilder::visitCallInst(). |
|
Definition at line 97 of file BitSetVector.h. References llvm::BitSetVector::iterator::begin(). |
|
Definition at line 131 of file BitSetVector.h. Referenced by all(). |
|
Definition at line 177 of file BitSetVector.h. References print(). |
|
Definition at line 98 of file BitSetVector.h. References llvm::BitSetVector::iterator::end(). |
|
Definition at line 128 of file BitSetVector.h. References any(). Referenced by llvm::DSGraphPrintHelper::printValuesInBitVec(). |
|
Set operations: intersection, union, disjoint union, complement. Definition at line 144 of file BitSetVector.h. |
|
Definition at line 110 of file BitSetVector.h. |
|
Comparison operations: equal, not equal Definition at line 103 of file BitSetVector.h. |
|
Definition at line 92 of file BitSetVector.h. References size(). |
|
Definition at line 158 of file BitSetVector.h. |
|
Definition at line 151 of file BitSetVector.h. |
|
Definition at line 165 of file BitSetVector.h. References ClearUnusedBits(), and getWord(). |
|
Printing and debugging support Definition at line 244 of file BitSetVector.h. Referenced by dump(), and llvm::operator<<(). |
|
Modifier methods: reset, set for entire set, operator[] for one element. Definition at line 83 of file BitSetVector.h. |
|
Definition at line 87 of file BitSetVector.h. Referenced by llvm::ModRefInfoBuilder::visitCallInst(). |
|
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::ModRefInfo::getSize(), llvm::BitSetVector::iterator::operator *(), llvm::BitSetVector::iterator::operator++(), llvm::BitSetVector::iterator::operator--(), operator[](), llvm::DSGraphPrintHelper::printValuesInBitVec(), and test(). |
|
Set membership operations: single element, any, none, count Definition at line 117 of file BitSetVector.h. References size(). Referenced by llvm::ModRefInfo::nodeIsMod(), llvm::ModRefInfo::nodeIsRef(), and llvm::DSGraphPrintHelper::printValuesInBitVec(). |
|
Optimized versions of fundamental comparison operations Definition at line 261 of file BitSetVector.h. |