Lines Matching refs:SMLoc
89 SMLoc InstantiationLoc;
95 SMLoc ExitLoc;
129 SMLoc StartTokLoc;
159 SMLoc Loc;
169 SmallVector<std::tuple<SMLoc, CppHashInfoTy, MCSymbol *>, 4> DirLabels;
197 SMLoc IDLoc);
242 void Note(SMLoc L, const Twine &Msg, SMRange Range = None) override;
243 bool Warning(SMLoc L, const Twine &Msg, SMRange Range = None) override;
244 bool printError(SMLoc L, const Twine &Msg, SMRange Range = None) override;
269 bool parseExpression(const MCExpr *&Res, SMLoc &EndLoc) override;
270 bool parsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc,
272 bool parseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) override;
274 SMLoc &EndLoc) override;
292 bool parseCppHashLineFilenameComment(SMLoc L, bool SaveLocInfo = true);
294 void checkForBadMacro(SMLoc DirectiveLoc, StringRef Name, StringRef Body,
299 SMLoc L);
314 bool handleMacroEntry(const MCAsmMacro *M, SMLoc NameLoc);
326 void printMessage(SMLoc Loc, SourceMgr::DiagKind Kind, const Twine &Msg, in printMessage()
339 const MCExpr *Count = nullptr, SMLoc Loc = SMLoc());
347 void jumpToLoc(SMLoc Loc, unsigned InBuffer = 0);
370 bool parseBinOpRHS(unsigned Precedence, const MCExpr *&Res, SMLoc &EndLoc);
371 bool parseParenExpr(const MCExpr *&Res, SMLoc &EndLoc);
372 bool parseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc);
374 bool parseRegisterOrRegisterNumber(int64_t &Register, SMLoc DirectiveLoc);
566 bool parseDirectiveReloc(SMLoc DirectiveLoc); // ".reloc"
581 bool parseDirectiveFile(SMLoc DirectiveLoc);
602 bool parseDirectiveCFIRegister(SMLoc DirectiveLoc);
608 bool parseDirectiveCFIDefCfa(SMLoc DirectiveLoc);
610 bool parseDirectiveCFIDefCfaRegister(SMLoc DirectiveLoc);
611 bool parseDirectiveCFILLVMDefAspaceCfa(SMLoc DirectiveLoc);
612 bool parseDirectiveCFIOffset(SMLoc DirectiveLoc);
613 bool parseDirectiveCFIRelOffset(SMLoc DirectiveLoc);
617 bool parseDirectiveCFISameValue(SMLoc DirectiveLoc);
618 bool parseDirectiveCFIRestore(SMLoc DirectiveLoc);
620 bool parseDirectiveCFIReturnColumn(SMLoc DirectiveLoc);
622 bool parseDirectiveCFIUndefined(SMLoc DirectiveLoc);
625 bool parseDirectivePurgeMacro(SMLoc DirectiveLoc);
628 bool parseDirectiveMacro(SMLoc DirectiveLoc);
662 bool parseDirectiveIf(SMLoc DirectiveLoc, DirectiveKind DirKind);
664 bool parseDirectiveIfb(SMLoc DirectiveLoc, bool ExpectBlank);
666 bool parseDirectiveIfc(SMLoc DirectiveLoc, bool ExpectEqual);
668 bool parseDirectiveIfeqs(SMLoc DirectiveLoc, bool ExpectEqual);
670 bool parseDirectiveIfdef(SMLoc DirectiveLoc, bool expect_defined);
671 bool parseDirectiveElseIf(SMLoc DirectiveLoc); // ".elseif"
672 bool parseDirectiveElse(SMLoc DirectiveLoc); // ".else"
673 bool parseDirectiveEndIf(SMLoc DirectiveLoc); // .endif
681 MCAsmMacro *parseMacroLikeBody(SMLoc DirectiveLoc);
682 void instantiateMacroLikeBody(MCAsmMacro *M, SMLoc DirectiveLoc,
684 bool parseDirectiveRept(SMLoc DirectiveLoc, StringRef Directive);
685 bool parseDirectiveIrp(SMLoc DirectiveLoc); // ".irp"
686 bool parseDirectiveIrpc(SMLoc DirectiveLoc); // ".irpc"
687 bool parseDirectiveEndr(SMLoc DirectiveLoc); // ".endr"
690 bool parseDirectiveMSEmit(SMLoc DirectiveLoc, ParseStatementInfo &Info,
694 bool parseDirectiveMSAlign(SMLoc DirectiveLoc, ParseStatementInfo &Info);
697 bool parseDirectiveEnd(SMLoc DirectiveLoc);
700 bool parseDirectiveError(SMLoc DirectiveLoc, bool WithMessage);
703 bool parseDirectiveWarning(SMLoc DirectiveLoc);
706 bool parseDirectivePrint(SMLoc DirectiveLoc);
839 void AsmParser::Note(SMLoc L, const Twine &Msg, SMRange Range) { in Note()
845 bool AsmParser::Warning(SMLoc L, const Twine &Msg, SMRange Range) { in Warning()
855 bool AsmParser::printError(SMLoc L, const Twine &Msg, SMRange Range) { in printError()
878 const MCExpr *Count, SMLoc Loc) { in processIncbinFile()
900 void AsmParser::jumpToLoc(SMLoc Loc, unsigned InBuffer) { in jumpToLoc()
930 SMLoc ParentIncludeLoc = SrcMgr.getParentIncludeLoc(CurBuffer); in Lex()
931 if (ParentIncludeLoc != SMLoc()) { in Lex()
1062 for (std::tuple<SMLoc, CppHashInfoTy, MCSymbol *> &LocSym : DirLabels) { in Run()
1128 bool AsmParser::parseParenExpr(const MCExpr *&Res, SMLoc &EndLoc) { in parseParenExpr()
1140 bool AsmParser::parseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc) { in parseBracketExpr()
1155 bool AsmParser::parsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc, in parsePrimaryExpr()
1157 SMLoc FirstTokenLoc = getLexer().getLoc(); in parsePrimaryExpr()
1207 SMLoc AtLoc = getLexer().getLoc(); in parsePrimaryExpr()
1226 EndLoc = SMLoc::getFromPointer(Identifier.end()); in parsePrimaryExpr()
1243 return Error(SMLoc::getFromPointer(Split.second.begin()), in parsePrimaryExpr()
1275 SMLoc Loc = getTok().getLoc(); in parsePrimaryExpr()
1392 SMLoc EndLoc; in parseExpression()
1461 static bool isAngleBracketString(SMLoc &StrLoc, SMLoc &EndLoc) { in isAngleBracketString()
1499 bool AsmParser::parseExpression(const MCExpr *&Res, SMLoc &EndLoc) { in parseExpression()
1539 bool AsmParser::parseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) { in parseParenExpression()
1545 SMLoc &EndLoc) { in parseParenExprOfDepth()
1567 SMLoc StartLoc = Lexer.getLoc(); in parseAbsoluteExpression()
1746 SMLoc &EndLoc) { in parseBinOpRHS()
1747 SMLoc StartLoc = Lexer.getLoc(); in parseBinOpRHS()
1796 SMLoc IDLoc = ID.getLoc(); in parseStatement()
2007 SMLoc StartTokLoc = getTok().getLoc(); in parseStatement()
2326 SMLoc IDLoc) { in parseAndMatchAndEmitTargetInstruction()
2402 SMLoc StartLoc = Lexer.getLoc(); in parseCurlyBlockScope()
2415 bool AsmParser::parseCppHashLineFilenameComment(SMLoc L, bool SaveLocInfo) { in parseCppHashLineFilenameComment()
2452 SMLoc DiagLoc = Diag.getLoc(); in DiagHandler()
2462 SMLoc ParentIncludeLoc = DiagSrcMgr.getParentIncludeLoc(DiagCurBuffer); in DiagHandler()
2510 bool EnableAtPseudoVariable, SMLoc L) { in expandMacro()
2764 SmallVector<SMLoc, 4> FALocs; in parseMacroArguments()
2775 SMLoc IDLoc = Lexer.getLoc(); in parseMacroArguments()
2794 SMLoc StrLoc = Lexer.getLoc(); in parseMacroArguments()
2795 SMLoc EndLoc; in parseMacroArguments()
2878 bool AsmParser::handleMacroEntry(const MCAsmMacro *M, SMLoc NameLoc) { in handleMacroEntry()
2920 CurBuffer = SrcMgr.AddNewSourceBuffer(std::move(Instantiation), SMLoc()); in handleMacroEntry()
2940 SMLoc ExprLoc = getTok().getLoc(); in parseAssignment()
2988 SMLoc PrefixLoc = getLexer().getLoc(); in parseIdentifier()
3111 SMLoc EndLoc, StartLoc = getTok().getLoc(); in parseAngleBracketString()
3150 bool AsmParser::parseDirectiveReloc(SMLoc DirectiveLoc) { in parseDirectiveReloc()
3153 SMLoc OffsetLoc = Lexer.getTok().getLoc(); in parseDirectiveReloc()
3161 SMLoc NameLoc = Lexer.getTok().getLoc(); in parseDirectiveReloc()
3167 SMLoc ExprLoc = Lexer.getLoc(); in parseDirectiveReloc()
3194 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveValue()
3216 SMLoc ExprLoc = Asm.getTok().getLoc(); in parseHexOcta()
3315 SMLoc NumBytesLoc = Lexer.getLoc(); in parseDirectiveZero()
3337 SMLoc NumValuesLoc = Lexer.getLoc(); in parseDirectiveFill()
3345 SMLoc SizeLoc, ExprLoc; in parseDirectiveFill()
3381 SMLoc OffsetLoc = Lexer.getLoc(); in parseDirectiveOrg()
3400 SMLoc AlignmentLoc = getLexer().getLoc(); in parseDirectiveAlign()
3402 SMLoc MaxBytesLoc; in parseDirectiveAlign()
3502 bool AsmParser::parseDirectiveFile(SMLoc DirectiveLoc) { in parseDirectiveFile()
3639 SMLoc Loc = getTok().getLoc(); in parseDirectiveLoc()
3670 SMLoc Loc = getTok().getLoc(); in parseDirectiveLoc()
3738 SMLoc FileNumberLoc = getTok().getLoc(); in parseDirectiveCVFile()
3776 SMLoc Loc; in parseCVFunctionId()
3785 SMLoc Loc; in parseCVFileId()
3800 SMLoc FunctionIdLoc = getTok().getLoc(); in parseDirectiveCVFuncId()
3821 SMLoc FunctionIdLoc = getTok().getLoc(); in parseDirectiveCVInlineSiteId()
3880 SMLoc DirectiveLoc = getTok().getLoc(); in parseDirectiveCVLoc()
3907 SMLoc Loc = getTok().getLoc(); in parseDirectiveCVLoc()
3944 SMLoc Loc = getTok().getLoc(); in parseDirectiveCVLinetable()
3966 SMLoc Loc = getTok().getLoc(); in parseDirectiveCVInlineLinetable()
4007 SMLoc Loc; in parseDirectiveCVDefRange()
4156 SMLoc DirLoc = getLexer().getLoc(); in parseDirectiveCVFPOData()
4223 SMLoc DirectiveLoc) { in parseRegisterOrRegisterNumber()
4238 bool AsmParser::parseDirectiveCFIDefCfa(SMLoc DirectiveLoc) { in parseDirectiveCFIDefCfa()
4261 bool AsmParser::parseDirectiveCFIRegister(SMLoc DirectiveLoc) { in parseDirectiveCFIRegister()
4293 bool AsmParser::parseDirectiveCFIDefCfaRegister(SMLoc DirectiveLoc) { in parseDirectiveCFIDefCfaRegister()
4304 bool AsmParser::parseDirectiveCFILLVMDefAspaceCfa(SMLoc DirectiveLoc) { in parseDirectiveCFILLVMDefAspaceCfa()
4317 bool AsmParser::parseDirectiveCFIOffset(SMLoc DirectiveLoc) { in parseDirectiveCFIOffset()
4331 bool AsmParser::parseDirectiveCFIRelOffset(SMLoc DirectiveLoc) { in parseDirectiveCFIRelOffset()
4411 bool AsmParser::parseDirectiveCFISameValue(SMLoc DirectiveLoc) { in parseDirectiveCFISameValue()
4423 bool AsmParser::parseDirectiveCFIRestore(SMLoc DirectiveLoc) { in parseDirectiveCFIRestore()
4457 bool AsmParser::parseDirectiveCFIReturnColumn(SMLoc DirectiveLoc) { in parseDirectiveCFIReturnColumn()
4477 bool AsmParser::parseDirectiveCFIUndefined(SMLoc DirectiveLoc) { in parseDirectiveCFIUndefined()
4509 bool AsmParser::parseDirectiveMacro(SMLoc DirectiveLoc) { in parseDirectiveMacro()
4538 SMLoc QualLoc; in parseDirectiveMacro()
4558 SMLoc ParamLoc; in parseDirectiveMacro()
4650 void AsmParser::checkForBadMacro(SMLoc DirectiveLoc, StringRef Name, in checkForBadMacro()
4780 bool AsmParser::parseDirectivePurgeMacro(SMLoc DirectiveLoc) { in parseDirectivePurgeMacro()
4782 SMLoc Loc; in parseDirectivePurgeMacro()
4803 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveBundleAlignMode()
4825 SMLoc Loc = getTok().getLoc(); in parseDirectiveBundleLock()
4853 SMLoc NumBytesLoc = Lexer.getLoc(); in parseDirectiveSpace()
4874 SMLoc NumValuesLoc = Lexer.getLoc(); in parseDirectiveDCB()
4888 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveDCB()
4911 SMLoc NumValuesLoc = Lexer.getLoc(); in parseDirectiveRealDCB()
4938 SMLoc NumValuesLoc = Lexer.getLoc(); in parseDirectiveDS()
4980 SMLoc Loc = getTok().getLoc(); in parseDirectiveSymbolAttribute()
5007 SMLoc IDLoc = getLexer().getLoc(); in parseDirectiveComm()
5019 SMLoc SizeLoc = getLexer().getLoc(); in parseDirectiveComm()
5024 SMLoc Pow2AlignmentLoc; in parseDirectiveComm()
5070 SMLoc Loc = getLexer().getLoc(); in parseDirectiveAbort()
5090 SMLoc IncludeLoc = getTok().getLoc(); in parseDirectiveInclude()
5111 SMLoc IncbinLoc = getTok().getLoc(); in parseDirectiveIncbin()
5119 SMLoc SkipLoc, CountLoc; in parseDirectiveIncbin()
5148 bool AsmParser::parseDirectiveIf(SMLoc DirectiveLoc, DirectiveKind DirKind) { in parseDirectiveIf()
5190 bool AsmParser::parseDirectiveIfb(SMLoc DirectiveLoc, bool ExpectBlank) { in parseDirectiveIfb()
5212 bool AsmParser::parseDirectiveIfc(SMLoc DirectiveLoc, bool ExpectEqual) { in parseDirectiveIfc()
5238 bool AsmParser::parseDirectiveIfeqs(SMLoc DirectiveLoc, bool ExpectEqual) { in parseDirectiveIfeqs()
5276 bool AsmParser::parseDirectiveIfdef(SMLoc DirectiveLoc, bool expect_defined) { in parseDirectiveIfdef()
5302 bool AsmParser::parseDirectiveElseIf(SMLoc DirectiveLoc) { in parseDirectiveElseIf()
5332 bool AsmParser::parseDirectiveElse(SMLoc DirectiveLoc) { in parseDirectiveElse()
5354 bool AsmParser::parseDirectiveEnd(SMLoc DirectiveLoc) { in parseDirectiveEnd()
5367 bool AsmParser::parseDirectiveError(SMLoc L, bool WithMessage) { in parseDirectiveError()
5392 bool AsmParser::parseDirectiveWarning(SMLoc L) { in parseDirectiveWarning()
5417 bool AsmParser::parseDirectiveEndIf(SMLoc DirectiveLoc) { in parseDirectiveEndIf()
5605 MCAsmMacro *AsmParser::parseMacroLikeBody(SMLoc DirectiveLoc) { in parseMacroLikeBody()
5652 void AsmParser::instantiateMacroLikeBody(MCAsmMacro *M, SMLoc DirectiveLoc, in instantiateMacroLikeBody()
5666 CurBuffer = SrcMgr.AddNewSourceBuffer(std::move(Instantiation), SMLoc()); in instantiateMacroLikeBody()
5673 bool AsmParser::parseDirectiveRept(SMLoc DirectiveLoc, StringRef Dir) { in parseDirectiveRept()
5675 SMLoc CountLoc = getTok().getLoc(); in parseDirectiveRept()
5708 bool AsmParser::parseDirectiveIrp(SMLoc DirectiveLoc) { in parseDirectiveIrp()
5740 bool AsmParser::parseDirectiveIrpc(SMLoc DirectiveLoc) { in parseDirectiveIrpc()
5780 bool AsmParser::parseDirectiveEndr(SMLoc DirectiveLoc) { in parseDirectiveEndr()
5792 bool AsmParser::parseDirectiveMSEmit(SMLoc IDLoc, ParseStatementInfo &Info, in parseDirectiveMSEmit()
5795 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveMSEmit()
5809 bool AsmParser::parseDirectiveMSAlign(SMLoc IDLoc, ParseStatementInfo &Info) { in parseDirectiveMSAlign()
5811 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveMSAlign()
5825 bool AsmParser::parseDirectivePrint(SMLoc DirectiveLoc) { in parseDirectivePrint()
5922 SMLoc Loc = getTok().getLoc(); in parseDirectiveLTODiscard()
6034 SMLoc Start = SMLoc::getFromPointer(SymName.data()); in parseMSInlineAsm()
6139 SMLoc OffsetLoc = SMLoc::getFromPointer(AR.IntelExp.OffsetName.data()); in parseMSInlineAsm()
6233 SMLoc LabelLoc = LabelTok.getLoc(); in parseAsHLASMLabel()
6278 SMLoc OperationEntryLoc = OperationEntryTok.getLoc(); in parseAsMachineInstruction()
6388 SMLoc EqualLoc = Parser.getTok().getLoc(); in parseAssignmentExpression()