Lines Matching refs:reg
178 unsigned reg = i; in RegisterName() local
179 if (reg == return_address_) in RegisterName()
183 if (reg < register_names_.size() && !register_names_[reg].empty()) in RegisterName()
184 return register_names_[reg]; in RegisterName()
186 reporter_->UnnamedRegister(entry_offset_, reg); in RegisterName()
188 sprintf(buf, "unnamed_register%u", reg); in RegisterName()
192 void DwarfCFIToModule::Record(Module::Address address, int reg, in Record() argument
206 entry_->initial_rules[RegisterName(reg)] = shared_rule; in Record()
209 entry_->rule_changes[address][RegisterName(reg)] = shared_rule; in Record()
212 bool DwarfCFIToModule::UndefinedRule(uint64 address, int reg) { in UndefinedRule() argument
213 reporter_->UndefinedNotSupported(entry_offset_, RegisterName(reg)); in UndefinedRule()
218 bool DwarfCFIToModule::SameValueRule(uint64 address, int reg) { in SameValueRule() argument
220 s << RegisterName(reg); in SameValueRule()
221 Record(address, reg, s.str()); in SameValueRule()
225 bool DwarfCFIToModule::OffsetRule(uint64 address, int reg, in OffsetRule() argument
229 Record(address, reg, s.str()); in OffsetRule()
233 bool DwarfCFIToModule::ValOffsetRule(uint64 address, int reg, in ValOffsetRule() argument
237 Record(address, reg, s.str()); in ValOffsetRule()
241 bool DwarfCFIToModule::RegisterRule(uint64 address, int reg, in RegisterRule() argument
245 Record(address, reg, s.str()); in RegisterRule()
249 bool DwarfCFIToModule::ExpressionRule(uint64 address, int reg, in ExpressionRule() argument
251 reporter_->ExpressionsNotSupported(entry_offset_, RegisterName(reg)); in ExpressionRule()
256 bool DwarfCFIToModule::ValExpressionRule(uint64 address, int reg, in ValExpressionRule() argument
258 reporter_->ExpressionsNotSupported(entry_offset_, RegisterName(reg)); in ValExpressionRule()
269 void DwarfCFIToModule::Reporter::UnnamedRegister(size_t offset, int reg) { in UnnamedRegister() argument
273 file_.c_str(), section_.c_str(), offset, reg); in UnnamedRegister()
277 const string ®) { in UndefinedNotSupported() argument
282 file_.c_str(), section_.c_str(), offset, reg.c_str()); in UndefinedNotSupported()
286 const string ®) { in ExpressionsNotSupported() argument
292 file_.c_str(), section_.c_str(), offset, reg.c_str()); in ExpressionsNotSupported()