|
gem5 [DEVELOP-FOR-25.0]
|
Public Member Functions | |
| AtomicStruct (Location atom_loc, Location loc_begin, Location loc_end) | |
| ~AtomicStruct () | |
| void | startLocSelection () |
| Location | getLoadLoc () |
| Location | getStoreLoc () |
| void | endLocSelection () |
| void | releaseLoc (Location loc) |
| bool | isExpectedValue (Value val) |
Private Types | |
| typedef std::pair< int, int > | LocProperty |
| typedef std::vector< LocProperty > | LocPropTable |
| typedef std::pair< bool, bool > | LdStBits |
| typedef std::unordered_map< Location, LdStBits > | LdStMap |
| typedef std::unordered_set< Value > | ExpectedValueSet |
Private Member Functions | |
| void | swap (LocProperty &prop_1, LocProperty &prop_2) |
| bool | inFirstRegion (int idx) const |
| bool | inSecondRegion (int idx) const |
| bool | inThirdRegion (int idx) const |
Private Attributes | |
| Location | atomicLoc |
| Location | locationBase |
| Location * | locArray |
| int | firstMark |
| int | secondMark |
| int | arraySize |
| LocPropTable | locProps |
| LdStMap | loadStoreMap |
| int | requestCount |
| ExpectedValueSet | expectedValues |
| Random::RandomPtr | rng = Random::genRandom() |
Definition at line 194 of file address_manager.hh.
|
private |
Definition at line 236 of file address_manager.hh.
|
private |
Definition at line 227 of file address_manager.hh.
|
private |
Definition at line 228 of file address_manager.hh.
|
private |
Definition at line 222 of file address_manager.hh.
|
private |
Definition at line 223 of file address_manager.hh.
| gem5::AddressManager::AtomicStruct::AtomicStruct | ( | Location | atom_loc, |
| Location | loc_begin, | ||
| Location | loc_end ) |
Definition at line 147 of file address_manager.cc.
References arraySize, atomicLoc, firstMark, locArray, locationBase, locProps, gem5::ArmISA::offset, requestCount, and secondMark.
| gem5::AddressManager::AtomicStruct::~AtomicStruct | ( | ) |
Definition at line 176 of file address_manager.cc.
References locArray.
| void gem5::AddressManager::AtomicStruct::endLocSelection | ( | ) |
Definition at line 275 of file address_manager.cc.
References arraySize, firstMark, inSecondRegion(), inThirdRegion(), loadStoreMap, locArray, locationBase, locProps, gem5::MipsISA::p, panic, secondMark, and swap().
| AddressManager::Location gem5::AddressManager::AtomicStruct::getLoadLoc | ( | ) |
Definition at line 199 of file address_manager.cc.
References arraySize, firstMark, gem5::AddressManager::INVALID_LOCATION, loadStoreMap, locArray, rng, and secondMark.
| AddressManager::Location gem5::AddressManager::AtomicStruct::getStoreLoc | ( | ) |
Definition at line 234 of file address_manager.cc.
References arraySize, firstMark, gem5::AddressManager::INVALID_LOCATION, loadStoreMap, locArray, rng, and secondMark.
|
inlineprivate |
Definition at line 244 of file address_manager.hh.
References firstMark.
Referenced by releaseLoc().
|
inlineprivate |
Definition at line 248 of file address_manager.hh.
References firstMark, and secondMark.
Referenced by endLocSelection(), and releaseLoc().
|
inlineprivate |
Definition at line 252 of file address_manager.hh.
References arraySize, and secondMark.
Referenced by endLocSelection(), and releaseLoc().
| bool gem5::AddressManager::AtomicStruct::isExpectedValue | ( | Value | val | ) |
Definition at line 388 of file address_manager.cc.
References expectedValues, gem5::X86ISA::val, and warn.
| void gem5::AddressManager::AtomicStruct::releaseLoc | ( | Location | loc | ) |
Definition at line 341 of file address_manager.cc.
References arraySize, firstMark, inFirstRegion(), inSecondRegion(), inThirdRegion(), locArray, locationBase, locProps, secondMark, and swap().
| void gem5::AddressManager::AtomicStruct::startLocSelection | ( | ) |
Definition at line 182 of file address_manager.cc.
References arraySize, expectedValues, firstMark, loadStoreMap, requestCount, and secondMark.
|
private |
Definition at line 410 of file address_manager.cc.
References locArray.
Referenced by endLocSelection(), and releaseLoc().
|
private |
Definition at line 219 of file address_manager.hh.
Referenced by AtomicStruct(), endLocSelection(), getLoadLoc(), getStoreLoc(), inThirdRegion(), releaseLoc(), and startLocSelection().
|
private |
Definition at line 213 of file address_manager.hh.
Referenced by AtomicStruct().
|
private |
Definition at line 237 of file address_manager.hh.
Referenced by isExpectedValue(), and startLocSelection().
|
private |
Definition at line 218 of file address_manager.hh.
Referenced by AtomicStruct(), endLocSelection(), getLoadLoc(), getStoreLoc(), inFirstRegion(), inSecondRegion(), releaseLoc(), and startLocSelection().
|
private |
Definition at line 229 of file address_manager.hh.
Referenced by endLocSelection(), getLoadLoc(), getStoreLoc(), and startLocSelection().
|
private |
Definition at line 217 of file address_manager.hh.
Referenced by AtomicStruct(), endLocSelection(), getLoadLoc(), getStoreLoc(), releaseLoc(), swap(), and ~AtomicStruct().
|
private |
Definition at line 214 of file address_manager.hh.
Referenced by AtomicStruct(), endLocSelection(), and releaseLoc().
|
private |
Definition at line 224 of file address_manager.hh.
Referenced by AtomicStruct(), endLocSelection(), and releaseLoc().
|
private |
Definition at line 232 of file address_manager.hh.
Referenced by AtomicStruct(), and startLocSelection().
|
private |
Definition at line 239 of file address_manager.hh.
Referenced by getLoadLoc(), and getStoreLoc().
|
private |
Definition at line 218 of file address_manager.hh.
Referenced by AtomicStruct(), endLocSelection(), getLoadLoc(), getStoreLoc(), inSecondRegion(), inThirdRegion(), releaseLoc(), and startLocSelection().