Home | History | Annotate | Download | only in MCParser

Lines Matching refs:EndLoc

234   bool parseExpression(const MCExpr *&Res, SMLoc &EndLoc) override;
235 bool parsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc) override;
236 bool parseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) override;
329 bool parseBinOpRHS(unsigned Precedence, const MCExpr *&Res, SMLoc &EndLoc);
330 bool parseParenExpr(const MCExpr *&Res, SMLoc &EndLoc);
331 bool parseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc);
745 bool AsmParser::parseParenExpr(const MCExpr *&Res, SMLoc &EndLoc) {
750 EndLoc = Lexer.getTok().getEndLoc();
760 bool AsmParser::parseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc) {
765 EndLoc = Lexer.getTok().getEndLoc();
776 bool AsmParser::parsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc) {
787 if (parsePrimaryExpr(Res, EndLoc))
805 EndLoc = FirstTokenLoc;
839 EndLoc = SMLoc::getFromPointer(Identifier.end());
864 return Error(EndLoc, "unexpected modifier on variable reference");
880 EndLoc = Lexer.getTok().getEndLoc();
900 EndLoc = Lexer.getTok().getEndLoc();
910 EndLoc
920 EndLoc = Lexer.getTok().getEndLoc();
926 return parseParenExpr(Res, EndLoc);
931 return parseBracketExpr(Res, EndLoc);
934 if (parsePrimaryExpr(Res, EndLoc))
940 if (parsePrimaryExpr(Res, EndLoc))
946 if (parsePrimaryExpr(Res, EndLoc))
954 SMLoc EndLoc;
955 return parseExpression(Res, EndLoc);
1022 bool AsmParser::parseExpression(const MCExpr *&Res, SMLoc &EndLoc) {
1025 if (parsePrimaryExpr(Res, EndLoc) || parseBinOpRHS(1, Res, EndLoc))
1060 bool AsmParser::parseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) {
1062 return parseParenExpr(Res, EndLoc) || parseBinOpRHS(1, Res, EndLoc);
1158 SMLoc &EndLoc) {
1172 if (parsePrimaryExpr(RHS, EndLoc))
1179 if (TokPrec < NextTokPrec && parseBinOpRHS(TokPrec + 1, RHS, EndLoc))