Lines Matching refs:getLoc

80     SMLoc Result = Parser.getTok().getLoc();  in consumeToken()
1072 StartLoc = PercentTok.getLoc(); in ParseRegister()
1129 return Error(IntTok.getLoc(), "expected stack index"); in ParseRegister()
1139 default: return Error(IntTok.getLoc(), "invalid stack index"); in ParseRegister()
1143 return Error(Parser.getTok().getLoc(), "expected ')'"); in ParseRegister()
1432 return Error(Tok.getLoc(), "unknown token in expression"); in ParseIntelExpression()
1445 SMLoc IdentLoc = Tok.getLoc(); in ParseIntelExpression()
1452 return Error(Tok.getLoc(), ErrMsg); in ParseIntelExpression()
1463 return Error(Tok.getLoc(), "Unexpected identifier!"); in ParseIntelExpression()
1499 SMLoc Loc = getTok().getLoc(); in ParseIntelExpression()
1531 return Error(getTok().getLoc(), ErrMsg); in ParseIntelExpression()
1535 return Error(getTok().getLoc(), ErrMsg); in ParseIntelExpression()
1550 return Error(Tok.getLoc(), "unexpected bracket encountered"); in ParseIntelExpression()
1554 return Error(Tok.getLoc(), "unexpected bracket encountered"); in ParseIntelExpression()
1560 return Error(Tok.getLoc(), "unknown token in expression"); in ParseIntelExpression()
1615 SMLoc Loc = Tok.getLoc(); in ParseIntelInlineAsmIdentifier()
1619 const char *EndPtr = Tok.getLoc().getPointer() + LineBuf.size(); in ParseIntelInlineAsmIdentifier()
1666 return ErrorOperand(Tok.getLoc(), "Invalid rounding mode."); in ParseRoundingModeOp()
1669 return ErrorOperand(Tok.getLoc(), "Expected - at this point"); in ParseRoundingModeOp()
1673 return ErrorOperand(Tok.getLoc(), "Expected } at this point"); in ParseRoundingModeOp()
1683 return ErrorOperand(Tok.getLoc(), "Expected } at this point"); in ParseRoundingModeOp()
1687 return ErrorOperand(Tok.getLoc(), "unknown token in expression"); in ParseRoundingModeOp()
1709 return Error(Tok.getLoc(), "Unable to lookup field reference!"); in ParseIntelDotOperator()
1711 return Error(Tok.getLoc(), "Unexpected token type!"); in ParseIntelDotOperator()
1716 while (Tok.getLoc().getPointer() < DotExprEndLoc) in ParseIntelDotOperator()
1727 SMLoc OffsetOfLoc = Tok.getLoc(); in ParseIntelOffsetOfOperator()
1732 SMLoc Start = Tok.getLoc(), End; in ParseIntelOffsetOfOperator()
1781 SMLoc Start = Tok.getLoc(), End; in ParseIntelInlineAsmOperator()
1823 return Error(Tok.getLoc(), "Expected 'PTR' or 'ptr' token!"); in ParseIntelMemoryOperandSize()
1847 Start = Tok.getLoc(); in ParseIntelOperand()
1867 Start = Lex().getLoc(); in ParseIntelOperand()
1876 RewriteIntelExpression(SM, Start, Tok.getLoc()); in ParseIntelOperand()
1945 SMLoc Start = Parser.getTok().getLoc(), End; in ParseATTOperand()
1950 SMLoc L = Parser.getTok().getLoc(); in ParseATTOperand()
1959 SMLoc Start = Parser.getTok().getLoc(); in ParseATTOperand()
1968 SMLoc Loc = Parser.getTok().getLoc(), EndLoc; in ParseATTOperand()
2015 return Error(getLexer().getLoc(), "Expected } at this point"); in ParseZ()
2078 return Error(getLexer().getLoc(), "Expected } at this point"); in HandleAVX512Operand()
2084 return Error(getLexer().getLoc(), in HandleAVX512Operand()
2091 return Error(getLexer().getLoc(), in HandleAVX512Operand()
2147 (Buf[0].getLoc().getPointer() + 1 == Buf[1].getLoc().getPointer())) in ParseMemOperand()
2148 Id = StringRef(Buf[0].getLoc().getPointer(), in ParseMemOperand()
2194 SMLoc BaseLoc = getLexer().getLoc(); in ParseMemOperand()
2293 SMLoc StartLoc = Parser.getTok().getLoc(); in parsePrimaryExpr()
2562 getLexer().getTok().getLoc(), 0); in ParseInstruction()
3302 return ParseDirectiveCode(IDVal, DirectiveID.getLoc()); in ParseDirective()
3308 return Error(DirectiveID.getLoc(), "'.att_syntax noprefix' is not " in ParseDirective()
3320 return Error(DirectiveID.getLoc(), "'.intel_syntax prefix' is not " in ParseDirective()
3326 return parseDirectiveEven(DirectiveID.getLoc()); in ParseDirective()
3328 return parseDirectiveFPOProc(DirectiveID.getLoc()); in ParseDirective()
3330 return parseDirectiveFPOSetFrame(DirectiveID.getLoc()); in ParseDirective()
3332 return parseDirectiveFPOPushReg(DirectiveID.getLoc()); in ParseDirective()
3334 return parseDirectiveFPOStackAlloc(DirectiveID.getLoc()); in ParseDirective()
3336 return parseDirectiveFPOStackAlign(DirectiveID.getLoc()); in ParseDirective()
3338 return parseDirectiveFPOEndPrologue(DirectiveID.getLoc()); in ParseDirective()
3340 return parseDirectiveFPOEndProc(DirectiveID.getLoc()); in ParseDirective()