• Home
  • Raw
  • Download

Lines Matching refs:Lexer

71         Lexer(Parser.getLexer()), SubtargetInfo(STI) {  in LanaiAsmParser()
78 MCAsmLexer &Lexer; member in llvm::__anon5eefb8350111::LanaiAsmParser
677 if (Lexer.getKind() == AsmToken::Percent) in parseRegister()
679 if (Lexer.getKind() == AsmToken::Identifier) { in parseRegister()
680 RegNum = MatchRegisterName(Lexer.getTok().getIdentifier()); in parseRegister()
703 if (Lexer.getKind() != AsmToken::Identifier) in parseIdentifier()
719 if (Lexer.getKind() != AsmToken::LParen) { in parseIdentifier()
720 Error(Lexer.getLoc(), "Expected '('"); in parseIdentifier()
723 Lexer.Lex(); // lex '(' in parseIdentifier()
731 if (Lexer.getKind() == AsmToken::Plus && Parser.parseExpression(RHS)) in parseIdentifier()
736 if (Lexer.getKind() != AsmToken::RParen) { in parseIdentifier()
737 Error(Lexer.getLoc(), "Expected ')'"); in parseIdentifier()
740 Lexer.Lex(); // lex ')' in parseIdentifier()
760 switch (Lexer.getKind()) { in parseImmediate()
799 if (Lexer.getKind() == Lexer.peekTok(true).getKind()) { in parsePrePost()
801 if (Lexer.is(AsmToken::Minus)) in parsePrePost()
803 else if (Lexer.is(AsmToken::Plus)) in parsePrePost()
811 } else if (Lexer.is(AsmToken::Star)) { in parsePrePost()
872 if (Lexer.isNot(AsmToken::LBrac)) { in parseMemoryOperand()
894 if ((Op = parseImmediate()) && Lexer.is(AsmToken::RBrac)) { in parseMemoryOperand()
926 if (Lexer.is(AsmToken::RBrac)) { in parseMemoryOperand()
947 if (!BaseReg || Lexer.isNot(AsmToken::RBrac)) { in parseMemoryOperand()
1143 if (Lexer.is(AsmToken::EndOfStatement)) in ParseInstruction()
1152 if (Lexer.is(AsmToken::EndOfStatement) && Name == "st" && in ParseInstruction()
1165 if (Lexer.is(AsmToken::EndOfStatement) && Name.startswith("bt") && in ParseInstruction()
1172 while (Lexer.isNot(AsmToken::EndOfStatement) && Lexer.is(AsmToken::Comma)) { in ParseInstruction()