gem5  v21.1.0.2
Public Member Functions | Private Attributes | List of all members
gem5::o3::LSQUnit::LSQEntry Class Reference
Inheritance diagram for gem5::o3::LSQUnit::LSQEntry:
gem5::o3::LSQUnit::SQEntry

Public Member Functions

 ~LSQEntry ()
 
void clear ()
 
void set (const DynInstPtr &new_inst)
 
LSQRequestrequest ()
 
void setRequest (LSQRequest *r)
 
bool hasRequest ()
 
bool valid () const
 Member accessors. More...
 
uint32_t & size ()
 
const uint32_t & size () const
 
const DynInstPtrinstruction () const
 

Private Attributes

DynInstPtr inst
 The instruction. More...
 
LSQRequestreq = nullptr
 The request. More...
 
uint32_t _size = 0
 The size of the operation. More...
 
bool _valid = false
 Valid entry. More...
 

Detailed Description

Definition at line 98 of file lsq_unit.hh.

Constructor & Destructor Documentation

◆ ~LSQEntry()

gem5::o3::LSQUnit::LSQEntry::~LSQEntry ( )
inline

Definition at line 111 of file lsq_unit.hh.

References gem5::o3::LSQ::LSQRequest::freeLSQEntry(), and req.

Member Function Documentation

◆ clear()

void gem5::o3::LSQUnit::LSQEntry::clear ( )
inline

Definition at line 120 of file lsq_unit.hh.

References _size, _valid, gem5::o3::LSQ::LSQRequest::freeLSQEntry(), inst, and req.

Referenced by gem5::o3::LSQUnit::SQEntry::clear().

◆ hasRequest()

bool gem5::o3::LSQUnit::LSQEntry::hasRequest ( )
inline

Definition at line 142 of file lsq_unit.hh.

References req.

◆ instruction()

const DynInstPtr& gem5::o3::LSQUnit::LSQEntry::instruction ( ) const
inline

Definition at line 148 of file lsq_unit.hh.

References inst.

Referenced by gem5::o3::LSQUnit::read().

◆ request()

LSQRequest* gem5::o3::LSQUnit::LSQEntry::request ( )
inline

Definition at line 140 of file lsq_unit.hh.

References req.

◆ set()

void gem5::o3::LSQUnit::LSQEntry::set ( const DynInstPtr new_inst)
inline

Definition at line 132 of file lsq_unit.hh.

References _size, _valid, and inst.

Referenced by gem5::o3::LSQUnit::SQEntry::set().

◆ setRequest()

void gem5::o3::LSQUnit::LSQEntry::setRequest ( LSQRequest r)
inline

Definition at line 141 of file lsq_unit.hh.

References gem5::MipsISA::r, and req.

Referenced by gem5::o3::LSQUnit::read().

◆ size() [1/2]

uint32_t& gem5::o3::LSQUnit::LSQEntry::size ( )
inline

Definition at line 146 of file lsq_unit.hh.

References _size.

◆ size() [2/2]

const uint32_t& gem5::o3::LSQUnit::LSQEntry::size ( ) const
inline

Definition at line 147 of file lsq_unit.hh.

References _size.

◆ valid()

bool gem5::o3::LSQUnit::LSQEntry::valid ( ) const
inline

Member accessors.

Definition at line 145 of file lsq_unit.hh.

References _valid.

Member Data Documentation

◆ _size

uint32_t gem5::o3::LSQUnit::LSQEntry::_size = 0
private

The size of the operation.

Definition at line 106 of file lsq_unit.hh.

Referenced by clear(), set(), and size().

◆ _valid

bool gem5::o3::LSQUnit::LSQEntry::_valid = false
private

Valid entry.

Definition at line 108 of file lsq_unit.hh.

Referenced by clear(), set(), and valid().

◆ inst

DynInstPtr gem5::o3::LSQUnit::LSQEntry::inst
private

The instruction.

Definition at line 102 of file lsq_unit.hh.

Referenced by clear(), instruction(), set(), and gem5::o3::LSQUnit::SQEntry::set().

◆ req

LSQRequest* gem5::o3::LSQUnit::LSQEntry::req = nullptr
private

The request.

Definition at line 104 of file lsq_unit.hh.

Referenced by clear(), hasRequest(), request(), setRequest(), and ~LSQEntry().


The documentation for this class was generated from the following file:

Generated on Tue Sep 21 2021 12:31:46 for gem5 by doxygen 1.8.17