gem5
v20.1.0.0
|
#include <WriteMask.hh>
Public Types | |
typedef std::vector< std::pair< int, AtomicOpFunctor * > > | AtomicOpVector |
Public Member Functions | |
WriteMask () | |
WriteMask (int size) | |
WriteMask (int size, std::vector< bool > &mask) | |
WriteMask (int size, std::vector< bool > &mask, AtomicOpVector atomicOp) | |
~WriteMask () | |
void | clear () |
bool | test (int offset) |
void | setMask (int offset, int len) |
void | fillMask () |
bool | getMask (int offset, int len) const |
bool | isOverlap (const WriteMask &readMask) const |
bool | cmpMask (const WriteMask &readMask) const |
bool | isEmpty () const |
bool | isFull () const |
void | orMask (const WriteMask &writeMask) |
void | print (std::ostream &out) const |
void | performAtomic (uint8_t *p) const |
void | performAtomic (DataBlock &blk) const |
const AtomicOpVector & | getAtomicOps () const |
void | setAtomicOps (const AtomicOpVector &atomicOps) |
Private Attributes | |
int | mSize |
std::vector< bool > | mMask |
bool | mAtomic |
AtomicOpVector | mAtomicOp |
Definition at line 40 of file WriteMask.hh.
typedef std::vector<std::pair<int, AtomicOpFunctor* > > WriteMask::AtomicOpVector |
Definition at line 43 of file WriteMask.hh.
|
inline |
Definition at line 45 of file WriteMask.hh.
|
inline |
Definition at line 50 of file WriteMask.hh.
|
inline |
Definition at line 54 of file WriteMask.hh.
|
inline |
Definition at line 58 of file WriteMask.hh.
|
inline |
Definition at line 62 of file WriteMask.hh.
|
inline |
Definition at line 66 of file WriteMask.hh.
|
inline |
Definition at line 119 of file WriteMask.hh.
|
inline |
Definition at line 87 of file WriteMask.hh.
|
inline |
Definition at line 190 of file WriteMask.hh.
References mAtomicOp.
|
inline |
Definition at line 95 of file WriteMask.hh.
References ArmISA::i, ArmISA::len, mMask, mSize, and ArmISA::offset.
|
inline |
Definition at line 131 of file WriteMask.hh.
|
inline |
Definition at line 142 of file WriteMask.hh.
|
inline |
Definition at line 106 of file WriteMask.hh.
|
inline |
|
inline |
Definition at line 179 of file WriteMask.hh.
References DataBlock::getDataMod(), ArmISA::i, mAtomicOp, ArmISA::offset, and MipsISA::p.
|
inline |
Definition at line 169 of file WriteMask.hh.
References ArmISA::i, mAtomicOp, ArmISA::offset, and MipsISA::p.
void WriteMask::print | ( | std::ostream & | out | ) | const |
Definition at line 36 of file WriteMask.cc.
References ArmISA::i, mMask, and mSize.
Referenced by operator<<().
|
inline |
Definition at line 196 of file WriteMask.hh.
|
inline |
Definition at line 79 of file WriteMask.hh.
References ArmISA::i, ArmISA::len, mMask, mSize, and ArmISA::offset.
|
inline |
Definition at line 72 of file WriteMask.hh.
References mMask, mSize, and ArmISA::offset.
|
private |
Definition at line 205 of file WriteMask.hh.
Referenced by orMask(), and setAtomicOps().
|
private |
Definition at line 206 of file WriteMask.hh.
Referenced by getAtomicOps(), orMask(), performAtomic(), and setAtomicOps().
|
private |
Definition at line 204 of file WriteMask.hh.
Referenced by clear(), cmpMask(), fillMask(), getMask(), isEmpty(), isFull(), isOverlap(), orMask(), print(), setMask(), and test().
|
private |
Definition at line 203 of file WriteMask.hh.
Referenced by clear(), cmpMask(), fillMask(), getMask(), isEmpty(), isFull(), isOverlap(), orMask(), print(), setMask(), and test().