gem5
|
#include <Set.hh>
Public Member Functions | |
Set () | |
Set (int size) | |
Set (const Set &obj) | |
~Set () | |
Set & | operator= (const Set &obj) |
void | add (NodeID index) |
void | addSet (const Set &obj) |
void | remove (NodeID index) |
void | removeSet (const Set &obj) |
void | clear () |
void | broadcast () |
int | count () const |
bool | isEqual (const Set &obj) const |
Set | OR (const Set &obj) const |
Set | AND (const Set &obj) const |
bool | intersectionIsEmpty (const Set &obj) const |
bool | isSuperset (const Set &test) const |
bool | isSubset (const Set &test) const |
bool | isElement (NodeID element) const |
bool | isBroadcast () const |
bool | isEmpty () const |
NodeID | smallestElement () const |
bool | elementAt (int index) const |
int | getSize () const |
void | setSize (int size) |
void | print (std::ostream &out) const |
Private Attributes | |
int | m_nSize |
std::bitset< NUMBER_BITS_PER_SET > | bits |
|
inline |
Definition at line 55 of file Set.hh.
References fatal, and NUMBER_BITS_PER_SET.
|
inline |
Definition at line 74 of file Set.hh.
References bits.
Referenced by AccessTraceForAddress::update().
|
inline |
Definition at line 84 of file Set.hh.
Referenced by AddressProfiler::profileGetS(), and AddressProfiler::profileGetX().
Definition at line 149 of file Set.hh.
References bits, m_nSize, and MipsISA::r.
|
inline |
|
inline |
Definition at line 125 of file Set.hh.
References bits.
Referenced by AccessTraceForAddress::getTouchedBy(), AccessTraceForAddress::print(), AddressProfiler::profileGetS(), and AddressProfiler::profileGetX().
|
inline |
Definition at line 202 of file Set.hh.
References bits, and MipsISA::index.
|
inline |
Definition at line 159 of file Set.hh.
References bits, and MipsISA::r.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 177 of file Set.hh.
References isSuperset().
|
inline |
Definition at line 170 of file Set.hh.
References bits, m_nSize, and MipsISA::r.
Referenced by isSubset().
Definition at line 139 of file Set.hh.
References bits, m_nSize, and MipsISA::r.
|
inline |
|
inline |
Definition at line 94 of file Set.hh.
References bits, and MipsISA::index.
Referenced by AddressProfiler::profileGetS(), and AddressProfiler::profileGetX().
|
inline |
|
inline |
Definition at line 207 of file Set.hh.
References bits, fatal, m_nSize, NUMBER_BITS_PER_SET, and X86ISA::size().
|
inline |
|
private |
Definition at line 50 of file Set.hh.
Referenced by add(), addSet(), AND(), broadcast(), clear(), count(), elementAt(), intersectionIsEmpty(), isBroadcast(), isElement(), isEmpty(), isEqual(), isSuperset(), operator=(), OR(), print(), remove(), removeSet(), setSize(), and smallestElement().
|
private |
Definition at line 49 of file Set.hh.
Referenced by addSet(), AND(), broadcast(), getSize(), isBroadcast(), isEqual(), isSuperset(), operator=(), OR(), print(), removeSet(), setSize(), and smallestElement().