gem5
v20.1.0.0
|
#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 72 of file Set.hh.
References bits, and MipsISA::index.
Referenced by AccessTraceForAddress::update().
|
inline |
Definition at line 82 of file Set.hh.
Referenced by AddressProfiler::profileGetS(), and AddressProfiler::profileGetX().
Definition at line 147 of file Set.hh.
References bits, m_nSize, and MipsISA::r.
|
inline |
|
inline |
Definition at line 123 of file Set.hh.
References bits.
Referenced by AccessTraceForAddress::getTouchedBy(), AccessTraceForAddress::print(), AddressProfiler::profileGetS(), and AddressProfiler::profileGetX().
|
inline |
Definition at line 200 of file Set.hh.
References bits, and MipsISA::index.
|
inline |
Definition at line 157 of file Set.hh.
References bits, and MipsISA::r.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 168 of file Set.hh.
References bits, m_nSize, and MipsISA::r.
Definition at line 137 of file Set.hh.
References bits, m_nSize, and MipsISA::r.
|
inline |
|
inline |
Definition at line 92 of file Set.hh.
References bits, and MipsISA::index.
Referenced by AddressProfiler::profileGetS(), and AddressProfiler::profileGetX().
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 48 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 47 of file Set.hh.
Referenced by addSet(), AND(), broadcast(), getSize(), isBroadcast(), isEqual(), isSuperset(), operator=(), OR(), print(), removeSet(), setSize(), and smallestElement().