Lines Matching refs:AsmToken
26 AsmToken tentativeToken;
28 const AsmToken &lexTentative() {
34 const AsmToken &lexDefinite() {
42 AsmToken LexTokenATT();
43 AsmToken LexTokenIntel();
45 AsmToken LexToken() {
48 return AsmToken(AsmToken::Error, "", 0);
54 return AsmToken(AsmToken::Error, "", 0);
72 AsmToken X86AsmLexer::LexTokenATT() {
73 AsmToken lexedToken = lexDefinite();
78 case AsmToken::Error:
82 case AsmToken::Percent: {
83 const AsmToken &nextToken = lexTentative();
84 if (nextToken.getKind() != AsmToken::Identifier)
97 return AsmToken(AsmToken::Register, regStr,
125 return AsmToken(AsmToken::Register, regStr,
136 AsmToken X86AsmLexer::LexTokenIntel() {
137 const AsmToken &lexedToken = lexDefinite();
142 case AsmToken::Error:
145 case AsmToken::Identifier: {
149 return AsmToken(AsmToken::Register,