Lines Matching refs:getLoc
110 SMLoc Result = Parser.getTok().getLoc(); in consumeToken()
1479 StartLoc = PercentTok.getLoc(); in ParseRegister()
1518 return Error(IntTok.getLoc(), "expected stack index"); in ParseRegister()
1531 return Error(IntTok.getLoc(), "invalid stack index"); in ParseRegister()
1539 return Error(Parser.getTok().getLoc(), "expected ')'"); in ParseRegister()
1802 SMLoc OffsetLoc = getTok().getLoc(); in ParseIntelNamedOperator()
1861 return Error(Tok.getLoc(), "unknown token in expression"); in ParseIntelExpression()
1878 return Error(Tok.getLoc(), "unknown token in expression"); in ParseIntelExpression()
1890 return Error(Tok.getLoc(), "unknown token in expression"); in ParseIntelExpression()
1896 SMLoc ValueLoc = Tok.getLoc(); in ParseIntelExpression()
1912 SMLoc IdentLoc = Tok.getLoc(); in ParseIntelExpression()
1939 return Error(Tok.getLoc(), "unknown type"); in ParseIntelExpression()
1970 return Error(getTok().getLoc(), ErrMsg); in ParseIntelExpression()
2063 return Error(Tok.getLoc(), "Unexpected identifier!"); in ParseIntelExpression()
2072 SMLoc Loc = getTok().getLoc(); in ParseIntelExpression()
2105 return Error(getTok().getLoc(), ErrMsg); in ParseIntelExpression()
2109 return Error(getTok().getLoc(), ErrMsg); in ParseIntelExpression()
2124 return Error(Tok.getLoc(), "unexpected bracket encountered"); in ParseIntelExpression()
2128 return Error(Tok.getLoc(), "unexpected bracket encountered"); in ParseIntelExpression()
2134 return Error(Tok.getLoc(), "unknown token in expression"); in ParseIntelExpression()
2191 SMLoc Loc = Tok.getLoc(); in ParseIntelInlineAsmIdentifier()
2195 const char *EndPtr = Tok.getLoc().getPointer() + LineBuf.size(); in ParseIntelInlineAsmIdentifier()
2238 return Error(Tok.getLoc(), "Expected an identifier after {"); in ParseRoundingModeOp()
2247 return Error(Tok.getLoc(), "Invalid rounding mode."); in ParseRoundingModeOp()
2250 return Error(Tok.getLoc(), "Expected - at this point"); in ParseRoundingModeOp()
2254 return Error(Tok.getLoc(), "Expected } at this point"); in ParseRoundingModeOp()
2265 return Error(Tok.getLoc(), "Expected } at this point"); in ParseRoundingModeOp()
2270 return Error(Tok.getLoc(), "unknown token in expression"); in ParseRoundingModeOp()
2303 return Error(Tok.getLoc(), "Unable to lookup field reference!"); in ParseIntelDotOperator()
2305 return Error(Tok.getLoc(), "Unexpected token type!"); in ParseIntelDotOperator()
2311 while (Tok.getLoc().getPointer() < DotExprEndLoc) in ParseIntelDotOperator()
2326 SMLoc Start = Lex().getLoc(); in ParseIntelOffsetOperator()
2364 SMLoc Start = Tok.getLoc(), End; in ParseIntelInlineAsmOperator()
2404 SMLoc OpLoc = Parser.getTok().getLoc(); in ParseMasmOperator()
2428 SMLoc End, Start = Parser.getTok().getLoc(); in ParseMasmOperator()
2473 return Error(Tok.getLoc(), "Expected 'PTR' or 'ptr' token!"); in ParseIntelMemoryOperandSize()
2490 Start = Tok.getLoc(); in ParseIntelOperand()
2513 Start = Lex().getLoc(); in ParseIntelOperand()
2522 RewriteIntelExpression(SM, Start, Tok.getLoc()); in ParseIntelOperand()
2622 SMLoc Start = Parser.getTok().getLoc(), End; in ParseATTOperand()
2627 SMLoc L = Parser.getTok().getLoc(); in ParseATTOperand()
2637 SMLoc Start = Parser.getTok().getLoc(); in ParseATTOperand()
2646 SMLoc Loc = Parser.getTok().getLoc(), EndLoc; in ParseATTOperand()
2722 return Error(getLexer().getLoc(), "Expected } at this point"); in ParseZ()
2789 return Error(getLexer().getLoc(), "Expected } at this point"); in HandleAVX512Operand()
2795 return Error(getLexer().getLoc(), in HandleAVX512Operand()
2802 return Error(getLexer().getLoc(), in HandleAVX512Operand()
2857 (Buf[0].getLoc().getPointer() + 1 == Buf[1].getLoc().getPointer())) in ParseMemOperand()
2858 Id = StringRef(Buf[0].getLoc().getPointer(), in ParseMemOperand()
2907 SMLoc BaseLoc = getLexer().getLoc(); in ParseMemOperand()
3011 SMLoc StartLoc = Parser.getTok().getLoc(); in parsePrimaryExpr()
3034 return Error(Parser.getTok().getLoc(), "Unexpected token after '{'"); in ParseInstruction()
3038 return Error(Parser.getTok().getLoc(), "Expected '}'"); in ParseInstruction()
3056 NameLoc = Parser.getTok().getLoc(); in ParseInstruction()
3062 return Error(Parser.getTok().getLoc(), "Expected identifier"); in ParseInstruction()
3082 return Error(Parser.getTok().getLoc(), "Expected identifier"); in ParseInstruction()
3085 NameLoc = Parser.getTok().getLoc(); in ParseInstruction()
3401 getLexer().getTok().getLoc(), 0); in ParseInstruction()
3947 emitWarningForSpecialLVIInstruction(Inst.getLoc()); in applyLVICFIMitigation()
3976 emitWarningForSpecialLVIInstruction(Inst.getLoc()); in applyLVILoadHardeningMitigation()
3982 emitWarningForSpecialLVIInstruction(Inst.getLoc()); in applyLVILoadHardeningMitigation()
4610 return ParseDirectiveCode(IDVal, DirectiveID.getLoc()); in ParseDirective()
4616 return Error(DirectiveID.getLoc(), "'.att_syntax noprefix' is not " in ParseDirective()
4628 return Error(DirectiveID.getLoc(), "'.intel_syntax prefix' is not " in ParseDirective()
4634 return parseDirectiveNops(DirectiveID.getLoc()); in ParseDirective()
4636 return parseDirectiveEven(DirectiveID.getLoc()); in ParseDirective()
4638 return parseDirectiveFPOProc(DirectiveID.getLoc()); in ParseDirective()
4640 return parseDirectiveFPOSetFrame(DirectiveID.getLoc()); in ParseDirective()
4642 return parseDirectiveFPOPushReg(DirectiveID.getLoc()); in ParseDirective()
4644 return parseDirectiveFPOStackAlloc(DirectiveID.getLoc()); in ParseDirective()
4646 return parseDirectiveFPOStackAlign(DirectiveID.getLoc()); in ParseDirective()
4648 return parseDirectiveFPOEndPrologue(DirectiveID.getLoc()); in ParseDirective()
4650 return parseDirectiveFPOEndProc(DirectiveID.getLoc()); in ParseDirective()
4653 return parseDirectiveSEHPushReg(DirectiveID.getLoc()); in ParseDirective()
4656 return parseDirectiveSEHSetFrame(DirectiveID.getLoc()); in ParseDirective()
4659 return parseDirectiveSEHSaveReg(DirectiveID.getLoc()); in ParseDirective()
4662 return parseDirectiveSEHSaveXMM(DirectiveID.getLoc()); in ParseDirective()
4665 return parseDirectiveSEHPushFrame(DirectiveID.getLoc()); in ParseDirective()
4682 NumBytesLoc = getTok().getLoc(); in parseDirectiveNops()
4688 ControlLoc = getTok().getLoc(); in parseDirectiveNops()
4840 SMLoc startLoc = getLexer().getLoc(); in parseSEHRegisterNumber()
4955 SMLoc startLoc = getLexer().getLoc(); in parseDirectiveSEHPushFrame()