Lines Matching refs:SMLoc

90   SMLoc InstantiationLoc;
96 SMLoc ExitLoc;
130 SMLoc StartTokLoc;
160 SMLoc Loc;
170 SmallVector<std::tuple<SMLoc, CppHashInfoTy, MCSymbol *>, 4> DirLabels;
198 SMLoc IDLoc);
243 void Note(SMLoc L, const Twine &Msg, SMRange Range = None) override;
244 bool Warning(SMLoc L, const Twine &Msg, SMRange Range = None) override;
245 bool printError(SMLoc L, const Twine &Msg, SMRange Range = None) override;
270 bool parseExpression(const MCExpr *&Res, SMLoc &EndLoc) override;
271 bool parsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc,
273 bool parseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) override;
275 SMLoc &EndLoc) override;
293 bool parseCppHashLineFilenameComment(SMLoc L, bool SaveLocInfo = true);
295 void checkForBadMacro(SMLoc DirectiveLoc, StringRef Name, StringRef Body,
300 SMLoc L);
315 bool handleMacroEntry(const MCAsmMacro *M, SMLoc NameLoc);
327 void printMessage(SMLoc Loc, SourceMgr::DiagKind Kind, const Twine &Msg, in printMessage()
340 const MCExpr *Count = nullptr, SMLoc Loc = SMLoc());
348 void jumpToLoc(SMLoc Loc, unsigned InBuffer = 0);
365 bool parseBinOpRHS(unsigned Precedence, const MCExpr *&Res, SMLoc &EndLoc);
366 bool parseParenExpr(const MCExpr *&Res, SMLoc &EndLoc);
367 bool parseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc);
369 bool parseRegisterOrRegisterNumber(int64_t &Register, SMLoc DirectiveLoc);
559 bool parseDirectiveReloc(SMLoc DirectiveLoc); // ".reloc"
574 bool parseDirectiveFile(SMLoc DirectiveLoc);
595 bool parseDirectiveCFIRegister(SMLoc DirectiveLoc);
601 bool parseDirectiveCFIDefCfa(SMLoc DirectiveLoc);
603 bool parseDirectiveCFIDefCfaRegister(SMLoc DirectiveLoc);
604 bool parseDirectiveCFILLVMDefAspaceCfa(SMLoc DirectiveLoc);
605 bool parseDirectiveCFIOffset(SMLoc DirectiveLoc);
606 bool parseDirectiveCFIRelOffset(SMLoc DirectiveLoc);
610 bool parseDirectiveCFISameValue(SMLoc DirectiveLoc);
611 bool parseDirectiveCFIRestore(SMLoc DirectiveLoc);
613 bool parseDirectiveCFIReturnColumn(SMLoc DirectiveLoc);
615 bool parseDirectiveCFIUndefined(SMLoc DirectiveLoc);
618 bool parseDirectivePurgeMacro(SMLoc DirectiveLoc);
621 bool parseDirectiveMacro(SMLoc DirectiveLoc);
655 bool parseDirectiveIf(SMLoc DirectiveLoc, DirectiveKind DirKind);
657 bool parseDirectiveIfb(SMLoc DirectiveLoc, bool ExpectBlank);
659 bool parseDirectiveIfc(SMLoc DirectiveLoc, bool ExpectEqual);
661 bool parseDirectiveIfeqs(SMLoc DirectiveLoc, bool ExpectEqual);
663 bool parseDirectiveIfdef(SMLoc DirectiveLoc, bool expect_defined);
664 bool parseDirectiveElseIf(SMLoc DirectiveLoc); // ".elseif"
665 bool parseDirectiveElse(SMLoc DirectiveLoc); // ".else"
666 bool parseDirectiveEndIf(SMLoc DirectiveLoc); // .endif
674 MCAsmMacro *parseMacroLikeBody(SMLoc DirectiveLoc);
675 void instantiateMacroLikeBody(MCAsmMacro *M, SMLoc DirectiveLoc,
677 bool parseDirectiveRept(SMLoc DirectiveLoc, StringRef Directive);
678 bool parseDirectiveIrp(SMLoc DirectiveLoc); // ".irp"
679 bool parseDirectiveIrpc(SMLoc DirectiveLoc); // ".irpc"
680 bool parseDirectiveEndr(SMLoc DirectiveLoc); // ".endr"
683 bool parseDirectiveMSEmit(SMLoc DirectiveLoc, ParseStatementInfo &Info,
687 bool parseDirectiveMSAlign(SMLoc DirectiveLoc, ParseStatementInfo &Info);
690 bool parseDirectiveEnd(SMLoc DirectiveLoc);
693 bool parseDirectiveError(SMLoc DirectiveLoc, bool WithMessage);
696 bool parseDirectiveWarning(SMLoc DirectiveLoc);
699 bool parseDirectivePrint(SMLoc DirectiveLoc);
823 void AsmParser::Note(SMLoc L, const Twine &Msg, SMRange Range) { in Note()
829 bool AsmParser::Warning(SMLoc L, const Twine &Msg, SMRange Range) { in Warning()
839 bool AsmParser::printError(SMLoc L, const Twine &Msg, SMRange Range) { in printError()
862 const MCExpr *Count, SMLoc Loc) { in processIncbinFile()
884 void AsmParser::jumpToLoc(SMLoc Loc, unsigned InBuffer) { in jumpToLoc()
914 SMLoc ParentIncludeLoc = SrcMgr.getParentIncludeLoc(CurBuffer); in Lex()
915 if (ParentIncludeLoc != SMLoc()) { in Lex()
1046 for (std::tuple<SMLoc, CppHashInfoTy, MCSymbol *> &LocSym : DirLabels) { in Run()
1109 bool AsmParser::parseParenExpr(const MCExpr *&Res, SMLoc &EndLoc) { in parseParenExpr()
1124 bool AsmParser::parseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc) { in parseBracketExpr()
1139 bool AsmParser::parsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc, in parsePrimaryExpr()
1141 SMLoc FirstTokenLoc = getLexer().getLoc(); in parsePrimaryExpr()
1191 SMLoc AtLoc = getLexer().getLoc(); in parsePrimaryExpr()
1212 EndLoc = SMLoc::getFromPointer(Identifier.end()); in parsePrimaryExpr()
1229 return Error(SMLoc::getFromPointer(Split.second.begin()), in parsePrimaryExpr()
1261 SMLoc Loc = getTok().getLoc(); in parsePrimaryExpr()
1379 SMLoc EndLoc; in parseExpression()
1448 static bool isAngleBracketString(SMLoc &StrLoc, SMLoc &EndLoc) { in isAngleBracketString()
1486 bool AsmParser::parseExpression(const MCExpr *&Res, SMLoc &EndLoc) { in parseExpression()
1526 bool AsmParser::parseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) { in parseParenExpression()
1532 SMLoc &EndLoc) { in parseParenExprOfDepth()
1555 SMLoc StartLoc = Lexer.getLoc(); in parseAbsoluteExpression()
1734 SMLoc &EndLoc) { in parseBinOpRHS()
1735 SMLoc StartLoc = Lexer.getLoc(); in parseBinOpRHS()
1784 SMLoc IDLoc = ID.getLoc(); in parseStatement()
1995 SMLoc StartTokLoc = getTok().getLoc(); in parseStatement()
2312 SMLoc IDLoc) { in parseAndMatchAndEmitTargetInstruction()
2388 SMLoc StartLoc = Lexer.getLoc(); in parseCurlyBlockScope()
2401 bool AsmParser::parseCppHashLineFilenameComment(SMLoc L, bool SaveLocInfo) { in parseCppHashLineFilenameComment()
2438 SMLoc DiagLoc = Diag.getLoc(); in DiagHandler()
2448 SMLoc ParentIncludeLoc = DiagSrcMgr.getParentIncludeLoc(DiagCurBuffer); in DiagHandler()
2496 bool EnableAtPseudoVariable, SMLoc L) { in expandMacro()
2750 SmallVector<SMLoc, 4> FALocs; in parseMacroArguments()
2761 SMLoc IDLoc = Lexer.getLoc(); in parseMacroArguments()
2780 SMLoc StrLoc = Lexer.getLoc(); in parseMacroArguments()
2781 SMLoc EndLoc; in parseMacroArguments()
2864 bool AsmParser::handleMacroEntry(const MCAsmMacro *M, SMLoc NameLoc) { in handleMacroEntry()
2906 CurBuffer = SrcMgr.AddNewSourceBuffer(std::move(Instantiation), SMLoc()); in handleMacroEntry()
2959 SMLoc PrefixLoc = getLexer().getLoc(); in parseIdentifier()
3081 SMLoc EndLoc, StartLoc = getTok().getLoc(); in parseAngleBracketString()
3120 bool AsmParser::parseDirectiveReloc(SMLoc DirectiveLoc) { in parseDirectiveReloc()
3123 SMLoc OffsetLoc = Lexer.getTok().getLoc(); in parseDirectiveReloc()
3131 SMLoc NameLoc = Lexer.getTok().getLoc(); in parseDirectiveReloc()
3137 SMLoc ExprLoc = Lexer.getLoc(); in parseDirectiveReloc()
3164 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveValue()
3186 SMLoc ExprLoc = Asm.getTok().getLoc(); in parseHexOcta()
3285 SMLoc NumBytesLoc = Lexer.getLoc(); in parseDirectiveZero()
3307 SMLoc NumValuesLoc = Lexer.getLoc(); in parseDirectiveFill()
3315 SMLoc SizeLoc, ExprLoc; in parseDirectiveFill()
3351 SMLoc OffsetLoc = Lexer.getLoc(); in parseDirectiveOrg()
3370 SMLoc AlignmentLoc = getLexer().getLoc(); in parseDirectiveAlign()
3372 SMLoc MaxBytesLoc; in parseDirectiveAlign()
3467 bool AsmParser::parseDirectiveFile(SMLoc DirectiveLoc) { in parseDirectiveFile()
3604 SMLoc Loc = getTok().getLoc(); in parseDirectiveLoc()
3635 SMLoc Loc = getTok().getLoc(); in parseDirectiveLoc()
3703 SMLoc FileNumberLoc = getTok().getLoc(); in parseDirectiveCVFile()
3742 SMLoc Loc; in parseCVFunctionId()
3751 SMLoc Loc; in parseCVFileId()
3766 SMLoc FunctionIdLoc = getTok().getLoc(); in parseDirectiveCVFuncId()
3789 SMLoc FunctionIdLoc = getTok().getLoc(); in parseDirectiveCVInlineSiteId()
3849 SMLoc DirectiveLoc = getTok().getLoc(); in parseDirectiveCVLoc()
3876 SMLoc Loc = getTok().getLoc(); in parseDirectiveCVLoc()
3913 SMLoc Loc = getTok().getLoc(); in parseDirectiveCVLinetable()
3935 SMLoc Loc = getTok().getLoc(); in parseDirectiveCVInlineLinetable()
3976 SMLoc Loc; in parseDirectiveCVDefRange()
4125 SMLoc DirLoc = getLexer().getLoc(); in parseDirectiveCVFPOData()
4192 SMLoc DirectiveLoc) { in parseRegisterOrRegisterNumber()
4207 bool AsmParser::parseDirectiveCFIDefCfa(SMLoc DirectiveLoc) { in parseDirectiveCFIDefCfa()
4230 bool AsmParser::parseDirectiveCFIRegister(SMLoc DirectiveLoc) { in parseDirectiveCFIRegister()
4262 bool AsmParser::parseDirectiveCFIDefCfaRegister(SMLoc DirectiveLoc) { in parseDirectiveCFIDefCfaRegister()
4273 bool AsmParser::parseDirectiveCFILLVMDefAspaceCfa(SMLoc DirectiveLoc) { in parseDirectiveCFILLVMDefAspaceCfa()
4286 bool AsmParser::parseDirectiveCFIOffset(SMLoc DirectiveLoc) { in parseDirectiveCFIOffset()
4300 bool AsmParser::parseDirectiveCFIRelOffset(SMLoc DirectiveLoc) { in parseDirectiveCFIRelOffset()
4380 bool AsmParser::parseDirectiveCFISameValue(SMLoc DirectiveLoc) { in parseDirectiveCFISameValue()
4392 bool AsmParser::parseDirectiveCFIRestore(SMLoc DirectiveLoc) { in parseDirectiveCFIRestore()
4426 bool AsmParser::parseDirectiveCFIReturnColumn(SMLoc DirectiveLoc) { in parseDirectiveCFIReturnColumn()
4446 bool AsmParser::parseDirectiveCFIUndefined(SMLoc DirectiveLoc) { in parseDirectiveCFIUndefined()
4478 bool AsmParser::parseDirectiveMacro(SMLoc DirectiveLoc) { in parseDirectiveMacro()
4507 SMLoc QualLoc; in parseDirectiveMacro()
4527 SMLoc ParamLoc; in parseDirectiveMacro()
4619 void AsmParser::checkForBadMacro(SMLoc DirectiveLoc, StringRef Name, in checkForBadMacro()
4749 bool AsmParser::parseDirectivePurgeMacro(SMLoc DirectiveLoc) { in parseDirectivePurgeMacro()
4751 SMLoc Loc; in parseDirectivePurgeMacro()
4772 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveBundleAlignMode()
4794 SMLoc Loc = getTok().getLoc(); in parseDirectiveBundleLock()
4822 SMLoc NumBytesLoc = Lexer.getLoc(); in parseDirectiveSpace()
4843 SMLoc NumValuesLoc = Lexer.getLoc(); in parseDirectiveDCB()
4857 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveDCB()
4880 SMLoc NumValuesLoc = Lexer.getLoc(); in parseDirectiveRealDCB()
4907 SMLoc NumValuesLoc = Lexer.getLoc(); in parseDirectiveDS()
4949 SMLoc Loc = getTok().getLoc(); in parseDirectiveSymbolAttribute()
4976 SMLoc IDLoc = getLexer().getLoc(); in parseDirectiveComm()
4988 SMLoc SizeLoc = getLexer().getLoc(); in parseDirectiveComm()
4993 SMLoc Pow2AlignmentLoc; in parseDirectiveComm()
5047 SMLoc Loc = getLexer().getLoc(); in parseDirectiveAbort()
5067 SMLoc IncludeLoc = getTok().getLoc(); in parseDirectiveInclude()
5088 SMLoc IncbinLoc = getTok().getLoc(); in parseDirectiveIncbin()
5096 SMLoc SkipLoc, CountLoc; in parseDirectiveIncbin()
5125 bool AsmParser::parseDirectiveIf(SMLoc DirectiveLoc, DirectiveKind DirKind) { in parseDirectiveIf()
5167 bool AsmParser::parseDirectiveIfb(SMLoc DirectiveLoc, bool ExpectBlank) { in parseDirectiveIfb()
5189 bool AsmParser::parseDirectiveIfc(SMLoc DirectiveLoc, bool ExpectEqual) { in parseDirectiveIfc()
5215 bool AsmParser::parseDirectiveIfeqs(SMLoc DirectiveLoc, bool ExpectEqual) { in parseDirectiveIfeqs()
5253 bool AsmParser::parseDirectiveIfdef(SMLoc DirectiveLoc, bool expect_defined) { in parseDirectiveIfdef()
5279 bool AsmParser::parseDirectiveElseIf(SMLoc DirectiveLoc) { in parseDirectiveElseIf()
5309 bool AsmParser::parseDirectiveElse(SMLoc DirectiveLoc) { in parseDirectiveElse()
5331 bool AsmParser::parseDirectiveEnd(SMLoc DirectiveLoc) { in parseDirectiveEnd()
5344 bool AsmParser::parseDirectiveError(SMLoc L, bool WithMessage) { in parseDirectiveError()
5369 bool AsmParser::parseDirectiveWarning(SMLoc L) { in parseDirectiveWarning()
5394 bool AsmParser::parseDirectiveEndIf(SMLoc DirectiveLoc) { in parseDirectiveEndIf()
5580 MCAsmMacro *AsmParser::parseMacroLikeBody(SMLoc DirectiveLoc) { in parseMacroLikeBody()
5627 void AsmParser::instantiateMacroLikeBody(MCAsmMacro *M, SMLoc DirectiveLoc, in instantiateMacroLikeBody()
5641 CurBuffer = SrcMgr.AddNewSourceBuffer(std::move(Instantiation), SMLoc()); in instantiateMacroLikeBody()
5648 bool AsmParser::parseDirectiveRept(SMLoc DirectiveLoc, StringRef Dir) { in parseDirectiveRept()
5650 SMLoc CountLoc = getTok().getLoc(); in parseDirectiveRept()
5683 bool AsmParser::parseDirectiveIrp(SMLoc DirectiveLoc) { in parseDirectiveIrp()
5715 bool AsmParser::parseDirectiveIrpc(SMLoc DirectiveLoc) { in parseDirectiveIrpc()
5755 bool AsmParser::parseDirectiveEndr(SMLoc DirectiveLoc) { in parseDirectiveEndr()
5767 bool AsmParser::parseDirectiveMSEmit(SMLoc IDLoc, ParseStatementInfo &Info, in parseDirectiveMSEmit()
5770 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveMSEmit()
5784 bool AsmParser::parseDirectiveMSAlign(SMLoc IDLoc, ParseStatementInfo &Info) { in parseDirectiveMSAlign()
5786 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveMSAlign()
5800 bool AsmParser::parseDirectivePrint(SMLoc DirectiveLoc) { in parseDirectivePrint()
5897 SMLoc Loc = getTok().getLoc(); in parseDirectiveLTODiscard()
6008 SMLoc Start = SMLoc::getFromPointer(SymName.data()); in parseMSInlineAsm()
6110 SMLoc OffsetLoc = SMLoc::getFromPointer(AR.IntelExp.OffsetName.data()); in parseMSInlineAsm()
6198 SMLoc LabelLoc = LabelTok.getLoc(); in parseAsHLASMLabel()
6243 SMLoc OperationEntryLoc = OperationEntryTok.getLoc(); in parseAsMachineInstruction()
6353 SMLoc EqualLoc = Parser.getTok().getLoc(); in parseAssignmentExpression()