gem5  v20.1.0.0
Public Member Functions | Public Attributes | List of all members
MemDepUnit< MemDepPred, Impl >::MemDepEntry Class Reference

Memory dependence entries that track memory operations, marking when the instruction is ready to execute and what instructions depend upon it. More...

Public Member Functions

 MemDepEntry (const DynInstPtr &new_inst)
 Constructs a memory dependence entry. More...
 
 ~MemDepEntry ()
 Frees any pointers. More...
 
std::string name () const
 Returns the name of the memory dependence entry. More...
 

Public Attributes

DynInstPtr inst
 The instruction being tracked. More...
 
ListIt listIt
 The iterator to the instruction's location inside the list. More...
 
std::vector< MemDepEntryPtrdependInsts
 A vector of any dependent instructions. More...
 
bool regsReady
 If the registers are ready or not. More...
 
int memDeps
 Number of memory dependencies that need to be satisfied. More...
 
bool completed
 If the instruction is completed. More...
 
bool squashed
 If the instruction is squashed. More...
 

Detailed Description

template<class MemDepPred, class Impl>
class MemDepUnit< MemDepPred, Impl >::MemDepEntry

Memory dependence entries that track memory operations, marking when the instruction is ready to execute and what instructions depend upon it.

Definition at line 178 of file mem_dep_unit.hh.

Constructor & Destructor Documentation

◆ MemDepEntry()

template<class MemDepPred , class Impl >
MemDepUnit< MemDepPred, Impl >::MemDepEntry::MemDepEntry ( const DynInstPtr new_inst)
inline

Constructs a memory dependence entry.

Definition at line 181 of file mem_dep_unit.hh.

References DPRINTF, and MemDepUnit< MemDepPred, Impl >::MemDepEntry::inst.

◆ ~MemDepEntry()

template<class MemDepPred , class Impl >
MemDepUnit< MemDepPred, Impl >::MemDepEntry::~MemDepEntry ( )
inline

Member Function Documentation

◆ name()

template<class MemDepPred , class Impl >
std::string MemDepUnit< MemDepPred, Impl >::MemDepEntry::name ( ) const
inline

Returns the name of the memory dependence entry.

Definition at line 208 of file mem_dep_unit.hh.

Member Data Documentation

◆ completed

template<class MemDepPred , class Impl >
bool MemDepUnit< MemDepPred, Impl >::MemDepEntry::completed

If the instruction is completed.

Definition at line 224 of file mem_dep_unit.hh.

◆ dependInsts

template<class MemDepPred , class Impl >
std::vector<MemDepEntryPtr> MemDepUnit< MemDepPred, Impl >::MemDepEntry::dependInsts

A vector of any dependent instructions.

Definition at line 217 of file mem_dep_unit.hh.

Referenced by MemDepUnit< MemDepPred, Impl >::MemDepEntry::~MemDepEntry().

◆ inst

template<class MemDepPred , class Impl >
DynInstPtr MemDepUnit< MemDepPred, Impl >::MemDepEntry::inst

◆ listIt

template<class MemDepPred , class Impl >
ListIt MemDepUnit< MemDepPred, Impl >::MemDepEntry::listIt

The iterator to the instruction's location inside the list.

Definition at line 214 of file mem_dep_unit.hh.

◆ memDeps

template<class MemDepPred , class Impl >
int MemDepUnit< MemDepPred, Impl >::MemDepEntry::memDeps

Number of memory dependencies that need to be satisfied.

Definition at line 222 of file mem_dep_unit.hh.

◆ regsReady

template<class MemDepPred , class Impl >
bool MemDepUnit< MemDepPred, Impl >::MemDepEntry::regsReady

If the registers are ready or not.

Definition at line 220 of file mem_dep_unit.hh.

◆ squashed

template<class MemDepPred , class Impl >
bool MemDepUnit< MemDepPred, Impl >::MemDepEntry::squashed

If the instruction is squashed.

Definition at line 226 of file mem_dep_unit.hh.


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

Generated on Wed Sep 30 2020 14:02:27 for gem5 by doxygen 1.8.17