• Home
  • Raw
  • Download

Lines Matching refs:Lexer

85   AsmLexer Lexer;  member in __anon4250552f0111::AsmParser
146 virtual MCAsmLexer &getLexer() { return Lexer; } in getLexer()
380 : Lexer(_MAI), Ctx(_Ctx), Out(_Out), MAI(_MAI), SrcMgr(_SM), in AsmParser()
389 Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)); in AsmParser()
447 int NewBuf = SrcMgr.AddIncludeFile(Filename, Lexer.getLoc(), IncludedFile); in EnterIncludeFile()
453 Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)); in EnterIncludeFile()
463 int NewBuf = SrcMgr.AddIncludeFile(Filename, Lexer.getLoc(), IncludedFile); in ProcessIncbinFile()
475 Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer), Loc.getPointer()); in JumpToLoc()
479 const AsmToken *tok = &Lexer.Lex(); in Lex()
487 tok = &Lexer.Lex(); in Lex()
492 Error(Lexer.getErrLoc(), Lexer.getErr()); in Lex()
520 while (Lexer.isNot(AsmToken::Eof)) { in Run()
585 while (Lexer.isNot(AsmToken::EndOfStatement) && in EatToEndOfStatement()
586 Lexer.isNot(AsmToken::Eof)) in EatToEndOfStatement()
590 if (Lexer.is(AsmToken::EndOfStatement)) in EatToEndOfStatement()
597 while (Lexer.isNot(AsmToken::EndOfStatement) && in ParseStringToEndOfStatement()
598 Lexer.isNot(AsmToken::Eof)) in ParseStringToEndOfStatement()
612 if (Lexer.isNot(AsmToken::RParen)) in ParseParenExpr()
614 EndLoc = Lexer.getLoc(); in ParseParenExpr()
626 if (Lexer.isNot(AsmToken::RBrac)) in ParseBracketExpr()
628 EndLoc = Lexer.getLoc(); in ParseBracketExpr()
640 switch (Lexer.getKind()) { in ParsePrimaryExpr()
655 EndLoc = Lexer.getLoc(); in ParsePrimaryExpr()
693 EndLoc = Lexer.getLoc(); in ParsePrimaryExpr()
696 if (Lexer.getKind() == AsmToken::Identifier) { in ParsePrimaryExpr()
705 EndLoc = Lexer.getLoc(); in ParsePrimaryExpr()
724 EndLoc = Lexer.getLoc(); in ParsePrimaryExpr()
829 if (Lexer.getKind() == AsmToken::At) { in ParseExpression()
832 if (Lexer.isNot(AsmToken::Identifier)) in ParseExpression()
867 SMLoc StartLoc = Lexer.getLoc(); in ParseAbsoluteExpression()
962 unsigned TokPrec = getBinOpPrecedence(Lexer.getKind(), Kind); in ParseBinOpRHS()
978 unsigned NextTokPrec = getBinOpPrecedence(Lexer.getKind(), Dummy); in ParseBinOpRHS()
996 if (Lexer.is(AsmToken::EndOfStatement)) { in ParseStatement()
1008 if (Lexer.is(AsmToken::Hash)) in ParseStatement()
1012 if (Lexer.is(AsmToken::Integer)) { in ParseStatement()
1022 if (Lexer.getKind() != AsmToken::Colon) { in ParseStatement()
1028 } else if (Lexer.is(AsmToken::Dot)) { in ParseStatement()
1065 switch (Lexer.getKind()) { in ParseStatement()
1100 if (Lexer.is(AsmToken::EndOfStatement)) { in ParseStatement()
1102 if (Lexer.is(AsmToken::Eof)) in ParseStatement()
1301 if (!Lexer.is(AsmToken::EndOfStatement)) in EatToEndOfLine()
1302 Lexer.LexUntilEndOfLine(); in EatToEndOfLine()
1509 if (Lexer.is(AsmToken::Eof)) in HandleMacroEntry()
1511 if (Lexer.is(AsmToken::EndOfStatement)) in HandleMacroEntry()
1516 if (ParenLevel == 0 && Lexer.is(AsmToken::Comma)) { in HandleMacroEntry()
1520 if (Lexer.is(AsmToken::LParen)) in HandleMacroEntry()
1522 else if (Lexer.is(AsmToken::RParen) && ParenLevel) in HandleMacroEntry()
1556 Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)); in HandleMacroEntry()
1597 SMLoc EqualLoc = Lexer.getLoc(); in ParseAssignment()
1607 if (Lexer.isNot(AsmToken::EndOfStatement)) in ParseAssignment()
1663 if (Lexer.is(AsmToken::Dollar)) { in ParseIdentifier()
1668 if (Lexer.isNot(AsmToken::Identifier)) in ParseIdentifier()
1682 if (Lexer.isNot(AsmToken::Identifier) && in ParseIdentifier()
1683 Lexer.isNot(AsmToken::String)) in ParseIdentifier()
2104 if ((!HasFillExpr || Lexer.getMAI().getTextAlignFillValue() == FillExpr) && in ParseDirectiveAlign()
2179 if (Lexer.getMAI().getAlignmentIsInBytes()) { in ParseDirectiveComm()