Lines Matching refs:getLoc

765       SrcMgr.AddIncludeFile(Filename, Lexer.getLoc(), IncludedFile);  in enterIncludeFile()
781 SrcMgr.AddIncludeFile(Filename, Lexer.getLoc(), IncludedFile); in processIncbinFile()
912 printError(getTok().getLoc(), "unmatched .ifs or .elses"); in Run()
919 printError(getTok().getLoc(), "unassigned file number: " + in Run()
941 printError(getTok().getLoc(), "assembler local symbol '" + in Run()
969 return Error(getTok().getLoc(), in checkForValidSection()
986 const char *Start = getTok().getLoc().getPointer(); in parseStringToEndOfStatement()
991 const char *End = getTok().getLoc().getPointer(); in parseStringToEndOfStatement()
996 const char *Start = getTok().getLoc().getPointer(); in parseStringToComma()
1002 const char *End = getTok().getLoc().getPointer(); in parseStringToComma()
1042 SMLoc FirstTokenLoc = getLexer().getLoc(); in parsePrimaryExpr()
1084 SMLoc AtLoc = getLexer().getLoc(); in parsePrimaryExpr()
1110 return Error(getLexer().getLoc(), "expected a symbol reference"); in parsePrimaryExpr()
1151 SMLoc Loc = getTok().getLoc(); in parsePrimaryExpr()
1442 SMLoc StartLoc = Lexer.getLoc(); in parseAbsoluteExpression()
1617 SMLoc StartLoc = Lexer.getLoc(); in parseBinOpRHS()
1666 SMLoc IDLoc = ID.getLoc(); in parseStatement()
1871 SMLoc StartTokLoc = getTok().getLoc(); in parseStatement()
1881 if (TPDirectiveReturn && StartTokLoc != getTok().getLoc()) in parseStatement()
1884 if (!TPDirectiveReturn || StartTokLoc != getTok().getLoc()) in parseStatement()
2249 SMLoc StartLoc = Lexer.getLoc(); in parseCurlyBlockScope()
2255 AsmStrRewrites.emplace_back(AOK_Skip, StartLoc, Lexer.getLoc().getPointer() - in parseCurlyBlockScope()
2293 SMLoc DiagLoc = Diag.getLoc(); in DiagHandler()
2330 SMDiagnostic NewDiag(*Diag.getSourceMgr(), Diag.getLoc(), Filename, LineNo, in DiagHandler()
2622 SMLoc IDLoc = Lexer.getLoc(); in parseMacroArguments()
2641 SMLoc StrLoc = Lexer.getLoc(); in parseMacroArguments()
2694 FALocs[PI] = Lexer.getLoc(); in parseMacroArguments()
2705 Error(FALocs[FAI].isValid() ? FALocs[FAI] : Lexer.getLoc(), in parseMacroArguments()
2748 if (expandMacro(OS, Body, M->Parameters, A, true, getTok().getLoc())) in handleMacroEntry()
2761 NameLoc, CurBuffer, getTok().getLoc(), TheCondStack.size()); in handleMacroEntry()
2817 SMLoc PrefixLoc = getLexer().getLoc(); in parseIdentifier()
2828 if (PrefixLoc.getPointer() + 1 != Buf[0].getLoc().getPointer()) in parseIdentifier()
2946 SMLoc OffsetLoc = Lexer.getTok().getLoc(); in parseDirectiveReloc()
2961 SMLoc NameLoc = Lexer.getTok().getLoc(); in parseDirectiveReloc()
2967 SMLoc ExprLoc = Lexer.getLoc(); in parseDirectiveReloc()
2993 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveValue()
3017 SMLoc ExprLoc = Asm.getTok().getLoc(); in parseHexOcta()
3118 SMLoc NumBytesLoc = Lexer.getLoc(); in parseDirectiveZero()
3141 SMLoc NumValuesLoc = Lexer.getLoc(); in parseDirectiveFill()
3152 SizeLoc = getTok().getLoc(); in parseDirectiveFill()
3156 ExprLoc = getTok().getLoc(); in parseDirectiveFill()
3186 SMLoc OffsetLoc = Lexer.getLoc(); in parseDirectiveOrg()
3205 SMLoc AlignmentLoc = getLexer().getLoc(); in parseDirectiveAlign()
3442 SMLoc Loc = getTok().getLoc(); in parseDirectiveLoc()
3472 SMLoc Loc = getTok().getLoc(); in parseDirectiveLoc()
3483 Loc = getTok().getLoc(); in parseDirectiveLoc()
3500 Loc = getTok().getLoc(); in parseDirectiveLoc()
3540 SMLoc FileNumberLoc = getTok().getLoc(); in parseDirectiveCVFile()
3603 SMLoc FunctionIdLoc = getTok().getLoc(); in parseDirectiveCVFuncId()
3626 SMLoc FunctionIdLoc = getTok().getLoc(); in parseDirectiveCVInlineSiteId()
3686 SMLoc DirectiveLoc = getTok().getLoc(); in parseDirectiveCVLoc()
3713 SMLoc Loc = getTok().getLoc(); in parseDirectiveCVLoc()
3719 Loc = getTok().getLoc(); in parseDirectiveCVLoc()
3750 SMLoc Loc = getTok().getLoc(); in parseDirectiveCVLinetable()
3774 SMLoc Loc = getTok().getLoc(); in parseDirectiveCVInlineLinetable()
3811 Loc = getLexer().getLoc(); in parseDirectiveCVDefRange()
3817 Loc = getLexer().getLoc(); in parseDirectiveCVDefRange()
3878 SMLoc DirLoc = getLexer().getLoc(); in parseDirectiveCVFPOData()
3936 getStreamer().EmitCFIStartProc(!Simple.empty(), Lexer.getLoc()); in parseDirectiveCFIStartProc()
4234 return Error(Lexer.getLoc(), in parseDirectiveMacro()
4254 QualLoc = Lexer.getLoc(); in parseDirectiveMacro()
4273 ParamLoc = Lexer.getLoc(); in parseDirectiveMacro()
4335 const char *BodyStart = StartToken.getLoc().getPointer(); in parseDirectiveMacro()
4336 const char *BodyEnd = EndToken.getLoc().getPointer(); in parseDirectiveMacro()
4515 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveBundleAlignMode()
4539 SMLoc Loc = getTok().getLoc(); in parseDirectiveBundleLock()
4571 SMLoc NumBytesLoc = Lexer.getLoc(); in parseDirectiveSpace()
4592 SMLoc NumValuesLoc = Lexer.getLoc(); in parseDirectiveDCB()
4607 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveDCB()
4634 SMLoc NumValuesLoc = Lexer.getLoc(); in parseDirectiveRealDCB()
4666 SMLoc NumValuesLoc = Lexer.getLoc(); in parseDirectiveDS()
4714 SMLoc Loc = getTok().getLoc(); in parseDirectiveSymbolAttribute()
4739 SMLoc IDLoc = getLexer().getLoc(); in parseDirectiveComm()
4752 SMLoc SizeLoc = getLexer().getLoc(); in parseDirectiveComm()
4760 Pow2AlignmentLoc = getLexer().getLoc(); in parseDirectiveComm()
4812 SMLoc Loc = getLexer().getLoc(); in parseDirectiveAbort()
4833 SMLoc IncludeLoc = getTok().getLoc(); in parseDirectiveInclude()
4854 SMLoc IncbinLoc = getTok().getLoc(); in parseDirectiveIncbin()
4871 CountLoc = getTok().getLoc(); in parseDirectiveIncbin()
5371 printError(getTok().getLoc(), in parseMacroLikeBody()
5384 const char *BodyStart = StartToken.getLoc().getPointer(); in parseMacroLikeBody()
5385 const char *BodyEnd = EndToken.getLoc().getPointer(); in parseMacroLikeBody()
5403 DirectiveLoc, CurBuffer, getTok().getLoc(), TheCondStack.size()); in instantiateMacroLikeBody()
5416 SMLoc CountLoc = getTok().getLoc(); in parseDirectiveRept()
5441 if (expandMacro(OS, M->Body, None, None, false, getTok().getLoc())) in parseDirectiveRept()
5474 if (expandMacro(OS, M->Body, Parameter, Arg, true, getTok().getLoc())) in parseDirectiveIrp()
5519 if (expandMacro(OS, M->Body, Parameter, Arg, true, getTok().getLoc())) in parseDirectiveIrpc()
5543 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveMSEmit()
5559 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveMSAlign()
5883 SMLoc EqualLoc = Parser.getTok().getLoc(); in parseAssignmentExpression()