|
gem5
v19.0.0.0
|
#include <hsail_code.hh>
Public Member Functions | |
| StorageSpace (Brig::BrigSegment _class) | |
| StorageElement * | addSymbol (const Brig::BrigDirectiveVariable *sym, const BrigObject *obj) |
| StorageElement * | findSymbol (std::string name) |
| StorageElement * | findSymbol (uint64_t addr) |
| StorageElement * | findSymbol (const Brig::BrigDirectiveVariable *brigptr) |
| int | getSize () |
| void | resetOffset () |
Private Types | |
| typedef std::map< const Brig::BrigDirectiveVariable *, StorageElement * > | DirVarToSE_map |
Private Attributes | |
| std::list< StorageElement * > | elements |
| AddrRangeMap< StorageElement * > | elements_by_addr |
| DirVarToSE_map | elements_by_brigptr |
| uint64_t | nextOffset |
Definition at line 238 of file hsail_code.hh.
|
private |
Definition at line 241 of file hsail_code.hh.
|
inline |
Definition at line 250 of file hsail_code.hh.
References addr, and Label::name.
| StorageElement * StorageSpace::addSymbol | ( | const Brig::BrigDirectiveVariable * | sym, |
| const BrigObject * | obj | ||
| ) |
Definition at line 288 of file hsail_code.cc.
References Brig::BRIG_TYPE_ARRAY, Brig::BrigDirectiveVariable::dim, DPRINTF, getBrigDataTypeBytes(), BrigObject::getString(), Brig::BrigUInt64::hi, Brig::BrigDirectiveVariable::init, Brig::BrigUInt64::lo, Brig::BrigDirectiveVariable::name, ArmISA::offset, roundUp(), and Brig::BrigDirectiveVariable::type.
Referenced by StorageMap::addSymbol().
| StorageElement * StorageSpace::findSymbol | ( | std::string | name | ) |
Definition at line 320 of file hsail_code.cc.
Referenced by StorageMap::findSymbol().
| StorageElement * StorageSpace::findSymbol | ( | uint64_t | addr | ) |
Definition at line 332 of file hsail_code.cc.
| StorageElement * StorageSpace::findSymbol | ( | const Brig::BrigDirectiveVariable * | brigptr | ) |
Definition at line 346 of file hsail_code.cc.
|
inline |
Definition at line 261 of file hsail_code.hh.
Referenced by StorageMap::getSize().
|
inline |
Definition at line 262 of file hsail_code.hh.
Referenced by StorageMap::resetOffset().
|
private |
Definition at line 243 of file hsail_code.hh.
|
private |
Definition at line 244 of file hsail_code.hh.
|
private |
Definition at line 245 of file hsail_code.hh.
|
private |
Definition at line 247 of file hsail_code.hh.