Lines Matching refs:RegNo

749   bool OmitRegisterFromClobberLists(unsigned RegNo) override;
815 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override;
817 void SetFrameRegister(unsigned RegNo) override;
892 bool X86AsmParser::ParseRegister(unsigned &RegNo, in ParseRegister() argument
895 RegNo = 0; in ParseRegister()
913 RegNo = MatchRegisterName(Tok.getString()); in ParseRegister()
916 if (RegNo == 0) in ParseRegister()
917 RegNo = MatchRegisterName(Tok.getString().lower()); in ParseRegister()
921 if (isParsingInlineAsm() && isParsingIntelSyntax() && RegNo == X86::EFLAGS) in ParseRegister()
922 RegNo = 0; in ParseRegister()
930 if (RegNo == X86::RIZ || in ParseRegister()
931 X86MCRegisterClasses[X86::GR64RegClassID].contains(RegNo) || in ParseRegister()
932 X86II::isX86_64NonExtLowByteReg(RegNo) || in ParseRegister()
933 X86II::isX86_64ExtendedReg(RegNo)) in ParseRegister()
940 if (RegNo == 0 && (Tok.getString() == "st" || Tok.getString() == "ST")) { in ParseRegister()
941 RegNo = X86::ST0; in ParseRegister()
954 case 0: RegNo = X86::ST0; break; in ParseRegister()
955 case 1: RegNo = X86::ST1; break; in ParseRegister()
956 case 2: RegNo = X86::ST2; break; in ParseRegister()
957 case 3: RegNo = X86::ST3; break; in ParseRegister()
958 case 4: RegNo = X86::ST4; break; in ParseRegister()
959 case 5: RegNo = X86::ST5; break; in ParseRegister()
960 case 6: RegNo = X86::ST6; break; in ParseRegister()
961 case 7: RegNo = X86::ST7; break; in ParseRegister()
977 if (RegNo == 0 && Tok.getString().size() == 3 && in ParseRegister()
980 case '0': RegNo = X86::DR0; break; in ParseRegister()
981 case '1': RegNo = X86::DR1; break; in ParseRegister()
982 case '2': RegNo = X86::DR2; break; in ParseRegister()
983 case '3': RegNo = X86::DR3; break; in ParseRegister()
984 case '4': RegNo = X86::DR4; break; in ParseRegister()
985 case '5': RegNo = X86::DR5; break; in ParseRegister()
986 case '6': RegNo = X86::DR6; break; in ParseRegister()
987 case '7': RegNo = X86::DR7; break; in ParseRegister()
990 if (RegNo != 0) { in ParseRegister()
997 if (RegNo == 0) { in ParseRegister()
1007 void X86AsmParser::SetFrameRegister(unsigned RegNo) { in SetFrameRegister() argument
1008 Instrumentation->SetInitialFrameRegister(RegNo); in SetFrameRegister()
1629 unsigned RegNo = in ParseIntelOffsetOfOperator() local
1631 return X86Operand::CreateReg(RegNo, Start, End, /*GetAddress=*/true, in ParseIntelOffsetOfOperator()
1758 unsigned RegNo = 0; in ParseIntelOperand() local
1759 if (!ParseRegister(RegNo, Start, End)) { in ParseIntelOperand()
1769 return X86Operand::CreateReg(RegNo, Start, End); in ParseIntelOperand()
1772 return ParseIntelSegmentOverride(/*SegReg=*/RegNo, Start, Size); in ParseIntelOperand()
1787 unsigned RegNo; in ParseATTOperand() local
1789 if (ParseRegister(RegNo, Start, End)) return nullptr; in ParseATTOperand()
1790 if (RegNo == X86::EIZ || RegNo == X86::RIZ) { in ParseATTOperand()
1799 return X86Operand::CreateReg(RegNo, Start, End); in ParseATTOperand()
1801 if (!X86MCRegisterClasses[X86::SEGMENT_REGRegClassID].contains(RegNo)) in ParseATTOperand()
1805 return ParseMemOperand(RegNo, Start); in ParseATTOperand()
2816 bool X86AsmParser::OmitRegisterFromClobberLists(unsigned RegNo) { in OmitRegisterFromClobberLists() argument
2817 return X86MCRegisterClasses[X86::SEGMENT_REGRegClassID].contains(RegNo); in OmitRegisterFromClobberLists()