|
gem5
v19.0.0.0
|
#include <hsail_code.hh>
Public Member Functions | |
| LabelMap () | |
| void | addLabel (const Brig::BrigDirectiveLabel *lbl, int inst_index, const BrigObject *obj) |
| Label * | refLabel (const Brig::BrigDirectiveLabel *lbl, const BrigObject *obj) |
Private Attributes | |
| std::map< std::string, Label > | map |
Definition at line 205 of file hsail_code.hh.
|
inline |
Definition at line 210 of file hsail_code.hh.
| void LabelMap::addLabel | ( | const Brig::BrigDirectiveLabel * | lbl, |
| int | inst_index, | ||
| const BrigObject * | obj | ||
| ) |
Definition at line 227 of file hsail_code.cc.
References Label::define(), Label::defined(), DPRINTF, fatal, BrigObject::getString(), and Brig::BrigDirectiveLabel::name.
Referenced by HsailCode::init().
| Label * LabelMap::refLabel | ( | const Brig::BrigDirectiveLabel * | lbl, |
| const BrigObject * | obj | ||
| ) |
Definition at line 242 of file hsail_code.cc.
References Label::checkName(), BrigObject::getString(), HsaCode::name(), and Brig::BrigDirectiveLabel::name.
Referenced by HsailCode::refLabel().
|
private |
Definition at line 207 of file hsail_code.hh.