Home | History | Annotate | Download | only in MCParser

Lines Matching defs:EndLoc

172   virtual bool ParseExpression(const MCExpr *&Res, SMLoc &EndLoc);
173 virtual bool ParseParenExpression(const MCExpr *&Res, SMLoc &EndLoc);
226 bool ParsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc);
227 bool ParseBinOpRHS(unsigned Precedence, const MCExpr *&Res, SMLoc &EndLoc);
228 bool ParseParenExpr(const MCExpr *&Res, SMLoc &EndLoc);
229 bool ParseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc);
649 bool AsmParser::ParseParenExpr(const MCExpr *&Res, SMLoc &EndLoc) {
653 EndLoc = Lexer.getLoc();
663 bool AsmParser::ParseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc) {
667 EndLoc = Lexer.getLoc();
678 bool AsmParser::ParsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc) {
687 if (ParsePrimaryExpr(Res, EndLoc))
694 EndLoc = Lexer.getLoc();
718 return Error(EndLoc, "unexpected modifier on variable reference");
732 EndLoc = Lexer.getLoc();
744 EndLoc = Lexer.getLoc();
763 EndLoc = Lexer.getLoc();
769 return ParseParenExpr(Res, EndLoc);
774 return ParseBracketExpr(Res, EndLoc);
777 if (ParsePrimaryExpr(Res, EndLoc))
783 if (ParsePrimaryExpr(Res, EndLoc))
789 if (ParsePrimaryExpr(Res, EndLoc))
797 SMLoc EndLoc;
798 return ParseExpression(Res, EndLoc);
859 bool AsmParser::ParseExpression(const MCExpr *&Res, SMLoc &EndLoc) {
862 if (ParsePrimaryExpr(Res, EndLoc) || ParseBinOpRHS(1, Res, EndLoc))
897 bool AsmParser::ParseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) {
899 return ParseParenExpr(Res, EndLoc) ||
900 EndLoc);
998 SMLoc &EndLoc) {
1012 if (ParsePrimaryExpr(RHS, EndLoc)) return true;
1019 if (ParseBinOpRHS(Precedence+1, RHS, EndLoc)) return true;