Lines Matching refs:RegNo

73   bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override;
74 OperandMatchResultTy tryParseRegister(unsigned &RegNo, SMLoc &StartLoc,
109 bool matchRegisterName(const AsmToken &Tok, unsigned &RegNo,
696 bool SparcAsmParser::ParseRegister(unsigned &RegNo, SMLoc &StartLoc, in ParseRegister() argument
698 if (tryParseRegister(RegNo, StartLoc, EndLoc) != MatchOperand_Success) in ParseRegister()
703 OperandMatchResultTy SparcAsmParser::tryParseRegister(unsigned &RegNo, in tryParseRegister() argument
709 RegNo = 0; in tryParseRegister()
714 if (matchRegisterName(Tok, RegNo, regKind)) { in tryParseRegister()
1053 unsigned RegNo, RegKind; in parseOperand() local
1054 if (!matchRegisterName(Parser.getTok(), RegNo, RegKind)) in parseOperand()
1059 Operands.push_back(SparcOperand::CreateReg(RegNo, RegKind, S, E)); in parseOperand()
1111 unsigned RegNo; in parseSparcAsmOperand() local
1113 if (matchRegisterName(Parser.getTok(), RegNo, RegKind)) { in parseSparcAsmOperand()
1117 switch (RegNo) { in parseSparcAsmOperand()
1119 Op = SparcOperand::CreateReg(RegNo, RegKind, S, E); in parseSparcAsmOperand()
1206 bool SparcAsmParser::matchRegisterName(const AsmToken &Tok, unsigned &RegNo, in matchRegisterName() argument
1209 RegNo = 0; in matchRegisterName()
1216 RegNo = Sparc::I6; in matchRegisterName()
1222 RegNo = Sparc::O6; in matchRegisterName()
1228 RegNo = Sparc::Y; in matchRegisterName()
1235 RegNo = ASRRegs[intVal]; in matchRegisterName()
1242 RegNo = ASRRegs[6]; in matchRegisterName()
1248 RegNo = Sparc::ICC; in matchRegisterName()
1254 RegNo = Sparc::PSR; in matchRegisterName()
1260 RegNo = Sparc::FSR; in matchRegisterName()
1266 RegNo = Sparc::FQ; in matchRegisterName()
1272 RegNo = Sparc::CPSR; in matchRegisterName()
1278 RegNo = Sparc::CPQ; in matchRegisterName()
1284 RegNo = Sparc::WIM; in matchRegisterName()
1290 RegNo = Sparc::TBR; in matchRegisterName()
1297 RegNo = Sparc::ICC; in matchRegisterName()
1306 RegNo = Sparc::FCC0 + intVal; in matchRegisterName()
1314 RegNo = IntRegs[intVal]; in matchRegisterName()
1321 RegNo = IntRegs[8 + intVal]; in matchRegisterName()
1327 RegNo = IntRegs[16 + intVal]; in matchRegisterName()
1333 RegNo = IntRegs[24 + intVal]; in matchRegisterName()
1340 RegNo = FloatRegs[intVal]; in matchRegisterName()
1349 RegNo = DoubleRegs[intVal/2]; in matchRegisterName()
1357 RegNo = IntRegs[intVal]; in matchRegisterName()
1365 RegNo = CoprocRegs[intVal]; in matchRegisterName()
1371 RegNo = Sparc::TPC; in matchRegisterName()
1376 RegNo = Sparc::TNPC; in matchRegisterName()
1381 RegNo = Sparc::TSTATE; in matchRegisterName()
1386 RegNo = Sparc::TT; in matchRegisterName()
1391 RegNo = Sparc::TICK; in matchRegisterName()
1396 RegNo = Sparc::TBA; in matchRegisterName()
1401 RegNo = Sparc::PSTATE; in matchRegisterName()
1406 RegNo = Sparc::TL; in matchRegisterName()
1411 RegNo = Sparc::PIL; in matchRegisterName()
1416 RegNo = Sparc::CWP; in matchRegisterName()
1421 RegNo = Sparc::CANSAVE; in matchRegisterName()
1426 RegNo = Sparc::CANRESTORE; in matchRegisterName()
1431 RegNo = Sparc::CLEANWIN; in matchRegisterName()
1436 RegNo = Sparc::OTHERWIN; in matchRegisterName()
1441 RegNo = Sparc::WSTATE; in matchRegisterName()
1446 RegNo = Sparc::PC; in matchRegisterName()