#include <BitSet.h>
Public Member Functions | |
BitSet (uint32_t maxVal, T *arr=NULL) | |
BitSet (BitSet &src) | |
copy constructor | |
~BitSet () | |
BitSet & | operator &= (BitSet &src) |
BitSet & | operator|= (BitSet &src) |
BitSet & | operator~ () |
Complement operator. | |
void | clear () |
void | setall () |
void | print () |
void | insert (uint32_t n) |
void | remove (uint32_t n) |
bool | contains (uint32_t n) |
uint32_t | size () |
bool | empty () |
T * | duplicateMembers () |
generates an array of elements which are currently included in the set | |
Private Member Functions | |
uint32_t | internalCount () |
Private Attributes | |
uint32_t | maximum |
uint8_t * | bits |
uint32_t | cardinality |
T * | elements |
Static Private Attributes | |
const uint8_t | DivideLog = 3 |
const uint32_t | ModMask = ~((uint32_t)0xffffffff << DivideLog) |
|
|
|
copy constructor
|
|
|
|
Definition at line 86 of file BitSet.h. Referenced by FlowGraph::buildLoops(), and Function::generateCFG(). |
|
Definition at line 126 of file BitSet.h. Referenced by FlowGraph::buildLoops(), FlowGraph::depthFirstSearch(), Instruction::isMemoryXForm(), Instruction::isUnhandledMemoryOp(), Loop::Loop(), BitSet< BasicBlock * >::operator &=(), and BitSet< BasicBlock * >::operator|=(). |
|
generates an array of elements which are currently included in the set
Definition at line 142 of file BitSet.h. Referenced by Function::generateCFG(). |
|
|
|
Definition at line 106 of file BitSet.h. Referenced by FlowGraph::buildLoops(), FlowGraph::depthFirstSearch(), Function::generateCFG(), Instruction::initMemoryOperationXops(), and XCoffFile::testBitSet(). |
|
Definition at line 17 of file BitSet.h. Referenced by BitSet< BasicBlock * >::BitSet(), BitSet< BasicBlock * >::clear(), BitSet< BasicBlock * >::operator &=(), BitSet< BasicBlock * >::operator|=(), BitSet< BasicBlock * >::operator~(), BitSet< BasicBlock * >::print(), and BitSet< BasicBlock * >::setall(). |
|
|
|
|
|
Complement operator. Complements the set.
|
|
Definition at line 97 of file BitSet.h. Referenced by XCoffFile::testBitSet(). |
|
Definition at line 116 of file BitSet.h. Referenced by FlowGraph::depthFirstSearch(), and XCoffFile::testBitSet(). |
|
Definition at line 92 of file BitSet.h. Referenced by Function::generateCFG(), and XCoffFile::testBitSet(). |
|
Definition at line 134 of file BitSet.h. Referenced by BitSet< BasicBlock * >::duplicateMembers(), and Function::generateCFG(). |
|
Definition at line 13 of file BitSet.h. Referenced by BitSet< BasicBlock * >::BitSet(), BitSet< BasicBlock * >::operator &=(), and BitSet< BasicBlock * >::operator|=(). |
|
Definition at line 14 of file BitSet.h. Referenced by BitSet< BasicBlock * >::BitSet(). |
|
|
|
Definition at line 15 of file BitSet.h. Referenced by BitSet< BasicBlock * >::BitSet(). |
|
Definition at line 12 of file BitSet.h. Referenced by BitSet< BasicBlock * >::BitSet(), BitSet< BasicBlock * >::operator &=(), and BitSet< BasicBlock * >::operator|=(). |
|
|