Home | History | Annotate | Download | only in MCParser

Lines Matching refs:SMLoc

68   SMLoc InstantiationLoc;
71 SMLoc ExitLoc;
74 MacroInstantiation(const Macro *M, SMLoc IL, SMLoc EL,
123 SMLoc CppHashLoc;
147 virtual bool Warning(SMLoc L, const Twine &Msg,
149 virtual bool Error(SMLoc L, const Twine &Msg,
155 virtual bool ParseExpression(const MCExpr *&Res, SMLoc &EndLoc);
156 virtual bool ParseParenExpression(const MCExpr *&Res, SMLoc &EndLoc);
166 bool ParseCppHashLineFilenameComment(const SMLoc &L);
168 bool HandleMacroEntry(StringRef Name, SMLoc NameLoc, const Macro *M);
172 const SMLoc &L);
176 void PrintMessage(SMLoc Loc, SourceMgr::DiagKind Kind, const Twine &Msg,
188 void JumpToLoc(SMLoc Loc);
199 bool ParsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc);
200 bool ParseBinOpRHS(unsigned Precedence, const MCExpr *&Res, SMLoc &EndLoc);
201 bool ParseParenExpr(const MCExpr *&Res, SMLoc &EndLoc);
202 bool ParseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc);
231 bool ParseDirectiveIf(SMLoc DirectiveLoc); // ".if"
233 bool ParseDirectiveIfdef(SMLoc DirectiveLoc, bool expect_defined);
234 bool ParseDirectiveElseIf(SMLoc DirectiveLoc); // ".elseif"
235 bool ParseDirectiveElse(SMLoc DirectiveLoc); // ".else"
236 bool ParseDirectiveEndIf(SMLoc DirectiveLoc); // .endif
249 template<bool (GenericAsmParser::*Handler)(StringRef, SMLoc)>
314 bool ParseRegisterOrRegisterNumber(int64_t &Register, SMLoc DirectiveLoc);
316 bool ParseDirectiveFile(StringRef, SMLoc DirectiveLoc);
317 bool ParseDirectiveLine(StringRef, SMLoc DirectiveLoc);
318 bool ParseDirectiveLoc(StringRef, SMLoc DirectiveLoc);
319 bool ParseDirectiveStabs(StringRef, SMLoc DirectiveLoc);
320 bool ParseDirectiveCFISections(StringRef, SMLoc DirectiveLoc);
321 bool ParseDirectiveCFIStartProc(StringRef, SMLoc DirectiveLoc);
322 bool ParseDirectiveCFIEndProc(StringRef, SMLoc DirectiveLoc);
323 bool ParseDirectiveCFIDefCfa(StringRef, SMLoc DirectiveLoc);
324 bool ParseDirectiveCFIDefCfaOffset(StringRef, SMLoc DirectiveLoc);
325 bool ParseDirectiveCFIAdjustCfaOffset(StringRef, SMLoc DirectiveLoc);
326 bool ParseDirectiveCFIDefCfaRegister(StringRef, SMLoc DirectiveLoc);
327 bool ParseDirectiveCFIOffset(StringRef, SMLoc DirectiveLoc);
328 bool ParseDirectiveCFIRelOffset(StringRef, SMLoc DirectiveLoc);
329 bool ParseDirectiveCFIPersonalityOrLsda(StringRef, SMLoc DirectiveLoc);
330 bool ParseDirectiveCFIRememberState(StringRef, SMLoc DirectiveLoc);
331 bool ParseDirectiveCFIRestoreState(StringRef, SMLoc DirectiveLoc);
332 bool ParseDirectiveCFISameValue(StringRef, SMLoc DirectiveLoc);
334 bool ParseDirectiveMacrosOnOff(StringRef, SMLoc DirectiveLoc);
335 bool ParseDirectiveMacro(StringRef, SMLoc DirectiveLoc);
336 bool ParseDirectiveEndMacro(StringRef, SMLoc DirectiveLoc);
338 bool ParseDirectiveLEB128(StringRef, SMLoc);
404 bool AsmParser::Warning(SMLoc L, const Twine &Msg, ArrayRef<SMRange> Ranges) {
412 bool AsmParser::Error(SMLoc L, const Twine &Msg, ArrayRef<SMRange> Ranges) {
432 SMLoc Loc) {
443 SMLoc ParentIncludeLoc = SrcMgr.getParentIncludeLoc(CurBuffer);
444 if (ParentIncludeLoc != SMLoc()) {
558 bool AsmParser::ParseParenExpr(const MCExpr *&Res, SMLoc &EndLoc) {
572 bool AsmParser::ParseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc) {
587 bool AsmParser::ParsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc) {
638 SMLoc Loc = getTok().getLoc();
706 SMLoc EndLoc;
769 bool AsmParser::ParseExpression(const MCExpr *&Res, SMLoc &EndLoc) {
808 bool AsmParser::ParseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) {
817 SMLoc StartLoc = Lexer.getLoc();
909 SMLoc &EndLoc) {
954 SMLoc IDLoc = ID.getLoc();
1239 bool AsmParser::ParseCppHashLineFilenameComment(const SMLoc &L) {
1261 // Save the SMLoc, Filename and LineNumber for later use by diagnostics.
1278 const SMLoc &DiagLoc = Diag.getLoc();
1286 SMLoc ParentIncludeLoc = DiagSrcMgr.getParentIncludeLoc(DiagCurBuffer);
1304 // CppHashLoc and CppHashLineNumber relative to this Diag's SMLoc for
1328 const SMLoc &L) {
1420 MacroInstantiation::MacroInstantiation(const Macro *M, SMLoc IL, SMLoc EL,
1426 bool AsmParser::HandleMacroEntry(StringRef Name, SMLoc NameLoc,
1479 CurBuffer = SrcMgr.AddNewSourceBuffer(MI->Instantiation, SMLoc());
1517 SMLoc EqualLoc = Lexer.getLoc();
1578 SMLoc DollarLoc = getLexer().getLoc();
1723 SMLoc ExprLoc = getLexer().getLoc();
1944 SMLoc AlignmentLoc = getLexer().getLoc();
1949 SMLoc MaxBytesLoc;
2033 SMLoc Loc = getTok().getLoc();
2064 SMLoc IDLoc = getLexer().getLoc();
2077 SMLoc SizeLoc = getLexer().getLoc();
2082 SMLoc Pow2AlignmentLoc;
2136 SMLoc Loc = getLexer().getLoc();
2160 SMLoc IncludeLoc = getLexer().getLoc();
2181 bool AsmParser::ParseDirectiveIf(SMLoc DirectiveLoc) {
2204 bool AsmParser::ParseDirectiveIfdef(SMLoc DirectiveLoc, bool expect_defined) {
2231 bool AsmParser::ParseDirectiveElseIf(SMLoc DirectiveLoc) {
2263 bool AsmParser::ParseDirectiveElse(SMLoc DirectiveLoc) {
2287 bool AsmParser::ParseDirectiveEndIf(SMLoc DirectiveLoc) {
2308 bool GenericAsmParser::ParseDirectiveFile(StringRef, SMLoc DirectiveLoc) {
2311 SMLoc FileNumberLoc = getLexer().getLoc();
2356 bool GenericAsmParser::ParseDirectiveLine(StringRef, SMLoc DirectiveLoc) {
2382 bool GenericAsmParser::ParseDirectiveLoc(StringRef, SMLoc DirectiveLoc) {
2418 SMLoc Loc = getTok().getLoc();
2429 SMLoc Loc = getTok().getLoc();
2448 SMLoc Loc = getTok().getLoc();
2485 SMLoc DirectiveLoc) {
2492 SMLoc DirectiveLoc) {
2525 SMLoc DirectiveLoc) {
2532 bool GenericAsmParser::ParseDirectiveCFIEndProc(StringRef, SMLoc DirectiveLoc) {
2539 SMLoc DirectiveLoc) {
2556 SMLoc DirectiveLoc) {
2576 SMLoc DirectiveLoc) {
2588 SMLoc DirectiveLoc) {
2600 SMLoc DirectiveLoc) {
2611 bool GenericAsmParser::ParseDirectiveCFIOffset(StringRef, SMLoc DirectiveLoc) {
2632 SMLoc DirectiveLoc) {
2676 SMLoc DirectiveLoc) {
2708 SMLoc DirectiveLoc) {
2716 SMLoc DirectiveLoc) {
2724 SMLoc DirectiveLoc) {
2739 SMLoc DirectiveLoc) {
2752 SMLoc DirectiveLoc) {
2816 SMLoc DirectiveLoc) {
2833 bool GenericAsmParser::ParseDirectiveLEB128(StringRef DirName, SMLoc) {