Lines Matching refs:RegNum
207 static std::unique_ptr<AVROperand> CreateReg(unsigned RegNum, SMLoc S, in CreateReg() argument
209 return std::make_unique<AVROperand>(RegNum, S, E); in CreateReg()
218 CreateMemri(unsigned RegNum, const MCExpr *Val, SMLoc S, SMLoc E) { in CreateMemri() argument
219 return std::make_unique<AVROperand>(RegNum, Val, S, E); in CreateMemri()
339 int RegNum = matchFn(Name); in parseRegisterName() local
345 if (RegNum == AVR::NoRegister) { in parseRegisterName()
346 RegNum = matchFn(Name.lower()); in parseRegisterName()
348 if (RegNum == AVR::NoRegister) { in parseRegisterName()
349 RegNum = matchFn(Name.upper()); in parseRegisterName()
352 return RegNum; in parseRegisterName()
356 int RegNum = parseRegisterName(&MatchRegisterName); in parseRegisterName() local
358 if (RegNum == AVR::NoRegister) in parseRegisterName()
359 RegNum = parseRegisterName(&MatchRegisterAltName); in parseRegisterName()
361 return RegNum; in parseRegisterName()
365 int RegNum = AVR::NoRegister; in parseRegister() local
377 RegNum = toDREG(parseRegisterName()); in parseRegister()
379 if (RegNum == AVR::NoRegister && RestoreOnFailure) { in parseRegister()
384 RegNum = parseRegisterName(); in parseRegister()
387 return RegNum; in parseRegister()
723 int64_t RegNum = Const->getValue(); in validateTargetOperandClass() local
725 RegName << "r" << RegNum; in validateTargetOperandClass()
726 RegNum = MatchRegisterName(RegName.str().c_str()); in validateTargetOperandClass()
727 if (RegNum != AVR::NoRegister) { in validateTargetOperandClass()
728 Op.makeReg(RegNum); in validateTargetOperandClass()