Lines Matching refs:getLoc
123 SMLoc Result = Parser.getTok().getLoc(); in consumeToken()
1511 StartLoc = PercentTok.getLoc(); in ParseRegister()
1550 return Error(IntTok.getLoc(), "expected stack index"); in ParseRegister()
1563 return Error(IntTok.getLoc(), "invalid stack index"); in ParseRegister()
1571 return Error(Parser.getTok().getLoc(), "expected ')'"); in ParseRegister()
1830 SMLoc OffsetLoc = getTok().getLoc(); in ParseIntelNamedOperator()
1903 return Error(Tok.getLoc(), "unknown token in expression"); in ParseIntelExpression()
1917 return Error(Tok.getLoc(), "unknown token in expression"); in ParseIntelExpression()
1929 return Error(Tok.getLoc(), "unknown token in expression"); in ParseIntelExpression()
1935 SMLoc ValueLoc = Tok.getLoc(); in ParseIntelExpression()
1951 SMLoc IdentLoc = Tok.getLoc(); in ParseIntelExpression()
1978 return Error(Tok.getLoc(), "unknown type"); in ParseIntelExpression()
2009 return Error(getTok().getLoc(), ErrMsg); in ParseIntelExpression()
2102 return Error(Tok.getLoc(), "Unexpected identifier!"); in ParseIntelExpression()
2111 SMLoc Loc = getTok().getLoc(); in ParseIntelExpression()
2144 return Error(getTok().getLoc(), ErrMsg); in ParseIntelExpression()
2148 return Error(getTok().getLoc(), ErrMsg); in ParseIntelExpression()
2163 return Error(Tok.getLoc(), "unexpected bracket encountered"); in ParseIntelExpression()
2168 return Error(Tok.getLoc(), ErrMsg); in ParseIntelExpression()
2175 return Error(Tok.getLoc(), "unknown token in expression"); in ParseIntelExpression()
2232 SMLoc Loc = Tok.getLoc(); in ParseIntelInlineAsmIdentifier()
2236 const char *EndPtr = Tok.getLoc().getPointer() + LineBuf.size(); in ParseIntelInlineAsmIdentifier()
2279 return Error(Tok.getLoc(), "Expected an identifier after {"); in ParseRoundingModeOp()
2288 return Error(Tok.getLoc(), "Invalid rounding mode."); in ParseRoundingModeOp()
2291 return Error(Tok.getLoc(), "Expected - at this point"); in ParseRoundingModeOp()
2295 return Error(Tok.getLoc(), "Expected } at this point"); in ParseRoundingModeOp()
2306 return Error(Tok.getLoc(), "Expected } at this point"); in ParseRoundingModeOp()
2311 return Error(Tok.getLoc(), "unknown token in expression"); in ParseRoundingModeOp()
2319 const SMLoc Start = Tok.getLoc(); in parseCFlagsOp()
2321 return Error(Tok.getLoc(), "Expected { at this point"); in parseCFlagsOp()
2325 return Error(Tok.getLoc(), "Expected dfv at this point"); in parseCFlagsOp()
2329 return Error(Tok.getLoc(), "Expected = at this point"); in parseCFlagsOp()
2351 return Error(Tok.getLoc(), "Invalid conditional flags"); in parseCFlagsOp()
2354 return Error(Tok.getLoc(), "Duplicated conditional flag"); in parseCFlagsOp()
2366 return Error(Tok.getLoc(), "Expected } at this point"); in parseCFlagsOp()
2368 return Error(Tok.getLoc(), "Expected } or , at this point"); in parseCFlagsOp()
2390 return Error(Tok.getLoc(), "Unexpected offset"); in ParseIntelDotOperator()
2405 return Error(Tok.getLoc(), "Unable to lookup field reference!"); in ParseIntelDotOperator()
2407 return Error(Tok.getLoc(), "Unexpected token type!"); in ParseIntelDotOperator()
2413 while (Tok.getLoc().getPointer() < DotExprEndLoc) in ParseIntelDotOperator()
2428 SMLoc Start = Lex().getLoc(); in ParseIntelOffsetOperator()
2466 SMLoc Start = Tok.getLoc(), End; in ParseIntelInlineAsmOperator()
2506 SMLoc OpLoc = Parser.getTok().getLoc(); in ParseMasmOperator()
2530 SMLoc End, Start = Parser.getTok().getLoc(); in ParseMasmOperator()
2575 return Error(Tok.getLoc(), "Expected 'PTR' or 'ptr' token!"); in ParseIntelMemoryOperandSize()
2592 Start = Tok.getLoc(); in parseIntelOperand()
2615 Start = Lex().getLoc(); in parseIntelOperand()
2624 RewriteIntelExpression(SM, Start, Tok.getLoc()); in parseIntelOperand()
2759 SMLoc Start = Parser.getTok().getLoc(), End; in parseATTOperand()
2764 SMLoc L = Parser.getTok().getLoc(); in parseATTOperand()
2774 SMLoc Start = Parser.getTok().getLoc(); in parseATTOperand()
2783 SMLoc Loc = Parser.getTok().getLoc(), EndLoc; in parseATTOperand()
2859 return Error(getLexer().getLoc(), "Expected } at this point"); in ParseZ()
2927 return Error(getLexer().getLoc(), "Expected } at this point"); in HandleAVX512Operand()
2933 return Error(getLexer().getLoc(), in HandleAVX512Operand()
2940 return Error(getLexer().getLoc(), in HandleAVX512Operand()
2995 (Buf[0].getLoc().getPointer() + 1 == Buf[1].getLoc().getPointer())) in ParseMemOperand()
2996 Id = StringRef(Buf[0].getLoc().getPointer(), in ParseMemOperand()
3045 SMLoc BaseLoc = getLexer().getLoc(); in ParseMemOperand()
3178 SMLoc StartLoc = Parser.getTok().getLoc(); in parsePrimaryExpr()
3203 return Error(Parser.getTok().getLoc(), "Unexpected token after '{'"); in ParseInstruction()
3207 return Error(Parser.getTok().getLoc(), "Expected '}'"); in ParseInstruction()
3231 NameLoc = Parser.getTok().getLoc(); in ParseInstruction()
3237 return Error(Parser.getTok().getLoc(), "Expected identifier"); in ParseInstruction()
3257 return Error(Parser.getTok().getLoc(), "Expected identifier"); in ParseInstruction()
3260 NameLoc = Parser.getTok().getLoc(); in ParseInstruction()
3587 getLexer().getTok().getLoc(), 0); in ParseInstruction()
3975 emitWarningForSpecialLVIInstruction(Inst.getLoc()); in applyLVICFIMitigation()
4004 emitWarningForSpecialLVIInstruction(Inst.getLoc()); in applyLVILoadHardeningMitigation()
4010 emitWarningForSpecialLVIInstruction(Inst.getLoc()); in applyLVILoadHardeningMitigation()
4597 return ParseDirectiveCode(IDVal, DirectiveID.getLoc()); in ParseDirective()
4603 return Error(DirectiveID.getLoc(), "'.att_syntax noprefix' is not " in ParseDirective()
4615 return Error(DirectiveID.getLoc(), "'.intel_syntax prefix' is not " in ParseDirective()
4621 return parseDirectiveNops(DirectiveID.getLoc()); in ParseDirective()
4623 return parseDirectiveEven(DirectiveID.getLoc()); in ParseDirective()
4625 return parseDirectiveFPOProc(DirectiveID.getLoc()); in ParseDirective()
4627 return parseDirectiveFPOSetFrame(DirectiveID.getLoc()); in ParseDirective()
4629 return parseDirectiveFPOPushReg(DirectiveID.getLoc()); in ParseDirective()
4631 return parseDirectiveFPOStackAlloc(DirectiveID.getLoc()); in ParseDirective()
4633 return parseDirectiveFPOStackAlign(DirectiveID.getLoc()); in ParseDirective()
4635 return parseDirectiveFPOEndPrologue(DirectiveID.getLoc()); in ParseDirective()
4637 return parseDirectiveFPOEndProc(DirectiveID.getLoc()); in ParseDirective()
4640 return parseDirectiveSEHPushReg(DirectiveID.getLoc()); in ParseDirective()
4643 return parseDirectiveSEHSetFrame(DirectiveID.getLoc()); in ParseDirective()
4646 return parseDirectiveSEHSaveReg(DirectiveID.getLoc()); in ParseDirective()
4649 return parseDirectiveSEHSaveXMM(DirectiveID.getLoc()); in ParseDirective()
4652 return parseDirectiveSEHPushFrame(DirectiveID.getLoc()); in ParseDirective()
4669 NumBytesLoc = getTok().getLoc(); in parseDirectiveNops()
4675 ControlLoc = getTok().getLoc(); in parseDirectiveNops()
4826 SMLoc startLoc = getLexer().getLoc(); in parseSEHRegisterNumber()
4941 SMLoc startLoc = getLexer().getLoc(); in parseDirectiveSEHPushFrame()