• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/MC/MCParser/

Lines Matching refs:getLoc

1045       SrcMgr.AddIncludeFile(Filename, Lexer.getLoc(), IncludedFile);
1194 printError(getTok().getLoc(), "unmatched .ifs or .elses");
1201 printError(getTok().getLoc(), "unassigned file number: " +
1223 printError(getTok().getLoc(), "assembler local symbol '" +
1251 return Error(getTok().getLoc(),
1268 const char *Start = getTok().getLoc().getPointer();
1273 const char *End = getTok().getLoc().getPointer();
1313 SMLoc FirstTokenLoc = getLexer().getLoc();
1355 SMLoc AtLoc = getLexer().getLoc();
1381 return Error(getLexer().getLoc(), "expected a symbol reference");
1454 SMLoc Loc = getTok().getLoc();
1667 SMLoc StartLoc = Lexer.getLoc();
1769 SMLoc StartLoc = Lexer.getLoc();
1819 SMLoc IDLoc = ID.getLoc();
2054 SMLoc StartTokLoc = getTok().getLoc();
2065 if (TPDirectiveReturn && StartTokLoc != getTok().getLoc())
2068 if (!TPDirectiveReturn || StartTokLoc != getTok().getLoc())
2260 const SMLoc nextLoc = nextTok.getLoc();
2437 SMLoc StartLoc = Lexer.getLoc();
2443 AsmStrRewrites.emplace_back(AOK_Skip, StartLoc, Lexer.getLoc().getPointer() -
2484 SMLoc DiagLoc = Diag.getLoc();
2521 SMDiagnostic NewDiag(*Diag.getSourceMgr(), Diag.getLoc(), Filename, LineNo,
2808 SMLoc IDLoc = Lexer.getLoc();
2827 SMLoc StrLoc = Lexer.getLoc();
2880 FALocs[PI] = Lexer.getLoc();
2891 Error(FALocs[FAI].isValid() ? FALocs[FAI] : Lexer.getLoc(),
2934 if (expandMacro(OS, Body, M->Parameters, A, true, getTok().getLoc()))
2947 NameLoc, CurBuffer, getTok().getLoc(), TheCondStack.size()};
2980 SMLoc PrefixLoc = getLexer().getLoc();
2991 if (PrefixLoc.getPointer() + 1 != Buf[0].getLoc().getPointer())
3053 SMLoc EndLoc, StartLoc = Lexer.getLoc();
3144 SMLoc EndLoc, StartLoc = getTok().getLoc();
3188 return Error(MCE->getLoc(), "out of range literal value");
3196 getStreamer().emitValue(Value, Size, Value->getLoc());
3218 return Error(getTok().getLoc(), "out of range literal value");
3235 return Error(Value->getLoc(),
3239 return Error(Value->getLoc(),
3340 SMLoc ExprLoc = Asm.getTok().getLoc();
3414 return Error(Value->getLoc(),
3418 return Error(Value->getLoc(),
3550 SMLoc Loc = getTok().getLoc();
3590 SMLoc Loc = getTok().getLoc();
3629 SMLoc Loc = getTok().getLoc();
3695 return Error(FirstToken.getLoc(), "Expected struct initializer");
3717 SMLoc CommaLoc = getTok().getLoc();
3757 return Error(Value->getLoc(),
3761 return Error(Value->getLoc(),
4029 return Error(NextTok.getLoc(), "alignment must be a power of two; was " +
4036 QualifierLoc = getTok().getLoc();
4156 SMLoc OffsetLoc = Lexer.getLoc();
4175 SMLoc AlignmentLoc = getLexer().getLoc();
4359 SMLoc Loc = getTok().getLoc();
4390 SMLoc Loc = getTok().getLoc();
4401 Loc = getTok().getLoc();
4418 Loc = getTok().getLoc();
4458 SMLoc FileNumberLoc = getTok().getLoc();
4521 SMLoc FunctionIdLoc = getTok().getLoc();
4544 SMLoc FunctionIdLoc = getTok().getLoc();
4604 SMLoc DirectiveLoc = getTok().getLoc();
4631 SMLoc Loc = getTok().getLoc();
4637 Loc = getTok().getLoc();
4668 SMLoc Loc = getTok().getLoc();
4692 SMLoc Loc = getTok().getLoc();
4736 Loc = getLexer().getLoc();
4742 Loc = getLexer().getLoc();
4882 SMLoc DirLoc = getLexer().getLoc();
4940 getStreamer().emitCFIStartProc(!Simple.empty(), Lexer.getLoc());
5226 return Error(Lexer.getLoc(),
5246 QualLoc = Lexer.getLoc();
5265 ParamLoc = Lexer.getLoc();
5327 const char *BodyStart = StartToken.getLoc().getPointer();
5328 const char *BodyEnd = EndToken.getLoc().getPointer();
5507 SMLoc Loc = getTok().getLoc();
5532 SMLoc IDLoc = getLexer().getLoc();
5545 SMLoc SizeLoc = getLexer().getLoc();
5553 Pow2AlignmentLoc = getLexer().getLoc();
5626 SMLoc IncludeLoc = getTok().getLoc();
6006 return Error(getTok().getLoc(), "missing text item in '.errb' directive");
6307 printError(getTok().getLoc(),
6320 const char *BodyStart = StartToken.getLoc().getPointer();
6321 const char *BodyEnd = EndToken.getLoc().getPointer();
6339 DirectiveLoc, CurBuffer, getTok().getLoc(), TheCondStack.size()};
6352 SMLoc CountLoc = getTok().getLoc();
6377 if (expandMacro(OS, M->Body, None, None, false, getTok().getLoc()))
6410 if (expandMacro(OS, M->Body, Parameter, Arg, true, getTok().getLoc()))
6455 if (expandMacro(OS, M->Body, Parameter, Arg, true, getTok().getLoc()))
6479 SMLoc ExprLoc = getLexer().getLoc();
6495 SMLoc ExprLoc = getLexer().getLoc();